aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-08 09:53:47 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-08 09:53:47 +0000
commita98cbb0391769b2904a8127d73cbb731521e8fce (patch)
tree333ad3ffd9007308b57588bfce68ab22673a434b /toplevel
parent55b5299ec4c4812e22a5125356332e2a1aedfd56 (diff)
Suppression StronglyClassical, StronglyConstructive devient plus concretement ImpredicativeSet
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4828 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/coqtop.ml11
1 files changed, 3 insertions, 8 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index fa4a0d0ff..24e2b5d8d 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -35,10 +35,7 @@ let print_memory_stat () =
let _ = at_exit print_memory_stat
let engagement = ref None
-let set_engagement c =
- if !engagement <> None then error
- "Options strongly-constructive/strongly-classical occur more than once";
- engagement := Some c
+let set_engagement c = engagement := Some c
let engage () =
match !engagement with Some c -> Global.set_engagement c | None -> ()
@@ -154,10 +151,8 @@ let parse_args is_ide =
let rec parse = function
| [] -> ()
- | "-strongly-constructive" :: rem ->
- set_engagement Environ.StronglyConstructive; parse rem
- | "-strongly-classical" :: rem ->
- set_engagement Environ.StronglyClassical; parse rem
+ | "-impredicative-set" :: rem ->
+ set_engagement Environ.ImpredicativeSet; parse rem
| ("-I"|"-include") :: d :: rem -> set_default_include d; parse rem
| ("-I"|"-include") :: [] -> usage ()