[stringtemplate-interest] Call a template from a template

Éric Clément eclement at famictech.com
Tue Mar 24 11:57:48 PDT 2009


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,

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090324/3da022b0/attachment.html 


More information about the stringtemplate-interest mailing list