aboutsummaryrefslogtreecommitdiff
path: root/lib/flags.ml
diff options
context:
space:
mode:
authormsozeau2009-09-22 20:23:05 +0000
committermsozeau2009-09-22 20:23:05 +0000
commit287058532aefd848df5d83ee29707359672b626f (patch)
tree47c55470a6af179ce2ae5fa677bccdb774d32fb2 /lib/flags.ml
parent5a183ead91244c881df39bb817a9dded2769bd8f (diff)
Add the option to automatically introduce variables declared before the
colon in (mutual) proofs with [Set Automatic Introduction]. Fix a minor test-suite issue in ProgramWf due to new handling of the default obligation tactic. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12351 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/flags.ml')
-rw-r--r--lib/flags.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/flags.ml b/lib/flags.ml
index 1bf393fd08..da80130283 100644
--- a/lib/flags.ml
+++ b/lib/flags.ml
@@ -55,6 +55,10 @@ let verbosely f x = without_option silent f x
let if_silent f x = if !silent then f x
let if_verbose f x = if not !silent then f x
+let auto_intros = ref false
+let make_auto_intros flag = auto_intros := flag
+let is_auto_intros () = !auto_intros
+
let hash_cons_proofs = ref true
let warn = ref true