diff options
Diffstat (limited to 'interp/notation.ml')
| -rw-r--r-- | interp/notation.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/interp/notation.ml b/interp/notation.ml index ac71e1ebdc..c55b7b999b 100644 --- a/interp/notation.ml +++ b/interp/notation.ml @@ -928,4 +928,7 @@ let _ = let with_notation_protection f x = let fs = freeze () in try let a = f x in unfreeze fs; a - with e -> unfreeze fs; raise e + with e -> + let e = Errors.push e in + let () = unfreeze fs in + raise e |
