diff --git a/reactos/tools/rbuild/XML.cpp b/reactos/tools/rbuild/XML.cpp index 8ec6a8d6faf..df2aa72ce77 100644 --- a/reactos/tools/rbuild/XML.cpp +++ b/reactos/tools/rbuild/XML.cpp @@ -251,6 +251,14 @@ XMLFile::get_token(string& token) else tokend += 3; } + else if ( !strncmp ( _p, "" ); + if ( !tokend ) + tokend = _end; + else + tokend += 2; + } else if ( *_p == '<' ) { tokend = strchr ( _p, '>' ); @@ -456,7 +464,9 @@ XMLParse(XMLFile& f, return NULL; bool end_tag; - while ( token[0] != '<' || !strncmp ( token.c_str(), "