[antlr-interest] ST feature proposal

Terence Parr parrt at cs.usfca.edu
Sat Jul 11 09:26:47 PDT 2009


got this working. it's like a comment; all done in the lexer. looks nice
Ter
On Jul 10, 2009, at 10:27 PM, Graham Wideman wrote:

> Gerald rightly observed that...
>
>> Given that ST tends to preserve whitespace, the least change rule
>> would be to preserve any whitespace immediately prior to the <\\>
>
> ... and also the whitespace preceding the <\\> is easy to see. So  
> this indeed seems to satisfy the issue of how to specify whitespace  
> to include.
>
>> and consume all whitespace immediately after.
>
> ... I think that makes sense too.
>
> -- Graham
>
>
>
> 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