[antlr-interest] assigning token LABEL

chintan rao chintanraoh at gmail.com
Tue Jun 19 19:02:57 PDT 2007


Hi,
I am new to antlr3 / compilers / parsers .
I have problem assigning token LABEL .
if there is ':' after ID it must be labeled as LABEL .
if there is no colon then it must be named as ID that is  IDENTIFIER .

This may be a simple problem but i am stuck with this .
please help me out.

Thanking in Advance
Chintan Rao H


More information about the antlr-interest mailing list