aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index ff10ea8e..47d1994f 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -670,9 +670,8 @@ int parser_t::eval_block_node(node_offset_t node_idx, const io_chain_t &io,
if (this->cancellation_requested) {
if (!block_stack.empty()) {
return 1;
- } else {
- this->cancellation_requested = false;
}
+ this->cancellation_requested = false;
}
// Only certain blocks are allowed.