[stringtemplate-interest] [SPAM-HC] - Re: Call a template from a template - Email found in subject
Johannes Luber
jaluber at gmx.de
Tue Mar 31 07:39:01 PDT 2009
Éric Clément schrieb:
> 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.
There is a beta of ST# 3.1 available. Maybe the bug is fixed there?
Johannes
>
> 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
>
> _______________________________________________
> 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