> Oops, I see placed the { after the $ earlier, where it should
> be outside the $paramater, like {$parameter}, as in:
>
> protected
> conditionalExpression[CommonTree TheActualASTRoot]
> : QMARK t=expression COMMA f=expression
> -> ^(ITE {$TheActualASTRoot} $t $f)
> |
> ;
Ah, that's it!
Right, it works. Thank you.
I'm a bit astonished with that, then: why a {$var} notation is needed here?
What's the difference with $t and $f, in example?
Giampaolo
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.