[antlr-interest] Resolving ambiguity

Stefan jan_ek at op.pl
Fri May 4 12:07:50 PDT 2007


Micheal J napisał(a):
> Use a symbol table. Works as long as declarations preceeds use in your
> language.

OK, but how do I do it without changing the grammar? How do I make ANTLR 
choose the 4th alternative instead of the 2nd, when IDENTIFIER is a 
variable?


Stefan


More information about the antlr-interest mailing list