forked from qt-creator/qt-creator
Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user