[Mono-list] fixed-statement grammar
Alex Sedow
alexsedow@mail.ru
Sat, 17 Jul 2004 20:37:40 +0400
ECMA-334 (2nd edition - December 2002) define grammar for fixed-statement
as:
fixed-statement:
fixed "(" pointer-type fixed-pointer-declarators ")" embedded-statement
fixed-pointer-declarators:
fixed-pointer-declarator
fixed-pointer-declarators "," fixed-pointer-declarator
fixed-pointer-declarator:
identifier "=" fixed-pointer-initializer
But Mono define grammar for fixed-statement as:
fixed-pointer-declarator:
identifier [ "=" fixed-pointer-initializer ]
where [] - optional
Why? Mono extend standart C# grammar?
Alex.