Hi, I noticed very strange behaviour with custom nodes specified in the parser:

A) if constructor parameters are specified, the node is never added to
the final tree structure, only the subnodes
B) if the token is an imaginary one, the same behaviour, the custom
node is missing from the tree.


For example:

 CLASS IDENT -> ^(CLASS<NodeIndentifier> IDENT) is OK

 CLASS IDENT -> ^(VIRTUAL_CLASS<NodeIndentifier> IDENT) is NOT OK no
node of type NodeIndentifier is added to the tree

 CLASS id=IDENT -> ^(CLASS<NodeIndentifer>[$id.Text] is NOT OK, no
node of type NodeIndentifier is added to the tree


Are any other people having issues with 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