Skip to content

Commit 68555db

Browse files
rintarobenlangmuir
authored andcommitted
[Syntax] Add 'element_name' and 'collection_element_name' where needed
1 parent 24f5ba7 commit 68555db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/gyb_syntax_support/AttributeNodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Child('LeftParen', kind='LeftParenToken',
2323
is_optional=True),
2424
Child('ArgumentList', kind='FunctionCallArgumentList',
25-
is_optional=True),
25+
collection_element_name='Argument', is_optional=True),
2626
Child('RightParen', kind='RightParenToken',
2727
is_optional=True),
2828
]),
@@ -79,7 +79,7 @@
7979

8080
# attribute-list -> attribute attribute-list?
8181
Node('AttributeList', kind='SyntaxCollection',
82-
element='Syntax',
82+
element='Syntax', element_name='Attribute',
8383
element_choices=[
8484
'Attribute',
8585
'CustomAttribute',

0 commit comments

Comments
 (0)