aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-04 17:24:59 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-04 17:24:59 +0100
commit78551857a41a57607ecfb3fd010e0a9755f47cea (patch)
tree431275a5729dddb5ca4fa2d9199b8640aa4f45af /parsing
parentdffc6a20eb1a0636904164e00b5963ed96f774c4 (diff)
parent2f60c1bab0ce391aa60cc6c387b9d36a1ae70905 (diff)
Merge PR #6791: Removing compatibility support for versions older than 8.5.
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_vernac.ml44
1 files changed, 1 insertions, 3 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 93e534e0b..4d6741ff5 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -56,9 +56,7 @@ let parse_compat_version ?(allow_old = true) = let open Flags in function
| "8.8" -> Current
| "8.7" -> V8_7
| "8.6" -> V8_6
- | "8.5" -> V8_5
- | ("8.4" | "8.3" | "8.2" | "8.1" | "8.0") as s ->
- if allow_old then VOld else
+ | ("8.5" | "8.4" | "8.3" | "8.2" | "8.1" | "8.0") as s ->
CErrors.user_err ~hdr:"get_compat_version"
Pp.(str "Compatibility with version " ++ str s ++ str " not supported.")
| s ->