Oops, sorry about the massive message :( I didn't see that it 14000 characters wide :( Anyway, looks like a bug in ANTLR - the java compiler is entitled to fall over with junk like that. Steve