From 97fefe1fcca363a1317e066e7f4b99b9c1e9987b Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Thu, 12 Jan 2012 16:02:20 +0100 Subject: Imported Upstream version 8.4~beta --- library/states.ml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'library/states.ml') diff --git a/library/states.ml b/library/states.ml index 679f9028..c88858f7 100644 --- a/library/states.ml +++ b/library/states.ml @@ -1,13 +1,11 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* raw_extern s (freeze())), + (fun s -> + if !Flags.load_proofs <> Flags.Force then + Util.error "Write State only works with option -force-load-proofs"; + raw_extern s (freeze())), (fun s -> unfreeze (with_magic_number_check (raw_intern (Library.get_load_paths ())) s); -- cgit v1.2.3