[Sorry for jumpting into the middle of this thread after missing this thread...] Do you have '.' in any other lexer rules? Like, say, in lexer rules for numbers? If so, check out the lexer for the Java grammar and note how it handles having dot used in so many places in the lexer. Hope this helps, John