[antlr-interest] delimiters directive does not work with C# version of StringTemplate
Sam Harwell
sharwell at pixelminegames.com
Fri Nov 4 06:50:18 PDT 2011
Hi Maik,
Currently the delimiters syntax only works with group files
(TemplateGroupFile, *.stg), not standalone template files
(TemplateGroupDirectory, *.st).
Based on the error message you listed, I'm guessing this is the problem?
Sam
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of pragmaik
Sent: Friday, November 04, 2011 2:43 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] delimiters directive does not work with C# version
of StringTemplate
I'd like to generate some XML documents using StringTemplate and C#, so I've
used
delimiters "$", "$"
to change the default delimiters.
Unfortunately, it didn't work and I've got the following error:
System.ArgumentException: Can't find template arg.st
I get the same error when I set the default delimiters explicitly:
delimiters "<", ">"
Cheers,
Maik
--
View this message in context:
http://antlr.1301665.n2.nabble.com/delimiters-directive-does-not-work-with-C
-version-of-StringTemplate-tp6961898p6961898.html
Sent from the ANTLR mailing list archive at Nabble.com.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list