[stringtemplate-interest] C# StringTemplateGroup newbie question
Malcolm Smith
malsmith at treehousesystems.com
Thu Oct 11 10:53:51 PDT 2007
No problem. Thanks for the confirmation.
-----Original Message-----
From: Terence Parr [mailto:terence at parr.us]
Sent: Wednesday, October 10, 2007 4:58 PM
To: malcolm smith
Cc: stringtemplate-interest at antlr.org
Subject: Re: [stringtemplate-interest] C# StringTemplateGroup newbie
question
On Sep 25, 2007, at 9:03 AM, malcolm smith wrote:
> Perhaps I am missing something, but from what I see in other posts
> the following scenario should work with stringtemplate V3.0.1 –
>
> Here is what I am trying to do.
>
> 1) Load a string template group file from a directory
> (thequery.stg) in this case. The stg file has a reference to a
> plain old template file flist() (in flist.st).
>
> 2) Assign some attributes.
>
> 3) Convert string template object to string.
>
> What happens instead is that when I run ToString() I get a
> "Unhandled Exception: Antlr.StringTemplate.TemplateLoadException:
> Can't load template 'flist.st'; context is [test]"
Yeah, currently the group can only look inside that group or supergroup.
Sorry about that.
Ter=
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.6/1061 - Release Date: 10/10/2007
8:43 AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.8/1063 - Release Date: 10/11/2007
9:11 AM
More information about the stringtemplate-interest
mailing list