[antlr-interest] Can we change the input to the same lexer?

rmsanjivp <rmsanjivp at yahoo.com> rmsanjivp at yahoo.com
Wed Feb 5 14:25:08 PST 2003


Hi!

I have this understanding that once I have instantiated a lexer using

MyLexer lexer(std::cin);

then there is no way for me to specify the lexer to read from 
different input stream.

Is there a way to change the input to lexer while I am parsing?

Thanks,
Sanjiv


 

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



More information about the antlr-interest mailing list