aboutsummaryrefslogtreecommitdiff
path: root/interp/notation.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interp/notation.ml')
-rw-r--r--interp/notation.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/interp/notation.ml b/interp/notation.ml
index d5e27841ab..09edd7b30a 100644
--- a/interp/notation.ml
+++ b/interp/notation.ml
@@ -111,6 +111,9 @@ let subst_scope (subst,sc) = sc
open Libobject
+let discharge_scope (_,(local,_,_ as o)) =
+ if local then None else Some o
+
let classify_scope (local,_,_ as o) =
if local then Dispose else Substitute o
@@ -119,6 +122,7 @@ let inScope =
cache_function = cache_scope;
open_function = open_scope;
subst_function = subst_scope;
+ discharge_function = discharge_scope;
classify_function = classify_scope }
let open_close_scope (local,opening,sc) =