Minor improvements on example2 lexer