- if ( lex_match_id (lexer, "CONTINUE") )
- {
- error_mode = LEX_ERROR_CONTINUE;
- }
- else if ( lex_match_id (lexer, "STOP"))
- {
- error_mode = LEX_ERROR_STOP;
- }
+ if (lex_match_id (lexer, "CONTINUE"))
+ error_mode = LEX_ERROR_CONTINUE;
+ else if (lex_match_id (lexer, "STOP"))
+ error_mode = LEX_ERROR_STOP;
+ else if (settings_get_testing_mode ()
+ && lex_match_id (lexer, "IGNORE"))
+ error_mode = LEX_ERROR_IGNORE;