Just a little more on the issue below, when I swapped the tree grammars that were provoking the "Can't set single child to a list" error from pattern matching mode (filter = true) to complete grammars (filter = false) the tree rewrites run successfully.
I'd still be interested to hear if issue ANTLR-419 is known to be current problem. cheers Michael On 2 February 2011 11:42, Michael Bedward <michael.bedw...@gmail.com> wrote: > 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 > 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.