diff options
Diffstat (limited to 'buildtools/lib/parsers/qmake/qmake_lex.cpp')
-rw-r--r-- | buildtools/lib/parsers/qmake/qmake_lex.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/lib/parsers/qmake/qmake_lex.cpp b/buildtools/lib/parsers/qmake/qmake_lex.cpp index 9fe37664..4d74571c 100644 --- a/buildtools/lib/parsers/qmake/qmake_lex.cpp +++ b/buildtools/lib/parsers/qmake/qmake_lex.cpp @@ -398,7 +398,7 @@ int yyFlexLexer::yylex() return 0; } -#define YY_DECL int QMake::Lexer::yylex() +#define YY_DECL int TQMake::Lexer::yylex() /* %if-c-only Standard (non-C++) definition */ /* %endif */ @@ -630,7 +630,7 @@ static yyconst flex_int16_t yy_rule_linenum[23] = /** @file qmake.ll -QMake Lexer +TQMake Lexer There are 3 types of identifiers recognized by this lexer: -id_simple: examples of such identifiers are qmake variables and scoped variables @@ -638,8 +638,8 @@ at the left of the operator in assignments (like "SOURCES" in "SOURCES+=foo.cpp -id_list: those are "value list identifiers" at the right side in assignments (like "foo.cpp goo.cpp" in "SOURCES+=foo.cpp goo.cpp"); -id_args: function arguments recognized as one identifier -(example: ""${QMAKE_FILE} is intended only for Windows!"" -in "!win32-*:!wince-*:error("${QMAKE_FILE} is intended only for Windows!")" statements). +(example: ""${TQMAKE_FILE} is intended only for Windows!"" +in "!win32-*:!wince-*:error("${TQMAKE_FILE} is intended only for Windows!")" statements). . To recognize those identifiers two additional start conditions are used: list and funcargs. @@ -1011,7 +1011,7 @@ YY_RULE_SETUP { BEGIN(vallist); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() ); - return Parser::token::token::QUOTED_VARIABLE_VALUE; + return Parser::token::token::TQUOTED_VARIABLE_VALUE; } YY_BREAK case 9: @@ -2202,14 +2202,14 @@ void yyfree (void * ptr ) #line 203 "qmake.ll" -namespace QMake +namespace TQMake { Lexer::Lexer( std::istream* argin, std::ostream* argout ) : yyFlexLexer(argin, argout), mylval(0), m_lineEnding(None) { } - int Lexer::yylex( QMake::Parser::semantic_type* yylval ) + int Lexer::yylex( TQMake::Parser::semantic_type* yylval ) { mylval = yylval; return yylex(); @@ -2231,7 +2231,7 @@ namespace QMake } } -int QMakelex( QMake::Parser::semantic_type* yylval, QMake::Lexer* lexer) +int TQMakelex( TQMake::Parser::semantic_type* yylval, TQMake::Lexer* lexer) { return lexer->yylex( yylval ); } |