[antlr-interest] Changing the bracket delimiters in StringTemplate3

Bernardo Elayda belayda at gmail.com
Sat Jul 7 12:09:53 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.

thanks in advance!
-Bernardo Elayda


More information about the antlr-interest mailing list