[stringtemplate-interest] [ST4 Beta-2] Bad separator used when adding spaces between '=' and string literal
Terence Parr
parrt at cs.usfca.edu
Wed Jan 26 17:59:19 PST 2011
fixed.
ter
On Jan 26, 2011, at 5:07 AM, Udo Borkowski wrote:
> I assume this is a bug.
>
>
> Let list be a list with "A", "B", "C".
>
> Then
> ---------------
> <list:{x|<x>};separator=" AND ">
> ---------------
>
> will produce the expected result:
> --------------
> A AND B AND C
> --------------
>
> However, adding a space before the string literal " AND ":
> ---------------
> <list:{x|<x>};separator= " AND ">
> ---------------
>
> will produce this unexpected result:
> ---------------
> A" AND B" AND C
> ---------------
>
> Adding more space will make it worse.
>
>
> Udo
> _______________________________________________
> 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