[Uml-devel] KDE/kdesdk/umbrello/umbrello/classparser
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Jun 4 22:54:10 UTC 2006
SVN commit 548235 by okellogg:
compile
M +1 -2 errors.h
M +2 -2 parser.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/classparser/errors.h #548234:548235
@@ -21,10 +21,9 @@
#define ERRORS_H
#include <qstring.h>
+#include <klocalizedstring.h>
-class KLocalizedString;
-
struct Error{
int code;
int level;
--- trunk/KDE/kdesdk/umbrello/umbrello/classparser/parser.cpp #548234:548235
@@ -37,7 +37,7 @@
{ \
const Token& token = lex->lookAhead( 0 ); \
if( token != tk ){ \
- reportError( i18n("'%1' expected found '%2'", descr, token.text()) ); \
+ reportError( i18n("'%1' expected found '%2'", QString(descr), token.text()) ); \
return false; \
} \
lex->nextToken(); \
@@ -47,7 +47,7 @@
{ \
const Token& token = lex->lookAhead( 0 ); \
if( token != tk ){ \
- reportError( i18n("'%1' expected found '%2'", descr, token.text()) ); \
+ reportError( i18n("'%1' expected found '%2'", QString(descr), token.text()) ); \
} \
else \
lex->nextToken(); \
More information about the umbrello-devel
mailing list