[stringtemplate-interest] [SPAM-HC] - Re: Call a template from a template - Email found in subject
Éric Clément
eclement at famictech.com
Tue Mar 31 07:14:31 PDT 2009
You are right, I use the C# version of StringTemplate (3.0.1). Maybe it's a bug. I try to report it in the bug list but I didn't find how.
Thank you,
Eric
-----Original Message-----
From: Terence Parr [mailto:parrt at cs.usfca.edu]
Sent: Monday, March 30, 2009 5:42 PM
To: Éric Clément
Cc: stringtemplate-interest at antlr.org
Subject: [SPAM-HC] - Re: [stringtemplate-interest] Call a template from a template - Email found in subject
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