From 2edd93eec8e9bd83da2bbb77a904bb290ee7adf3 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Thu, 4 Feb 2021 12:25:17 +0100 Subject: Remove deprecated -inputstate command line argument Deprecated since 6dd9e003c289a79b0656e7c6f2cc59935997370c (2014) --- toplevel/coqtop.ml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'toplevel') diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml index caf86ef870..16028be910 100644 --- a/toplevel/coqtop.ml +++ b/toplevel/coqtop.ml @@ -34,14 +34,6 @@ let print_header () = flush_all () -(******************************************************************************) -(* Input/Output State *) -(******************************************************************************) -let inputstate opts = - Option.iter (fun istate_file -> - let fname = Loadpath.locate_file (CUnix.make_suffix istate_file ".coq") in - Vernacstate.System.load fname) opts.inputstate - (******************************************************************************) (* Fatal Errors *) (******************************************************************************) @@ -70,8 +62,6 @@ let init_toplevel { parse_extra; init_extra; usage; initial_args } = let opts, customopts = Coqinit.parse_arguments ~parse_extra ~usage ~initial_args () in Stm.init_process (snd customopts); let injections = Coqinit.init_runtime opts in - (* Allow the user to load an arbitrary state here *) - inputstate opts.pre; (* This state will be shared by all the documents *) Stm.init_core (); let customstate = init_extra ~opts customopts injections in -- cgit v1.2.3