diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-10 15:44:47 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-07-10 15:45:09 +0200 |
commit | 3e54a65a699ca34cec47c7b580dcbdb7e4af5001 (patch) | |
tree | e6f1301fe366f9dc1259e2081f89b643ac4b9581 /src/shared/cplusplus/Lexer.cpp | |
parent | 017d8653309bd47b01b2316d12e54f3b4fe47b30 (diff) | |
download | qt-creator-3e54a65a699ca34cec47c7b580dcbdb7e4af5001.tar.gz |
Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL.
Diffstat (limited to 'src/shared/cplusplus/Lexer.cpp')
-rw-r--r-- | src/shared/cplusplus/Lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Lexer.cpp b/src/shared/cplusplus/Lexer.cpp index f463201f71..2229b470bd 100644 --- a/src/shared/cplusplus/Lexer.cpp +++ b/src/shared/cplusplus/Lexer.cpp @@ -348,7 +348,7 @@ void Lexer::scan_helper(Token *tok) } } while (_yychar); int yylen = _currentChar - yytext; - tok->kind = T_INT_LITERAL; + tok->kind = T_NUMERIC_LITERAL; if (control()) tok->number = control()->findOrInsertNumericLiteral(yytext, yylen); } else { @@ -702,7 +702,7 @@ void Lexer::scan_helper(Token *tok) } } int yylen = _currentChar - yytext; - tok->kind = T_INT_LITERAL; + tok->kind = T_NUMERIC_LITERAL; if (control()) tok->number = control()->findOrInsertNumericLiteral(yytext, yylen); break; |