diff options
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r-- | docs/grammar.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index 94fc2e1c..ce3fd3ad 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -129,8 +129,8 @@ Identifier = [a-zA-Z_$] [a-zA-Z_$0-9]* HexNumber = '0x' [0-9a-fA-F]+ DecimalNumber = [0-9]+ ( '.' [0-9]* )? ( [eE] [0-9]+ )? -TupleExpression = '(' ( Expression ( ',' Expression )* )? ')' - | '[' ( Expression ( ',' Expression )* )? ']' +TupleExpression = '(' ( Expression? ( ',' Expression? )* )? ')' + | '[' ( Expression ( ',' Expression )* )? ']' ElementaryTypeNameExpression = ElementaryTypeName |