1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

array_initializers can't be assignments, surely? (spec says they can be, so how to distinguish array initializer form object initializer?)

This commit is contained in:
Kevin Glynn 2011-05-24 15:36:30 +02:00
parent 71c55e6b6d
commit abea0d86a1

View File

@ -403,7 +403,7 @@ public array_initializer:
public variable_initializer_list:
variable_initializer (',' variable_initializer)* ;
public variable_initializer:
expression | array_initializer ;
non_assignment_expression | array_initializer ;
public sizeof_expression:
'sizeof' '(' unmanaged_type ')';
public checked_expression: