回复: [antlr-interest] how to distinguish "::" from ":"

Sohail Somani sohail at taggedtype.net
Sun Jun 11 20:28:29 PDT 2006


On Mon, 2006-06-12 at 06:02 +0800, 孙纪刚 Jigang (Robert) Sun wrote:
> I've got the answer.
> 
> Cheers.
> 
> Jigang

Its proper manners to post your solution :)

My guess is you made tokens and used alts in the lexer. But I'll never
know!



More information about the antlr-interest mailing list