diff options
Diffstat (limited to 'proofs')
| -rw-r--r-- | proofs/tacinterp.ml | 4 | ||||
| -rw-r--r-- | proofs/tacinterp.mli | 2 |
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 + |
