[antlr-interest] preserving whitespace

Donal Murtagh donalmurtagh at yahoo.co.uk
Tue Dec 6 05:19:07 PST 2005


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.

Best Wishes,
Don






		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


More information about the antlr-interest mailing list