[antlr-interest] Fwd: Fwd: ANTLR generating invalid Java

Mark Wright markwright at internode.on.net
Sat Aug 9 05:19:52 PDT 2008


On Fri, 8 Aug 2008 18:16:14 -0700
"Oren Ben-Kiki" <oren at ben-kiki.org> wrote:

> I'm still stumped by the inability to performing actions during
> lookahead though...

Please see the 3.1 release notes, section "Miscellaneous", where it
says:

Added

{{...}}

forced action that is executed even during backtracking. Useful for
managing a symbol table even when backtracking; those actions cannot be
turned off because the results of symbol table lookups direct the parse
often.

Regards, Mark

-- 


More information about the antlr-interest mailing list