[stringtemplate-interest] Call a template from a template
Terence Parr
parrt at cs.usfca.edu
Mon Mar 30 14:42:20 PDT 2009
Wow...that must be a C# error....anyway, it's a syntax error
apparently, but I don't see anything wrong with your templates. That
is really weird... sorry I can't be of more help.
Ter
On Mar 24, 2009, at 11:57 AM, Éric Clément wrote:
> Hi,
>
> I have this template file:
>
> group TreeManip;
> print_root(arg1, arg2) ::= "print_root : <arg1>:<arg2>"
>
> print_exp(cte1, cte2) ::= <<
> <cte1>
> <cte2>
> <print_root(arg1=cte1, arg2=cte2)>
> print_exp!!
> >>
>
> I don’t understand why I got this exception when I load the file :
> A first chance exception of type 'antlr.NoViableAltException'
> occurred in StringTemplate.dll
> Additional information: NoViableAlt
>
> Regards,
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list