[stringtemplate-interest] leading/trailing whitespace trimmed
Terence Parr
parrt at cs.usfca.edu
Tue Apr 8 11:01:21 PDT 2008
On Apr 8, 2008, at 2:58 AM, brian wrote:
> I think org.antlr.stringtemplate.StringTemplate(java.lang.String
> template) is trimming leading and trailing whitespace. Is it? Should
> it? I see a note about ST doing that for file input, but why to
> Strings?
Hi. It does it for all templates even those specified with "...".
Easier to add whitespace later than to get rid of whitespace.
Ter
More information about the stringtemplate-interest
mailing list