Thanks I will try the wildcard solution it might work well enough for what i am
trying. One more question w.r.t. parameter passing in rules with the C runtime.
Can I do something like the following?
rule1: type idlist[type];
idlist[.... t]: var[type] (COMMA var[type])*;
var[... t]: ID -> ^(ID $t);
I tried using ANTLR3_BASE_TREE but the last construct does not seem to work
properly. What is the default return type for a rule in buildAST mode?
I apologize for the deluge of questions.
Thanks in advance,
Carter.
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
-~----------~----~----~----~------~----~------~--~---