lexer: Get rid of useless code in lex_get_error().