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
7b3bcfa5
Commit
7b3bcfa5
authored
Jan 08, 2009
by
Roberto Raggi
Browse files
Parse ObjC identifier list.
parent
a725915e
Changes
1
Hide whitespace changes
Inline
Side-by-side
shared/cplusplus/Parser.cpp
View file @
7b3bcfa5
...
...
@@ -3328,6 +3328,21 @@ bool Parser::parseObjCPropertyDynamic(DeclarationAST *&node)
bool
Parser
::
parseObjCIdentifierList
(
IdentifierListAST
*&
node
)
{
if
(
LA
()
==
T_IDENTIFIER
)
{
IdentifierListAST
**
it
=
&
node
;
IdentifierListAST
*
id
=
new
(
_pool
)
IdentifierListAST
;
id
->
identifier_token
=
consumeToken
();
*
it
=
id
;
while
(
LA
()
==
T_COMMA
)
{
consumeToken
();
if
(
LA
()
==
T_IDENTIFIER
)
{
it
=
&
(
*
it
)
->
next
;
IdentifierListAST
*
id
=
new
(
_pool
)
IdentifierListAST
;
id
->
identifier_token
=
consumeToken
();
*
it
=
id
;
}
}
}
return
false
;
}
...
...
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