aboutsummaryrefslogtreecommitdiffhomepage
path: root/translate/pptacticnew.ml
diff options
context:
space:
mode:
authorGravatar narboux <narboux@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-12 18:03:50 +0000
committerGravatar narboux <narboux@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-11-12 18:03:50 +0000
commitecf5fbd6bc5fc12166dd36c1b12ec714b86d0a63 (patch)
tree2c9927b2d22c456dd07daddff5cc56cabdfb8b2d /translate/pptacticnew.ml
parentea9f6b8f620b9f69de9d72ca603af042e4487339 (diff)
Idtac peut prendre un argument à afficher
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4863 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'translate/pptacticnew.ml')
-rw-r--r--translate/pptacticnew.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/translate/pptacticnew.ml b/translate/pptacticnew.ml
index 7b9ba49d8..a0ef088f7 100644
--- a/translate/pptacticnew.ml
+++ b/translate/pptacticnew.ml
@@ -678,7 +678,8 @@ let rec pr_tac env inherited tac =
str "first" ++ spc () ++ pr_seq_body (pr_tac env ltop) tl, llet
| TacSolve tl ->
str "solve" ++ spc () ++ pr_seq_body (pr_tac env ltop) tl, llet
- | TacId -> str "idtac", latom
+ | TacId "" -> str "idtac", latom
+ | TacId s -> str "idtac" ++ (qsnew s), latom
| TacAtom (loc,t) ->
pr_with_comments loc (hov 1 (pr_atom1 env t)), ltatom
| TacArg(Tacexp e) -> pr_tac0 env e, latom