From 1b96a8ce6b315f65b0b099e3d16e8bb9bc6ac082 Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 9 Apr 2003 11:28:56 +0000 Subject: 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 --- Makefile | 2 +- toplevel/coqtop.ml | 6 +++++- 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 -- cgit v1.2.3