[antlr-interest] antlr works import path: undefined import

Rick Murphy rick at rickmurphy.org
Sun Nov 7 17:24:49 PST 2010


All:

Thanks in advance for your help.

Would you be able to provide guidance on how to set the import path in
antlr works? Even a simple lexer import with both files in the same
directory generates an "undefined import" message.

lexer grammar L1

LETTER : 'A' .. 'Z';

lexer grammar L2
import L1; // undefined import

--
Rick



More information about the antlr-interest mailing list