[antlr-interest] antlr v3 daily / hourly builds

Gavin Lambert antlr at mirality.co.nz
Fri Mar 16 05:48:02 PDT 2007

At 07:46 16/03/2007, Terence Parr wrote:
 >is Mar 15 2007's build for hour 11.  I may push more than one in 
 >hour, but rarely; it would overwrite.
 >Anyway, this one has the fix for the (...)=> bug Harmut was 
 >about.  Try it out!

Is it supposed to have the fix for the lexer set inversion thing 
too?  Because I've just tried to use one in antlr-03-15-2007.13 
and it doesn't seem to like it:

	:	~('"' | '\\' | WS)
	:	('\r' | '\n' | ' ' | '\t')		{ $channel = HIDDEN; }

error(100): Test.g3:56:19: syntax error: antlr: Test.g3:56:19: 
unexpected token: WS
warning(208): Test.g3:74:1: The following token definitions are 
unreachable: WS

(where line 56 was in the NormalChar rule and line 74 was in the 
WS rule.)

I tried making a fragment rule containing just the charset from WS 
and referencing that from both rules, but it didn't make a 

More information about the antlr-interest mailing list