Make lexer tokens an enum.