File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -623,8 +623,8 @@ objectOrCollectionInit { objectInit | collectionInit }
623623// Object initializers
624624
625625objectInit {
626- braces<csep1 <memberInit>>
627- | braces<csep0 <memberInit> ','>
626+ braces<csep0 <memberInit>>
627+ | braces<csep1 <memberInit> ','>
628628}
629629
630630memberInit { InitializerTarget !assign '=' ref? initializerValue }
@@ -1074,14 +1074,14 @@ TopLevelLabeledStmt[group=Statement] { identifier ':' TopLevelStmt }
10741074// Declaration statement
10751075
10761076DeclStmt[group=Statement] {
1077- LocalVarDecl
1078- | LocalConstDecl
1077+ LocalVarDecl ';'
1078+ | LocalConstDecl ';'
10791079 | LocalFuncDecl
10801080}
10811081
10821082TopLevelDeclStmt[group=Statement] {
1083- TopLevelVarDecl
1084- | LocalConstDecl
1083+ TopLevelVarDecl ';'
1084+ | LocalConstDecl ';'
10851085 | TopLevelLocalFuncDecl
10861086}
10871087
You can’t perform that action at this time.
0 commit comments