Hi all, i am back to antlr after version 3, an i have a program
regarding heterogenous trees.

I am using C# targets. If i use a REAL token with a custom node name
the tree is fine.
If i use a Virtual Node the tree is broken:

tokens
{
 USING='using';
 USING_VNODE;
....
}

Ok:
           USING  identifier (ASSIGN identifierStar)? SEMI
                ->
                ^(USING<NodeUsing> identifier identifierStar?)

Broken:
     USING  identifier (ASSIGN identifierStar)? SEMI
                ->
                ^(USING_VNODE<NodeUsing> identifier identifierStar?)

the NodeUsing is just a descendant of CommonTree

Am i missing something. There is no information on this...

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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to