[antlr-interest] Problem with " => " operator
Terence Parr
parrt at cs.usfca.edu
Tue Jun 19 17:49:17 PDT 2007
On Jun 20, 2007, at 7:43 AM, Gevik Babakhani wrote:
> Hi,
>
>
>
> the problem is solved by putting a ^ before (A) or just by removing
> () from (A)
Really? I had no idea that was valid syntax. Certainly I hadn't the
intention to allow that and so I'm not sure what the syntax is making
ANTLR do.
a : (A)=> | A ;
should work just fine.
Ter
More information about the antlr-interest
mailing list