- }
- else if (result == CMD_CASCADING_FAILURE
- && lex_get_error_mode (lexer) != LEX_ERROR_TERMINAL)
- {
- msg (SE, _("Stopping syntax file processing here to avoid "
- "a cascade of dependent command failures."));
- lex_discard_noninteractive (lexer);
+ break;
+
+ case LEX_ERROR_CONTINUE:
+ if (result == CMD_CASCADING_FAILURE)
+ {
+ msg (SE, _("Stopping syntax file processing here to avoid "
+ "a cascade of dependent command failures."));
+ lex_discard_noninteractive (lexer);
+ }
+ break;
+
+ case LEX_ERROR_TERMINAL:
+ case LEX_ERROR_IGNORE:
+ break;