[antlr-interest] With apologies for the list-spam, here's another question
offline at shaw.ca
Sun Feb 29 19:50:12 PST 2004
(note that this was foolishly asked in my other thread, little was i
thinking -- since most people wisely skip the "thanks, d00d" messages.
I apologize to all the people who DID read it, and thank you all for
your patience, which i won't try anymore: on with the message!)
The input for my parser may consist of "folded" text - basically, some
lines that are beyond a reasonable length will be wrapped with leading
whitespace indicating that their values are to be unfolded and treated
as all one piece.
So how do i look for that? I was originally handling it by filtering
the input, but that was messing with my linefeeds and CRs, so i'd like
to handle it in the parser. Essentially what i want is to return a
single token, call it VALUE, that takes everything from the first ":"
on a line to the first ENDL character that is not followed by some
Can this even be done?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the antlr-interest