aboutsummaryrefslogtreecommitdiff
path: root/interp/notation.mli
diff options
context:
space:
mode:
authorvsiles2009-04-30 10:04:41 +0000
committervsiles2009-04-30 10:04:41 +0000
commit95e33bcedadfbc2493f3036fbdb668506bfcdab4 (patch)
treeebf883ebde1b15c889942e4f993a7d21d6bd9f1e /interp/notation.mli
parentac062421fb5fba8ee4b9cadb7b62ce1066ce6194 (diff)
Fix a small notation/scope bug:
When defining an inductive type with a reserved notation in a particuliar scope, the scope was not opened during the interpretation. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12117 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/notation.mli')
-rw-r--r--interp/notation.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/interp/notation.mli b/interp/notation.mli
index 35d1c0d17b..06349014db 100644
--- a/interp/notation.mli
+++ b/interp/notation.mli
@@ -39,6 +39,11 @@ val declare_scope : scope_name -> unit
val current_scopes : unit -> scopes
+(* Check where a scope is opened or not in a scope list, or in
+ * the current opened scopes *)
+val scope_is_open_in_scopes : scope_name -> scopes -> bool
+val scope_is_open : scope_name -> bool
+
(* Open scope *)
val open_close_scope :