by AC <user@[EMAIL PROTECTED]
>
Sep 20, 2007 at 08:10 AM
There's token ambiguity between the UNARY_MINUS token and the
ADD_ARITHETIC_OP token.
Treat '-' as a token that may appear in either negation or subtraction
productions, not two separate tokens.
For an example, see "AdditiveExpression" and "UnaryExpression"
in example/JavaGrammars/
Hope this helps!