aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2003-04-09 11:28:56 +0000
committerherbelin2003-04-09 11:28:56 +0000
commit1b96a8ce6b315f65b0b099e3d16e8bb9bc6ac082 (patch)
treec73c918aa4d2e2525f21c304fc24c98eb78038e4
parentaf0f51807d1e4765c97d4a39494b04268121bae3 (diff)
Ajout option -v8 à coqtopnew pour permettre le changement de comportement des implicites (passage au mode strict)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3882 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile2
-rw-r--r--toplevel/coqtop.ml6
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0d48aff515..dd0e68e4f8 100644
--- a/Makefile
+++ b/Makefile
@@ -1258,7 +1258,7 @@ newcontrib:: $(CONTRIBVO:%.vo=new%.vo) $(CONTRIBCMO)
COQTOPNEW=bin/coqtopnew.$(BEST)$(EXE)
NEWCMX=$(HIGHPARSINGNEW:.cmo=.cmx)
-NEWOPTS=-boot $(GLOB) -R newtheories Coq -R newcontrib Coq
+NEWOPTS=-boot $(GLOB) -v8 -R newtheories Coq -R newcontrib Coq
NEWCOQBARE=$(COQTOPNEW) $(NEWOPTS) -nois
NEWCOQ=$(COQTOPNEW) $(NEWOPTS) -is states/initialnew.coq
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index 99c1bed6f6..86cbe36540 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -202,7 +202,11 @@ let parse_args is_ide =
| "-v7" :: rem -> Options.v7 := true; parse rem
- | "-v8" :: rem -> Options.v7 := false; parse rem
+ | "-v8" :: rem ->
+ Options.v7 := false;
+ (* implicites stricts par défaut en v8 *)
+ Impargs.make_strict_implicit_args true;
+ parse rem
| s :: rem ->
if is_ide && Filename.check_suffix s ".v" then begin