aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
authorfilliatr1999-12-07 14:56:36 +0000
committerfilliatr1999-12-07 14:56:36 +0000
commitf2da732ffd5db2b93a2c8120c668f8b2f6068d3b (patch)
tree6cf46158c757cb654c241728eed3ea03bd04d0d0 /proofs
parent59263ca55924e2f43097ae2296f541b153981bf8 (diff)
debuggage inductifs (suite) / compilation Dhyp et Auto (mais pas linkes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@220 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs')
-rw-r--r--proofs/tacinterp.ml4
-rw-r--r--proofs/tacinterp.mli2
2 files changed, 6 insertions, 0 deletions
diff --git a/proofs/tacinterp.ml b/proofs/tacinterp.ml
index 3413b2a614..9e6f3006ea 100644
--- a/proofs/tacinterp.ml
+++ b/proofs/tacinterp.ml
@@ -154,3 +154,7 @@ let vernac_interp_atomic =
| _ -> assert false)
in
fun opn args -> gentac ((Identifier opn)::args)
+
+let bad_tactic_args s =
+ anomalylabstrm s
+ [< 'sTR"Tactic "; 'sTR s; 'sTR" called with bad arguments" >]
diff --git a/proofs/tacinterp.mli b/proofs/tacinterp.mli
index aa71f411dc..3e913f808a 100644
--- a/proofs/tacinterp.mli
+++ b/proofs/tacinterp.mli
@@ -24,3 +24,5 @@ val vernac_interp_atomic : identifier -> tactic_arg list -> tactic
val overwriting_tacinterp_add : string * (tactic_arg list -> tactic) -> unit
val is_just_undef_macro : Coqast.t -> string option
+val bad_tactic_args : string -> 'a
+