diff options
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/coqtop.ml | 3 | ||||
| -rw-r--r-- | toplevel/lemmas.ml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml index 386567deea..1f0ccf0fcc 100644 --- a/toplevel/coqtop.ml +++ b/toplevel/coqtop.ml @@ -218,8 +218,7 @@ let parse_args arglist = | "-batch" :: rem -> set_batch_mode (); parse rem | "-boot" :: rem -> boot := true; no_load_rc (); parse rem | "-quality" :: rem -> term_quality := true; no_load_rc (); parse rem - | "-outputstate" :: s :: rem -> - Flags.load_proofs := Flags.Force; set_outputstate s; parse rem + | "-outputstate" :: s :: rem -> set_outputstate s; parse rem | "-outputstate" :: [] -> usage () | ("-noinit"|"-nois") :: rem -> load_init := false; parse rem diff --git a/toplevel/lemmas.ml b/toplevel/lemmas.ml index e1f17b5711..3779815e97 100644 --- a/toplevel/lemmas.ml +++ b/toplevel/lemmas.ml @@ -41,7 +41,7 @@ let retrieve_first_recthm = function (pi2 (Global.lookup_named id),variable_opacity id) | ConstRef cst -> let cb = Global.lookup_constant cst in - (Option.map Lazyconstr.force (body_of_constant cb), is_opaque cb) + (body_of_constant cb, is_opaque cb) | _ -> assert false let adjust_guardness_conditions const = function |
