[antlr-interest] ANTLR 3.0b5 problem with predicates

Terence Parr parrt at cs.usfca.edu
Tue Nov 28 17:53:31 PST 2006


On Nov 23, 2006, at 9:54 AM, Shmuel Siegel wrote:

> No, that predicate says "only pick up the * if the next char is not a
> slash.
> This is what antlr2 did. I quote from the cpp_parser on your site. My
> original code was the same but I simplified it for the sake of the
> problem report. I got the same error with the full code.
>

Have I suggested {LA(2) != '/'}?=> '*' yet?

Ter


More information about the antlr-interest mailing list