Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
189ec382
Commit
189ec382
authored
Mar 23, 2010
by
Roberto Raggi
Browse files
Recognize C++0x type-id-list.
parent
b4542eff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Parser.cpp
View file @
189ec382
...
...
@@ -2328,6 +2328,10 @@ bool Parser::parseTypeIdList(ExpressionListAST *&node)
*
expression_list_ptr
=
new
(
_pool
)
ExpressionListAST
;
(
*
expression_list_ptr
)
->
value
=
typeId
;
expression_list_ptr
=
&
(
*
expression_list_ptr
)
->
next
;
if
(
_cxx0xEnabled
&&
LA
()
==
T_DOT_DOT_DOT
)
consumeToken
();
// ### store this token
while
(
LA
()
==
T_COMMA
)
{
consumeToken
();
...
...
@@ -2335,6 +2339,9 @@ bool Parser::parseTypeIdList(ExpressionListAST *&node)
*
expression_list_ptr
=
new
(
_pool
)
ExpressionListAST
;
(
*
expression_list_ptr
)
->
value
=
typeId
;
expression_list_ptr
=
&
(
*
expression_list_ptr
)
->
next
;
if
(
_cxx0xEnabled
&&
LA
()
==
T_DOT_DOT_DOT
)
consumeToken
();
// ### store this token
}
}
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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