aboutsummaryrefslogtreecommitdiff
path: root/src/dc/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dc/parse.c')
-rw-r--r--src/dc/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dc/parse.c b/src/dc/parse.c
index 9ec746b96f7f..86edc5f66505 100644
--- a/src/dc/parse.c
+++ b/src/dc/parse.c
@@ -1,9 +1,9 @@
/*
* *****************************************************************************
*
- * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
+ * SPDX-License-Identifier: BSD-2-Clause
*
- * All rights reserved.
+ * Copyright (c) 2018-2020 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -230,7 +230,7 @@ void dc_parse_parse(BcParse *p) {
exit:
BC_SIG_MAYLOCK;
- if (BC_ERR(vm.status)) bc_parse_reset(p);
+ if (BC_ERR(vm.status || vm.sig)) bc_parse_reset(p);
BC_LONGJMP_CONT;
}
#endif // DC_ENABLED