[antlr-interest] AST rewrite bug C# target

Jim Idle jimi at temporal-wave.com
Fri May 8 12:05:42 PDT 2009


Floris van Nee wrote:
> Hi all,
>
> I think I've come across another bug in the C# target when rewriting 
> ASTs in tree grammars.
>
> I have included two files needed to reproduce the bug. The behaviour 
> is this:
>
> It happens when a tree grammar is created with rules which return 
> values, like:
>
> qualifier returns [List<string> ids]
ANTLR cannot handle complicated definitions for return types, such as 
generics, it isn't the fault of the C# target.

Jim



More information about the antlr-interest mailing list