[antlr-interest] Question about preserving spaces in quoted strings
Penningroth, Mark
mpenningroth at cincom.com
Thu Jul 2 07:35:01 PDT 2009
I have the following in my grammar:
sqcon
: '\'' ( options {greedy=false;} : .)* '\''
;
The intent is to get a single text node with everything between the sing
quotes.
When I parse 'Los Angeles' I lose the space .
I have been struggling quite a bit with quoted strings...
Any ideas?
Software Engineering Manager
Advanced Technology Group
Cincom Systems
phone: (513)612-2300
fax: (513)612-2000
http://www.cincom.com <http://www.cincom.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090702/5a2fe54f/attachment.html
More information about the antlr-interest
mailing list