[antlr-interest] Re: Lexer not putting colon back

mzukowski at yci.com mzukowski at yci.com
Fri Nov 15 10:11:40 PST 2002


Then use a syntactic predicate

QNAME ((':' ~('='))=>':' QNAME)?

Monty

-----Original Message-----
From: Paul J. Lucas [mailto:dude at darkfigure.org]
Sent: Friday, November 15, 2002 10:01 AM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Re: Lexer not putting colon back


--- In antlr-interest at y..., mzukowski at y... wrote:
> Do you have k="2" in your lexer?  You need k to be at least 2 so it will
> look far enough ahead to see the = after the :

No value of k makes this work.

- Paul


 

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


 

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



More information about the antlr-interest mailing list