aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/vernacinterp.mli
diff options
context:
space:
mode:
authorGravatar Vincent Laporte <Vincent.Laporte@gmail.com>2018-06-25 08:00:47 +0000
committerGravatar Vincent Laporte <Vincent.Laporte@gmail.com>2018-07-03 15:59:33 +0000
commit5494c46f6219bea902fcc5ed983e16d1105fec51 (patch)
treeb3203230412cad19f08cb7b549074d8fea523844 /vernac/vernacinterp.mli
parent767898e6e59e86e3123846374448402360b783e6 (diff)
[vernac] Add a “deprecated” attribute
Diffstat (limited to 'vernac/vernacinterp.mli')
-rw-r--r--vernac/vernacinterp.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/vernac/vernacinterp.mli b/vernac/vernacinterp.mli
index a24bcd40d..362c05d4c 100644
--- a/vernac/vernacinterp.mli
+++ b/vernac/vernacinterp.mli
@@ -17,10 +17,11 @@ type atts = {
locality : bool option;
polymorphic : bool;
program : bool;
+ deprecated : (string * string) option; (* Since, Note *)
}
val mk_atts : ?loc: Loc.t option -> ?locality: bool option ->
- ?polymorphic: bool -> ?program: bool -> unit -> atts
+ ?polymorphic: bool -> ?program: bool -> ?deprecated: (string * string) option -> unit -> atts
type 'a vernac_command = 'a -> atts:atts -> st:Vernacstate.t -> Vernacstate.t