[antlr-interest] Re: [C++] How to init variables of MyParser ?
izniegoed
klaren at cs.utwente.nl
Wed Sep 3 12:17:07 PDT 2003
Hi,
--- In antlr-interest at yahoogroups.com, Ruslan Zasukhin <sunshine at p...>
wrote:
> Question is, how I can make ANTLR to generate C++ sources that will init
> mstream on construction of parser instance ???
I see two options:
1. Use constructors with different signatures as the default ones
provided by antlr.
2. Turn of generation of default constructors. (development versions
contain a option for it) if you use it you have to provide all
constructors yourself.
Cheers,
Ric
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list