You're not completely right.
FieldReference can also be an ArrayOrBitRef which also is an expression
in square brackets.
The only thing that does not work with this rule would be something like
[-][0]... or [-].field...
Therefore, it would probably be right to change the rule to:
DefOrFieldRef ::= DefinitionRef |
( ( FieldReference | "["
NotUsedSymbol "]" ) [ ExtendedFieldReference ] )
AllRef
This would also solve the grammatical ambiguity for expressions like [0]
(which could be either a FieldReference or a "[" SingleExpression "]").
So, I think a CR is in order, even though your actual problem ([0][1])
does not exist.
BR, Jacob Wieland
--
Dr. Jacob Wieland
Software Engineer
Testing Technologies IST GmbH
Michaelkirchstraße 17/18
10179 Berlin, Germany
Phone +49 30 726 19 19 34 Email
This email address is being protected from spambots. You need JavaScript enabled to view it.
Fax +49 30 726 19 19 20 Internet
www.testingtech.com
Geschäftsführung: Theofanis Vassiliou-Gioles, Stephan Pietsch
Handelsregister HRB 77805, Amtsgericht Charlottenburg
Ust ID Nr.: DE 813 143 070
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.