aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorcorbinea2007-01-31 13:37:42 +0000
committercorbinea2007-01-31 13:37:42 +0000
commit9dd2df4c16078d41df1cf6233c9cf84fffbeee52 (patch)
tree30b7b1baa3abaa49d255c8951c63f86a81579208 /tactics
parente08f20e13cdd2ba23ea7c1e0e1824e585df6e501 (diff)
redirection of errors in coqide + dynamic warning printer (needed for tm_egg)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9566 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/decl_proof_instr.ml13
1 files changed, 2 insertions, 11 deletions
diff --git a/tactics/decl_proof_instr.ml b/tactics/decl_proof_instr.ml
index 8a22e8b8d9..e4fa9cc9ef 100644
--- a/tactics/decl_proof_instr.ml
+++ b/tactics/decl_proof_instr.ml
@@ -290,7 +290,7 @@ let justification tac gls=
error "insufficient justification"
else
begin
- msgnl (str "Warning: insufficient justification");
+ msg_warning (str "insufficient justification");
daimon_tac gls
end) gls
@@ -424,8 +424,6 @@ let thus_tac c ctyp submetas gls =
error "I could not relate this statement to the thesis" in
let nflist = nf_list evd list in
let nfgoal = nf_meta evd info.pm_partial_goal in
-(* let _ = msgnl (str "Partial goal : " ++
- print_constr_env (pf_env gls) nfgoal) in *)
let rgl = ref None in
let refiner = max_linear_context rgl nfgoal in
match !rgl with
@@ -1263,13 +1261,6 @@ match id in t return p with
end*)
-
-
-
-
-
-
-
let rec execute_cases at_top fix_name per_info kont0 stacks tree gls =
match tree with
Pop t ->
@@ -1321,7 +1312,7 @@ let rec execute_cases at_top fix_name per_info kont0 stacks tree gls =
push_head (constr i) is_rec ids br_stacks in
execute_cases false fix_name per_info kont0 p_stacks tree
| None ->
- msgnl (str "Warning : missing case");
+ msg_warning (str "missing case");
kont0 (mkMeta 1)
in
let id = pf_get_new_id patvar_base gls in