aboutsummaryrefslogtreecommitdiff
path: root/vernac/vernacexpr.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-10-02 13:17:26 +0200
committerGaëtan Gilbert2020-10-06 14:05:10 +0200
commitee926704e6f8b14efe5c7daeaf56506cba73b9b9 (patch)
tree56fcb88b9b25d238adec8b35cd6aa3a4bdfa4c8e /vernac/vernacexpr.ml
parent6d3a9220204de22e0b81dc961d2eb269128b5c2e (diff)
Define a new type instance_flag instead of using [unit option]
Diffstat (limited to 'vernac/vernacexpr.ml')
-rw-r--r--vernac/vernacexpr.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/vernac/vernacexpr.ml b/vernac/vernacexpr.ml
index 721e710e1d..eeebb43114 100644
--- a/vernac/vernacexpr.ml
+++ b/vernac/vernacexpr.ml
@@ -106,8 +106,7 @@ type search_restriction =
type verbose_flag = bool (* true = Verbose; false = Silent *)
type coercion_flag = bool (* true = AddCoercion false = NoCoercion *)
-type instance_flag = unit option
- (* Some () = Backward instance, None = NoInstance *)
+type instance_flag = BackInstance | NoInstance
type export_flag = bool (* true = Export; false = Import *)