Hi all. I have the following rule in my tree to tree rewrite grammar.
method_decl : ^(ATTRIBUTE type_decl ID .) -> ^(ATTRIBUTE type_decl ID )
        |       ^(METHOD returntype ID formal_parameter_list .) -> ^(METHOD  
returntype ID formal_parameter_list )
        ;

For some reason, the part of the input tree matched by '.'   remains  
in the output tree. How do I fix this?
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from  
outer space.
On congratulations for a fantastic parody, the producer replies :  
"What parody?"

Tommy Nordgren
[email protected]




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