[Uml-devel] kdesdk/umbrello/umbrello/classparser

Jonathan Riddell jri at jriddell.org
Wed Sep 8 11:38:00 UTC 2004


CVS commit by jriddell: 

Fix beastie 86958
Patch from martin <mv123q3 @hotmail.com>
"The problem is when some token with semicolon is after closing bracket of member function of class, structure or union."


  M +2 -2      parser.cpp   1.7


--- kdesdk/umbrello/umbrello/classparser/parser.cpp  #1.6:1.7
@@ -1867,5 +1867,5 @@ bool Parser::parseClassSpecifier( TypeSp
             break;
 
-        DeclarationAST::Node memSpec;
+        DeclarationAST::Node memSpec = CreateNode<DeclarationAST>();
         int startDecl = lex->index();
         if( !parseMemberSpecification(memSpec) ){






More information about the umbrello-devel mailing list