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