[antlr-interest] Dealing with issues in non-greedy (.)* rules
Terence Parr
parrt at cs.usfca.edu
Tue Jun 12 09:31:12 PDT 2007
On Jun 12, 2007, at 7:30 AM, Marc-André Laverdière wrote:
> Hmm... I had to put this issue aside for a certain time, but now
> I'm back on it.
>
> I still have no idea what to do to make this work! If (.)+ won't do
> it, what will? I can't believe that Antlr isn't dealing with a
> random blob.
.+ works fine in the lexer and probably parser. Consumes until it
sees what follows.
>
> BTW, I'm generating code with AntlrWorks... is there any bug in its
> code generation vs the command-line utility?
nope same.
Ter
More information about the antlr-interest
mailing list