fixed hang in error_code_lexer_2