[antlr-interest] antlrworks 3.0ea8 unreachable error

Martin d'Anjou mdanjou at neterion.com
Mon Mar 20 15:05:26 PST 2006


The following highly simplified grammar:

grammar mygrammar;
def	:	ID;
ID	:	LETTER;
LETTER	:	'a';

Gives me this error in antlrworks:
  "The following token definitions are unreachable: LETTER"

When I change "ID" to lower case "id", it works...
Am I missing something?

Martin


More information about the antlr-interest mailing list