[stringtemplate-interest] indented IFs in STv4
Terence Parr
parrt at cs.usfca.edu
Tue Nov 10 12:44:56 PST 2009
On Nov 10, 2009, at 1:00 AM, Nicola Musatti wrote:
> In my opinion if either an <if(x)>, and <else> or an <endif> are
> followed by whitespace until the following newline both the whitespace
> and the newline should be ignored; any newline following the if or the
> else body should be preserved. Thus:
>
> [
> <if()>
> foo
> <endif>
> ]
>
> should print either
>
> [
> foo
> ]
[snip]
Yep, that's my intention
T
More information about the stringtemplate-interest
mailing list