> 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.
I don't know if these behaviors are correct or if they are bugs as I never used such syntax myself. But as I haven't changed the runtime in that area for special .NET needs, any bugs are probably present in the Java runtime. Can you please post a minimal grammar along required supporting files, so I and Ter can investigate this issue? Johannes > > > 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 -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 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 -~----------~----~----~----~------~----~------~--~---
