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]
: ^(fqual=FQUALIFIER IDENTIFIER+ ARRAY?)
{
ids = new List<String>() { "System", "Void" };
This should be $ids by the way, even if ANTLR is able to handle the List<string> (which it might).

Jim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to