aboutsummaryrefslogtreecommitdiff
path: root/vernac/attributes.mli
diff options
context:
space:
mode:
authorVincent Laporte2018-12-06 09:07:24 +0000
committerVincent Laporte2018-12-06 09:07:24 +0000
commita2c8b7df8a0702ab716c0b97ad63d235b58b93a0 (patch)
treec3320b64340018f5a73d111c3fefc79b4c507741 /vernac/attributes.mli
parent5331889da2d3f57f7aed935f6456e39765eb8b31 (diff)
parent90ae85437a281ca655f7e9511ef09874ba591857 (diff)
Merge PR #8917: Small cleanup wrt attributes_of_flags and template attribute
Diffstat (limited to 'vernac/attributes.mli')
-rw-r--r--vernac/attributes.mli17
1 files changed, 1 insertions, 16 deletions
diff --git a/vernac/attributes.mli b/vernac/attributes.mli
index c2dde4cbcc..6a32960a9d 100644
--- a/vernac/attributes.mli
+++ b/vernac/attributes.mli
@@ -49,28 +49,13 @@ val mk_deprecation : ?since: string option -> ?note: string option -> unit -> de
val polymorphic : bool attribute
val program : bool attribute
-val universe_poly_template : (bool * bool option) attribute
+val template : bool option attribute
val locality : bool option attribute
val deprecation : deprecation option attribute
val program_opt : bool option attribute
(** For internal use when messing with the global option. *)
-type t = {
- locality : bool option;
- polymorphic : bool;
- template : bool option;
- program : bool;
- deprecated : deprecation option;
-}
-(** Some attributes gathered in a adhoc record. Will probably be
- removed at some point. *)
-
-val attributes_of_flags : vernac_flags -> t
-(** Parse the attributes supported by type [t]. Errors on other
- attributes. Polymorphism and Program use the global flags as
- default values. *)
-
val only_locality : vernac_flags -> bool option
(** Parse attributes allowing only locality. *)