[stringtemplate-interest] Indentation question

Terence Parr parrt at cs.usfca.edu
Wed Nov 30 10:25:26 PST 2011


I think that you have to remove the indentation manually:

<sorted: {s|<if(s)>
<insert("arg"))>
<endif>}>

ter
On Nov 28, 2011, at 12:02 PM, Jiwon Seo wrote:

> I have a template like following (except that it is much more
> complicated, so I want to write it in multiple lines):
> 
> <sorted: {s|<if(s)><insert("arg"))><endif>}>
> 
> When I try to write this in multiple lines as:
> 
> <sorted: {s|<if(s)>
>                  <insert("arg"))>
>                  <endif>}>
> 
> It automatically adds indentations. Is there any way to not to have
> the indentation?
> Does the minus(-) work for STv4?  (like <-insert("arg") ...)
> 
> Thanks.
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list