From 98b7bcfdbec5e34a8f3a1adaa141802fda4bf434 Mon Sep 17 00:00:00 2001 From: herbelin Date: Fri, 24 Sep 2010 22:21:29 +0000 Subject: Partial review of removed dead code (r13460) - The code detected unused in notation.ml revealed a bug. - In term.ml, restored a (short) useless function for consistency/symmetry of the interface. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13463 85f007b7-540e-0410-9357-904b9bb8a0f7 --- interp/notation.ml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'interp/notation.ml') 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) = -- cgit v1.2.3