[antlr-interest] Changing the bracket delimiters in StringTemplate3
Micheal J
open.zone at virgin.net
Sat Jul 7 15:26:06 PDT 2007
> Hello,
>
> I can't find the answers on the Wikis or book. I think I've
> seen this somewhere, so I'm hoping someone can point me in
> the write direction.
>
> I'm having trouble with StringTemplate and the default '<<'
> and '>>' delimiters. The problem is my template is C code
> which uses the '>>' and <<'' strings. So, when the template
> is evaluated, it gets confused and crashes.
>
> How do I change '>>' and '<<'? I hoping there is some sort
> of global option that can change this in my StringTempalte group file.
http://www.antlr.org/wiki/display/ST/StringTemplate+3.0+Printable+Documentat
ion#StringTemplate3.0PrintableDocumentation-SettingtheExpressionDelimiters
Micheal
-----------------------
The best way to contact me is via the list/forum. My time is very limited.
More information about the antlr-interest
mailing list