From 3e54a65a699ca34cec47c7b580dcbdb7e4af5001 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Fri, 10 Jul 2009 15:44:47 +0200 Subject: Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL. --- src/shared/cplusplus/Lexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/cplusplus/Lexer.cpp') 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; -- cgit v1.2.1