diff options
| author | herbelin | 2010-09-24 22:21:29 +0000 |
|---|---|---|
| committer | herbelin | 2010-09-24 22:21:29 +0000 |
| commit | 98b7bcfdbec5e34a8f3a1adaa141802fda4bf434 (patch) | |
| tree | 5e9366f249726da85c3d8e83043104c0f261313b /interp/notation.ml | |
| parent | 13964049858427c5447394c733011f7a0c4f4117 (diff) | |
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
Diffstat (limited to 'interp/notation.ml')
| -rw-r--r-- | interp/notation.ml | 4 |
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) = |
