From 649c3f262daecd0392d9fd4fe169692c5385fee9 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 6 Oct 2014 00:47:41 -0700 Subject: [PATCH] Don't complain if no errors occurred due to cancellation Fixes #1166 --- parse_execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse_execution.cpp b/parse_execution.cpp index 624ce0d7d..18d419ff9 100644 --- a/parse_execution.cpp +++ b/parse_execution.cpp @@ -731,7 +731,7 @@ parse_execution_result_t parse_execution_context_t::report_error(const parse_nod parse_execution_result_t parse_execution_context_t::report_errors(const parse_error_list_t &error_list) const { - if (parser->show_errors) + if (parser->show_errors && ! parser->cancellation_requested) { if (error_list.empty()) {