[antlr-interest] ST feature proposal
Loring Craymer
lgcraymer at yahoo.com
Thu Jul 9 19:14:15 PDT 2009
Hmm--could you make this "either output a \ or escape a newline" for <\\>? The lack of a way to output a \ from ST is annoying and escaping newlines is rather minimal functionality for a lexeme.
--Loring
----- Original Message ----
> From: Terence Parr <parrt at antlr.org>
> To: String Template <stringtemplate-interest at antlr.org>
> Cc: antlr-interest ANTLR <antlr-interest at antlr.org>
> Sent: Thursday, July 9, 2009 6:50:12 PM
> Subject: [antlr-interest] ST feature proposal
>
> Howdy, I think Jim Idle brought up that sometimes you want to format
> your templates without screwing up the output. I just added a feature
> proposal:
>
> http://www.antlr.org/jira/browse/ST-57
>
> Example:
>
> "start of a string<\\>
> <\\>
> "
>
> ST would ignore the newline and any indentation.
>
> I can easily slip this in for 3.2.1 release, which I guess will be the
> book release
>
> Ter
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list