[antlr-interest] ANTLRWorks question

Mark Wilson mwil at lle.rochester.edu
Tue Oct 13 11:03:44 PDT 2009


I used the ANTLRWorks wizard to start my grammar.  There appears to be
something wrong with the STRING token, basically something like "Joe" does
not parse correctly in the interpreter.  This is what the rule looks like:

STRING
    :  '"' ( ESC_SEQ | ~('\\'|'"') )* '"'
    ;

What is this supposed to do?

Thanks,
Mark Wilson

-- 
Mark Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091013/168b1c1c/attachment.html 


More information about the antlr-interest mailing list