[antlr-interest] Why CommonTreeNodeStream.index() always returns 0?
Frank Du
frank.du at riskmetrics.com
Fri May 22 06:41:57 PDT 2009
Hi All,
I am using antlr-3.1.3. The problem is that, all the time TreeNodeStream.index() returns 0. Apparently it is not what we expected. I wish to define function and remember its entry position. Is it a bug in 3.1.3, or do I need any configuration? The related interpreter example and my comment:
http://www.antlr.org/wiki/display/ANTLR3/Simple+tree-based+interpeter?focusedCommentId=17859072&#comment-17859072
Thank you so much!
Best Regards,
Frank Du
RiskMetrics Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090522/86433b24/attachment.html
More information about the antlr-interest
mailing list