[Uml-devel] [Bug 98603] import: skips classes with comment in class decl
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Feb 19 05:49:03 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=98603
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2005-02-19 14:47 -------
CVS commit by okellogg:
BUG:98603 - parseClassSpecifier(): Skip Token_comment before '{'
M +2 -1 ChangeLog 1.67
M +5 -0 umbrello/classparser/parser.cpp 1.11
--- kdesdk/umbrello/ChangeLog #1.66:1.67
@ -28,5 +28,6 @
92781 92995 93122 93219 93297 93298 93501 93535 93696 94173
94728 94795 94883 95082 95247 95252 95722 95924 95951 95954
-96216 96221 96964 97155 97182 97697 97887 97984 98899 99697
+96216 96221 96964 97155 97182 97697 97887 97984 98603 98899
+99697
Version 1.3
--- kdesdk/umbrello/umbrello/classparser/parser.cpp #1.10:1.11
@ -1876,4 +1876,9 @ bool Parser::parseClassSpecifier( TypeSp
}
+ QString comment;
+ while (lex->lookAhead(0) == Token_comment) {
+ comment += lex->lookAhead(0).text();
+ lex->nextToken();
+ }
if( lex->lookAhead(0) != '{' ){
lex->setIndex( start );
More information about the umbrello-devel
mailing list