[antlr-interest] Multiple lexers and parsers in one grammar file

rmsanjivp <rmsanjivp at yahoo.com> rmsanjivp at yahoo.com
Tue Jan 21 09:45:50 PST 2003


Hi!

THe documentation for 2.7.1 shows that we can have multiple lexer and 
parser classes in one grammar file. But when I try to write two lexer 
classes and two parser classes in a file I get the error while 
generating the code that the grammar file may have only one lexer or 
parser.

Is it not possible to have multiple lexer and parser classes in one 
grammar file?

Thanks,
Sanjiv


 

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



More information about the antlr-interest mailing list