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


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to