[antlr-interest] How to add the initial code into the Lexer/Parser's constructor

zai-qiang.leng at sybase.com zai-qiang.leng at sybase.com
Sun Mar 30 18:46:22 PST 2003

Hi, all,

I want to init some variables in the Lexer/Parser's constructor and deinit
it in their destructor.  How can I achieve this?  I mean whether there
exists some special sections or keywords that allow me to write the
init/deinit code in the grammar file.



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

More information about the antlr-interest mailing list