diff options
| author | gregoire | 2002-12-12 15:42:49 +0000 |
|---|---|---|
| committer | gregoire | 2002-12-12 15:42:49 +0000 |
| commit | 667e4a7870625bc8dedb651b278cbca4f43e793d (patch) | |
| tree | cef23852d980ae4e14d51ae38e7e76489864fff8 /tactics/tacinterp.ml | |
| parent | b5676df44002aa6a347f58e455af780996ed407a (diff) | |
Ajout du vernac Proof with
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3425 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/tacinterp.ml')
| -rw-r--r-- | tactics/tacinterp.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index a09bfbd120..efc2a9b822 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -1695,7 +1695,10 @@ let interp_tacarg sign ast = (*unvarg*) (val_interp sign ast) let interp = fun ast -> tac_interp [] [] !debug ast (* Hides interpretation for pretty-print *) -let hide_interp t = abstract_tactic_expr (TacArg (Tacexp t)) (interp t) +let hide_interp t ot = + match ot with + | None -> abstract_tactic_expr (TacArg (Tacexp t)) (interp t) + | Some t' -> abstract_tactic_expr (TacArg (Tacexp t)) (tclTHEN (interp t) t') (* For bad tactic calls *) let bad_tactic_args s = |
