aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillaume Melquiond2016-11-22 17:08:14 +0100
committerGuillaume Melquiond2017-06-14 07:19:50 +0200
commit571c319ed536cb2757176d3ae4007a75f5d3b04d (patch)
tree24e1f0bbc1ee22c9430c62a0b3d66f0c27ebcf17 /lib
parent80dfe0cb64285f58dfe2eebd7319c747c70d3d6b (diff)
Remove support for Coq 8.2.
Diffstat (limited to 'lib')
-rw-r--r--lib/flags.ml8
-rw-r--r--lib/flags.mli2
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/flags.ml b/lib/flags.ml
index 682e2e4df1..c4a97bd12e 100644
--- a/lib/flags.ml
+++ b/lib/flags.ml
@@ -106,7 +106,7 @@ let we_are_parsing = ref false
(* Current means no particular compatibility consideration.
For correct comparisons, this constructor should remain the last one. *)
-type compat_version = VOld | V8_2 | V8_3 | V8_4 | V8_5 | V8_6 | Current
+type compat_version = VOld | V8_3 | V8_4 | V8_5 | V8_6 | Current
let compat_version = ref Current
@@ -114,9 +114,6 @@ let version_compare v1 v2 = match v1, v2 with
| VOld, VOld -> 0
| VOld, _ -> -1
| _, VOld -> 1
- | V8_2, V8_2 -> 0
- | V8_2, _ -> -1
- | _, V8_2 -> 1
| V8_3, V8_3 -> 0
| V8_3, _ -> -1
| _, V8_3 -> 1
@@ -136,7 +133,6 @@ let version_less_or_equal v = not (version_strictly_greater v)
let pr_version = function
| VOld -> "old"
- | V8_2 -> "8.2"
| V8_3 -> "8.3"
| V8_4 -> "8.4"
| V8_5 -> "8.5"
@@ -161,7 +157,7 @@ let is_verbose () = not !quiet
let auto_intros = ref true
let make_auto_intros flag = auto_intros := flag
-let is_auto_intros () = version_strictly_greater V8_2 && !auto_intros
+let is_auto_intros () = !auto_intros
let universe_polymorphism = ref false
let make_universe_polymorphism b = universe_polymorphism := b
diff --git a/lib/flags.mli b/lib/flags.mli
index c0aca9c99b..6e9362681f 100644
--- a/lib/flags.mli
+++ b/lib/flags.mli
@@ -77,7 +77,7 @@ val raw_print : bool ref
(* Univ print flag, never set anywere. Maybe should belong to Univ? *)
val univ_print : bool ref
-type compat_version = VOld | V8_2 | V8_3 | V8_4 | V8_5 | V8_6 | Current
+type compat_version = VOld | V8_3 | V8_4 | V8_5 | V8_6 | Current
val compat_version : compat_version ref
val version_compare : compat_version -> compat_version -> int
val version_strictly_greater : compat_version -> bool