[antlr-interest] TreeParser reset()
Terence Parr
parrt at cs.usfca.edu
Wed Feb 9 11:07:24 PST 2011
Interesting...yeah, seems reset would be good but not sure who relies on this...hmm...might be a risk to fix.
Ter
On Feb 8, 2011, at 8:40 PM, Bill Andersen wrote:
> Folks
>
> I noticed that setTokenStream() in antlr.org.runtime.Parser calls reset(), but setTreeNodeStream() in antlr.org.runtime.tree.TreeParser does not call reset(). Is there a reason for this or is it just an oversight? If the former should I call reset() before or after setTreeNodeStream() on a tree parser I want to re-use?
>
> Thanks in advance.
>
> .bill
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list