[antlr-interest] Space in values

Terence Parr parrt at cs.usfca.edu
Tue Nov 23 09:53:11 PST 2004


Hi.  The answer is to put STRING as a token in the lexer :)  See the 
java grammar or a perhaps a simpler grammar.

Ter
On Nov 23, 2004, at 8:40 AM, DELZANT Bruno (BMB) wrote:
> With this grammar file, I get an error on spaces in bolded value. the 
> parser is expecting a double quote and not a space.
> But I do not see how to solve this (I am new with antlr).
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list