[antlr-interest] Re: Please make ANTLR check for missing/redefined tokens

lgcraymer lgc at mail1.jpl.nasa.gov
Sat Jun 22 00:36:09 PDT 2002


Try putting the lexer and parser in separate files with the 
"exportVocab" option set in the lexer and "importVocab" option set in 
the parser to refer to the same vocabulary.  Then process the two .g 
files, being careful to process the lexer .g file first to generate 
the <vocab>.txt file.

Does this help?  It should statically associate the parser grammar 
with the lexer.



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list