[antlr-interest] tree pattern matching rewrite bug ?

Michael Bedward michael.bedward at gmail.com
Tue Feb 1 16:42:58 PST 2011


Hello all,

I hope it's ok to ask about ANTLR Jira issues on this list.

I've been using pattern matching for some simple tree rewriting tasks.
Most work, but for some of them I keep hitting the error "Can't set
single child to a list". I've spent quite a bit of time in the
debugger without success.

Google found this issue for version 3.2 which appears to be related
and still open (which I assume means not fixed in version 3.3)...

http://www.antlr.org/jira/browse/ANTLR-419

Before I spend more time debugging, I wonder if anyone can tell me if
this is indeed a current bug. If so I can probably work around it by
going back to rewriting using a complete grammar.

cheers
Michael


More information about the antlr-interest mailing list