From 4ee64fd1b71502dcd4526de7003f2ebfb353c23b Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 5 Jan 2005 03:47:55 +0000 Subject: [PATCH] handle comments while parsing, instead of returning them to the user svn path=/branches/xmlbuildsystem/; revision=12816 --- reactos/tools/rbuild/XML.cpp | 5 +++-- reactos/tools/rbuild/project.cpp | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/reactos/tools/rbuild/XML.cpp b/reactos/tools/rbuild/XML.cpp index 26b25c38998..f3317a2f8d3 100644 --- a/reactos/tools/rbuild/XML.cpp +++ b/reactos/tools/rbuild/XML.cpp @@ -445,9 +445,10 @@ XMLParse(XMLFile& f, return NULL; bool end_tag; - while ( token[0] != '<' ) + while ( token[0] != '<' || !strncmp ( token.c_str(), "