Skip to content

Commit ccd03b6

Browse files
[create-pull-request] automated change (#1319)
Co-authored-by: BillWagner <[email protected]>
1 parent da5900d commit ccd03b6

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

standard/grammar.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -703,13 +703,9 @@ nullable_value_type
703703
704704
// Source: §8.4.2 Type arguments
705705
type_argument_list
706-
: '<' type_arguments '>'
706+
: '<' type_argument (',' type_argument)* '>'
707707
;
708708
709-
type_arguments
710-
: type_argument (',' type_argument)*
711-
;
712-
713709
type_argument
714710
: type
715711
| type_parameter nullable_type_annotation?
@@ -2635,7 +2631,6 @@ global_attributes
26352631
26362632
global_attribute_section
26372633
: '[' global_attribute_target_specifier attribute_list ']'
2638-
| '[' global_attribute_target_specifier attribute_list ',' ']'
26392634
;
26402635
26412636
global_attribute_target_specifier
@@ -2652,7 +2647,6 @@ attributes
26522647
26532648
attribute_section
26542649
: '[' attribute_target_specifier? attribute_list ']'
2655-
| '[' attribute_target_specifier? attribute_list ',' ']'
26562650
;
26572651
26582652
attribute_target_specifier
@@ -2665,7 +2659,7 @@ attribute_target
26652659
;
26662660
26672661
attribute_list
2668-
: attribute (',' attribute)*
2662+
: attribute (',' attribute)* ','?
26692663
;
26702664
26712665
attribute

0 commit comments

Comments
 (0)