@@ -1729,7 +1729,8 @@ $(H3 $(LEGACY_LNAME2 slice_operations, slice_expressions, Slice Operations))
1729
1729
$(GRAMMAR
1730
1730
$(GNAME SliceOperation):
1731
1731
$(D [ ])
1732
- $(D [) $(GLINK Slice) $(D ,)$(OPT) $(D ])
1732
+ $(D [) $(GLINK Slice) $(D ])
1733
+ $(D [) $(GLINK Slice) $(D ,) $(D ])
1733
1734
1734
1735
$(GNAME Slice):
1735
1736
$(GLINK AssignExpression)
@@ -2271,9 +2272,9 @@ $(H3 $(LNAME2 function_literals, Function Literals))
2271
2272
2272
2273
$(GRAMMAR
2273
2274
$(GNAME FunctionLiteral):
2274
- $(D function) $(GLINK RefOrAutoRef)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes)$(OPT) $(GLINK FunctionLiteralBody2 )
2275
- $(D delegate) $(GLINK RefOrAutoRef)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes)$(OPT) $(GLINK FunctionLiteralBody2 )
2276
- $(GLINK RefOrAutoRef)$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody2 )
2275
+ $(D function) $(GLINK RefOrAutoRef)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes)$(OPT) $(GLINK FunctionLiteralBody )
2276
+ $(D delegate) $(GLINK RefOrAutoRef)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes)$(OPT) $(GLINK FunctionLiteralBody )
2277
+ $(GLINK RefOrAutoRef)$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody )
2277
2278
$(GLINK2 statement, BlockStatement)
2278
2279
$(IDENTIFIER) $(D =>) $(GLINK AssignExpression)
2279
2280
@@ -2283,7 +2284,7 @@ $(GNAME ParameterWithAttributes):
2283
2284
$(GNAME ParameterWithMemberAttributes):
2284
2285
$(GLINK2 function, Parameters) $(GLINK2 function, MemberFunctionAttributes)$(OPT)
2285
2286
2286
- $(GNAME FunctionLiteralBody2 ):
2287
+ $(GNAME FunctionLiteralBody ):
2287
2288
$(D =>) $(GLINK AssignExpression)
2288
2289
$(GLINK2 function, SpecifiedFunctionBody)
2289
2290
@@ -2329,7 +2330,7 @@ $(GNAME RefOrAutoRef):
2329
2330
}
2330
2331
-------------
2331
2332
2332
- $(P A delegate is necessary if the $(I FunctionLiteralBody2 ) accesses any non-static
2333
+ $(P A delegate is necessary if the $(I FunctionLiteralBody ) accesses any non-static
2333
2334
local variables in enclosing functions.)
2334
2335
2335
2336
-------------
@@ -2612,8 +2613,10 @@ $(GNAME AssertExpression):
2612
2613
$(D assert $(LPAREN)) $(GLINK AssertArguments) $(D $(RPAREN))
2613
2614
2614
2615
$(GNAME AssertArguments):
2615
- $(GLINK AssignExpression) $(D ,)$(OPT)
2616
- $(GLINK AssignExpression) $(D ,) $(GLINK AssignExpression) $(D ,)$(OPT)
2616
+ $(GLINK AssignExpression)
2617
+ $(GLINK AssignExpression) $(D ,)
2618
+ $(GLINK AssignExpression) $(D ,) $(GLINK AssignExpression)
2619
+ $(GLINK AssignExpression) $(D ,) $(GLINK AssignExpression) $(D ,)
2617
2620
)
2618
2621
2619
2622
$(P The first $(I AssignExpression) is evaluated and
0 commit comments