On Nov 23, 2005, at 1:34 AM, Akhilesh Mritunjai wrote:
>
>> If I do
>> type:("char"|"int") name:IDENTIFIER
>> { do something with 'type' and 'name' }
>> in the parser, ANTLR tells me there's no variable 'type'.
>
> Its my favorite pet-peeve with ANTLR. Labels are extremely limited
> in how they can be used.
Mine too. ;) Fixed in v3. ;)
Ter