diff options
Diffstat (limited to 'src/lexer.ll')
-rw-r--r-- | src/lexer.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lexer.ll b/src/lexer.ll index 5e7d049..c73f8db 100644 --- a/src/lexer.ll +++ b/src/lexer.ll @@ -140,7 +140,7 @@ public: YY_BUFFER_STATE buffer; int lastToken, thisToken; int lastPos, thisPos; - QString lastTokenData, thisTokenData; + TQString lastTokenData, thisTokenData; }; /* Declared in function.h, implemented here in lexer.l since this is where @@ -159,7 +159,7 @@ Lexer::Lexer(const TQString &expr) : m_private->lastPos = -1; m_private->thisToken = yylex(); - m_private->thisTokenData = QString(yytext); + m_private->thisTokenData = TQString(yytext); if(yyCurTokenPos != 0) { @@ -187,7 +187,7 @@ int Lexer::nextType() m_private->lastToken = m_private->thisToken; m_private->thisToken = yylex(); - m_private->thisTokenData = QString(yytext); + m_private->thisTokenData = TQString(yytext); m_private->thisPos = yyCurTokenPos; return m_private->lastToken; |