aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-01-19 13:45:27 +0100
committerPierre-Marie Pédrot2021-01-19 13:45:27 +0100
commit071c50e9c2755e93766e5fb047b0a9065934e8fe (patch)
tree1c702aafeebc10843c76ba992658000d9b6e864e /interp
parenta85d8cb68f53667d13ae0b5210b5e3dcc3fd8aa4 (diff)
parent7df37822980666c51109205dca8df99f3b81c4fb (diff)
Merge PR #13699: Fix #13579 (hnf on primitives raises an anomaly)
Ack-by: SkySkimmer Reviewed-by: ppedrot
Diffstat (limited to 'interp')
-rw-r--r--interp/notation.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/interp/notation.ml b/interp/notation.ml
index 33d96f0439..d6002d71b5 100644
--- a/interp/notation.ml
+++ b/interp/notation.ml
@@ -1357,6 +1357,7 @@ let find_with_delimiters = function
match (String.Map.find scope !scope_map).delimiters with
| Some key -> Some (Some scope, Some key)
| None -> None
+ | exception Not_found -> None
let rec find_without_delimiters find (ntn_scope,ntn) = function
| OpenScopeItem scope :: scopes ->