[antlr-interest] % in target code
Loring Craymer
lgcraymer at yahoo.com
Wed Mar 26 18:16:48 PDT 2008
That seems odd--I would think that \\\% should work (escape the \, escape the %). The two errors should be from the processing of the combined grammar (exposed %) and of the lexer grammar.
--Loring
----- Original Message ----
From: Olivier Lefevre <lefevrol at yahoo.com>
To: antlr-interest at antlr.org
Sent: Wednesday, March 26, 2008 5:11:31 PM
Subject: Re: [antlr-interest] % in target code
Sorry, typo in my earlier message: it is % that gives the double error
message, \% gives the single version.
\\% works the same as %. In fact one can generalize: an even number of \
(including 0) before the % generates two errors, an odd number one error.
-- O.L.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080326/f21ca8bf/attachment-0001.html
More information about the antlr-interest
mailing list