[antlr-interest] Please HELP!!!

rmsanjivp <rmsanjivp at yahoo.com> rmsanjivp at yahoo.com
Wed Feb 5 18:17:17 PST 2003


Hi!

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

MyLexer lexer(some istream object);

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? Like 
telling lexer to read from one file initially and then from another 
file without re-instantiating the lexer?

Thanks,
Sanjiv





 

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



More information about the antlr-interest mailing list