name lexer error and simplify error output