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/> 

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-interest@googlegroups.com
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to