[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser
Jean Vittor
jean.vittor at free.fr
Thu Apr 3 01:20:52 UTC 2008
SVN commit 793137 by jvittor:
Partially fix BUG: 160287
M +2 -1 lexer.cpp
M +1 -0 lexer.h
--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/lexer.cpp #793136:793137
@@ -37,6 +37,7 @@
namespace boost { namespace spirit { namespace impl {
bool isalnum_( QChar const& c) {return isalnum_( c.toAscii());}
+ bool isalpha_( QChar const& c) {return isalpha_( c.toAscii());}
bool isblank_( QChar const& c) {return isblank_( c.toAscii());}
bool isdigit_( QChar const& c) {return isdigit_( c.toAscii());}
}}}
@@ -112,7 +113,7 @@
definition( identifier const& self) {
main = (lexeme_d[
- (+(alnum_p | '_'))
+ ((alpha_p | '_') >> *(alnum_p | '_'))
[self.result_ = constructQString(arg1, arg2)]
]);
}
--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/lexer.h #793136:793137
@@ -24,6 +24,7 @@
namespace boost { namespace spirit { namespace impl {
bool isalnum_( QChar const& c);
+ bool isalpha_( QChar const& c);
bool isblank_( QChar const& c);
bool isdigit_( QChar const& c);
}}}
More information about the umbrello-devel
mailing list