File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
Changes from V8.5beta3
2
2
======================
3
3
4
+ Vernacular commands
5
+ - Flag -compat 8.4 now loads Coq.Compat.Coq84. The standard way of putting Coq
6
+ in v8.4 compatibility mode is to pass the command line flag "-compat 8.4". It
7
+ can be followed by "-require Coq.Compat.AdmitAxiom" if 8.4 behavior of admit is
8
+ needed, in which case it uses an axiom.
9
+
4
10
Specification language
5
11
6
12
- Syntax "$(tactic)$" changed to "ltac:(tactic)".
Original file line number Diff line number Diff line change @@ -196,6 +196,11 @@ let require () =
196
196
let map dir = Qualid (Loc. ghost, qualid_of_string dir) in
197
197
Vernacentries. vernac_require None (Some false ) (List. rev_map map ! require_list)
198
198
199
+ let add_compat_require v =
200
+ match v with
201
+ | Flags. V8_4 -> add_require " Coq.Compat.Coq84"
202
+ | _ -> ()
203
+
199
204
let compile_list = ref ([] : (bool * string ) list )
200
205
201
206
let glob_opt = ref false
@@ -475,7 +480,7 @@ let parse_args arglist =
475
480
| " -async-proofs-private-flags" ->
476
481
Flags. async_proofs_private_flags := Some (next () );
477
482
| " -worker-id" -> set_worker_id opt (next () )
478
- | " -compat" -> Flags. compat_version : = get_compat_version (next () )
483
+ | " -compat" -> let v = get_compat_version (next () ) in Flags. compat_version := v; add_compat_require v
479
484
| " -compile" -> add_compile false (next () )
480
485
| " -compile-verbose" -> add_compile true (next () )
481
486
| " -dump-glob" -> Dumpglob. dump_into_file (next () ); glob_opt := true
You can’t perform that action at this time.
0 commit comments