[antlr-interest] preserving whitespace
Kamal Verma
kverma at hotmail.com
Tue Dec 6 08:00:01 PST 2005
I tried it long ago wothout any success, and then I lost intrest. I will
also like to hear from folks who tried or have any ideas.
Also, the article says,
"Currently, there is no obvious means of doing this simply in ANTLR"
I was wondering if ANTL v3 will make it any easier?
Thanks and regards,
-Kamal
>From: Donal Murtagh <donalmurtagh at yahoo.co.uk>
>Hi,
>
>In Terence's article:
>http://www.antlr.org/article/preserving.token.order/preserving.token.order.tml
>
>He describes a means of preserving the original token sequence and
>whitespace. A shortcoming of
>his solution is that whitespace occurring in between statements is lost.
>Overcoming this is left
>as an exercise for the reader :o)
>
>Have any readers figured out how to modify the solution in order to
>overcome this? If so, I'd be
>grateful if they'd share it.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the antlr-interest
mailing list