[antlr-interest] Spaces in names
Dave Raskin
dave.raskin at rimage.com
Tue Aug 7 08:27:57 PDT 2007
Hello, I have a fairly simple grammar (attached) to parse things like
name='value'
type statement. Essentially it's a very simplified version of the SQL
WHERE clause.
Everything works well, except that values cannot accept spaces (' ') in
the string. I would like to be able to parse statements such as
name=' value value1'
I am using Antlr version 2.7.5.
Am I doing something wrong in the grammar?
Thanks in advance!
Dave Raskin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070807/3f87aec2/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectGrammar.g
Type: application/octet-stream
Size: 1604 bytes
Desc: SelectGrammar.g
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20070807/3f87aec2/attachment.obj
More information about the antlr-interest
mailing list