[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Apr 14 03:58:02 UTC 2004
CVS commit by okellogg:
CppDriver::setupLexer(): lexer->setRecordComments(true) does not work yet,
on the contrary, calling it ruins the whole parse.
M +2 -2 classimport.cpp 1.25
--- kdesdk/umbrello/umbrello/classimport.cpp #1.24:1.25
@@ -27,9 +27,9 @@
class CppDriver : public Driver {
public:
- // The class Driver is just fine, except that we want to
- // switch on comments:
void setupLexer(Lexer* lexer) {
Driver::setupLexer(lexer);
+ /**** Activate this code when ast.h has a NodeType_Comment:
lexer->setRecordComments(true);
+ ****/
}
};
More information about the umbrello-devel
mailing list