aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-27 20:40:28 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-27 20:40:28 +0100
commit1801eab1c6685f3d1a0311ac1074f252efcccbc5 (patch)
treeaf3cc6d4619e5bc88af813d34248bf8183c1e746 /stm
parent68cec014db63283ce0f7941e6df5f5fc0dd6435f (diff)
STM: fix processing of errors
Diffstat (limited to 'stm')
-rw-r--r--stm/stm.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/stm.ml b/stm/stm.ml
index 42500651c..6558252a7 100644
--- a/stm/stm.ml
+++ b/stm/stm.ml
@@ -661,8 +661,8 @@ end = struct (* {{{ *)
| Some _ -> (e, info)
| None ->
let loc = Option.default Loc.ghost (Loc.get_loc info) in
- Hooks.(call execution_error id loc (iprint (e, info)));
let (e, info) = Hooks.(call_process_error_once (e, info)) in
+ Hooks.(call execution_error id loc (iprint (e, info)));
(e, Stateid.add info ?valid id)
let same_env { system = s1 } { system = s2 } =