Bart Kiers wrote > > On Sat, Nov 26, 2011 at 9:58 AM, franck102 <franck102@> wrote: > >> In fact the tree has been constructed by the leading (ID->ID), > > > That tree only exists inside your parenthesis, AFAIK. You can't reference > it outside it (well, you can, but it will be `null`). >
This seems to work for me, I am referring to it using $expr. The rewrite in (ID->ID) sets the global tree afaik. -- View this message in context: http://antlr.1301665.n2.nabble.com/Possible-bug-with-backtrack-generated-predicate-methods-tp7033324p7033470.html Sent from the ANTLR mailing list archive at Nabble.com. 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 il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.