aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/coqtop.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-07-31 14:06:02 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-07-31 14:06:02 +0200
commit1c55826018c5f07ee25b5771e59fe0389293cb62 (patch)
tree7e9f641d39a29e5848c4e8bc90b9702dc793c899 /toplevel/coqtop.ml
parent17f37f42792b3150fcebb6236b9896845957b89d (diff)
[general] Remove spurious dependency of highparsing on toplevel.
`G_vernac` was depending on `toplevel` just for parsing the compat number information. IMHO this was not the right place, so I have moved the parsing bits to parsing and updated the files. This allows to finally separate the `toplevel` from Coq, which avoids linking it in alternative toplevels.
Diffstat (limited to 'toplevel/coqtop.ml')
-rw-r--r--toplevel/coqtop.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index 515552fe7..5ecd71a39 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -518,7 +518,7 @@ let parse_args arglist =
Flags.async_proofs_delegation_threshold:= get_float opt (next ())
|"-worker-id" -> set_worker_id opt (next ())
|"-compat" ->
- let v = get_compat_version ~allow_old:false (next ()) in
+ let v = G_vernac.parse_compat_version ~allow_old:false (next ()) in
Flags.compat_version := v; add_compat_require v
|"-compile" -> add_compile false (next ())
|"-compile-verbose" -> add_compile true (next ())