[Uml-devel] kdesdk/umbrello/umbrello/classparser
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Apr 17 05:39:49 UTC 2005
CVS commit by okellogg:
parseEnumSpecifier(): Skip comment after last enum literal.
Thanks to Braddock Gaskill for reporting the problem.
M +2 -0 parser.cpp 1.12
--- kdesdk/umbrello/umbrello/classparser/parser.cpp #1.11:1.12
@@ -1445,4 +1445,6 @@ bool Parser::parseEnumSpecifier( TypeSpe
}
+ if( lex->lookAhead(0) == Token_comment )
+ lex->nextToken();
if( lex->lookAhead(0) != '}' )
reportError( i18n("} missing") );
More information about the umbrello-devel
mailing list