Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
072e03a5
Commit
072e03a5
authored
Jan 29, 2009
by
Roberto Raggi
Browse files
Fixes: Parsing of wide char literals.
parent
3e908dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Parser.cpp
View file @
072e03a5
...
...
@@ -2508,7 +2508,8 @@ bool Parser::parseBoolLiteral(ExpressionAST *&node)
bool
Parser
::
parseNumericLiteral
(
ExpressionAST
*&
node
)
{
if
(
LA
()
==
T_INT_LITERAL
||
LA
()
==
T_FLOAT_LITERAL
||
LA
()
==
T_CHAR_LITERAL
)
{
if
(
LA
()
==
T_INT_LITERAL
||
LA
()
==
T_FLOAT_LITERAL
||
LA
()
==
T_CHAR_LITERAL
||
LA
()
==
T_WIDE_CHAR_LITERAL
)
{
NumericLiteralAST
*
ast
=
new
(
_pool
)
NumericLiteralAST
;
ast
->
token
=
consumeToken
();
node
=
ast
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment