aboutsummaryrefslogtreecommitdiff
path: root/intf/decl_kinds.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-09-12 17:26:53 +0200
committerMaxime Dénès2017-11-29 16:12:14 +0100
commitae5944b360c1e181fa162d7d6dced7e671c6fbe6 (patch)
treeca5f2c680d0cd33028e75a579d5ffca31e83d6b0 /intf/decl_kinds.ml
parentb23df225c7df7883af6ecfa921986cfb6fd3cd7c (diff)
Remove "obsolete_locality" and fix STM vernac classification.
We remove deprecated syntax "Coercion Local" and such, and seize the opportunity to refactor some code around vernac_expr. We also do a small fix on the STM classification, which didn't know about Let Fixpoint and Let CoFixpoint. This is a preliminary step for the work on attributes.
Diffstat (limited to 'intf/decl_kinds.ml')
-rw-r--r--intf/decl_kinds.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/intf/decl_kinds.ml b/intf/decl_kinds.ml
index a977588332..1dea6d9e98 100644
--- a/intf/decl_kinds.ml
+++ b/intf/decl_kinds.ml
@@ -8,6 +8,8 @@
(** Informal mathematical status of declarations *)
+type discharge = DoDischarge | NoDischarge
+
type locality = Discharge | Local | Global
type binding_kind = Explicit | Implicit
@@ -40,6 +42,7 @@ type definition_object_kind =
| IdentityCoercion
| Instance
| Method
+ | Let
type assumption_object_kind = Definitional | Logical | Conjectural