diff options
| author | Enrico Tassi | 2021-01-06 17:13:59 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2021-01-27 09:45:49 +0100 |
| commit | f5ec3f5cbd4bc2e0f65e1c52143b199ce7c2a5ad (patch) | |
| tree | 5b8287e69fcc7e782d2095cc0008cf5fedf47ae3 /sysinit | |
| parent | b9bac1d7ef4a4c06ebe842ffd9aac322186a65d3 (diff) | |
[coqtop] handle -print-module-uid after initialization
Diffstat (limited to 'sysinit')
| -rw-r--r-- | sysinit/coqargs.ml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sysinit/coqargs.ml b/sysinit/coqargs.ml index bb0c4882e6..19350b7e98 100644 --- a/sysinit/coqargs.ml +++ b/sysinit/coqargs.ml @@ -220,15 +220,6 @@ let get_float ~opt n = with Failure _ -> error_wrong_arg ("Error: float expected after option "^opt) -let get_native_name s = - (* We ignore even critical errors because this mode has to be super silent *) - try - Filename.(List.fold_left concat (dirname s) - [ !Nativelib.output_dir - ; Library.native_name_from_filename s - ]) - with _ -> "" - let interp_set_option opt v old = let open Goptions in let opt = String.concat " " opt in @@ -361,9 +352,6 @@ let parse_args ~usage ~init arglist : t * string list = Goptions.set_string_option_value ["Mangle"; "Names"; "Prefix"] (next ()); oval - |"-print-mod-uid" -> - let s = String.concat " " (List.map get_native_name rem) in print_endline s; exit 0 - |"-profile-ltac-cutoff" -> Flags.profile_ltac := true; Flags.profile_ltac_cutoff := get_float ~opt (next ()); |
