diff options
Diffstat (limited to 'translate')
| -rw-r--r-- | translate/pptacticnew.ml | 3 | ||||
| -rw-r--r-- | translate/ppvernacnew.ml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/translate/pptacticnew.ml b/translate/pptacticnew.ml index 7b9ba49d8b..a0ef088f76 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 diff --git a/translate/ppvernacnew.ml b/translate/ppvernacnew.ml index 2a8cc3c9b9..c7602c2b0f 100644 --- a/translate/ppvernacnew.ml +++ b/translate/ppvernacnew.ml @@ -1040,7 +1040,7 @@ let rec pr_vernac = function | VernacExtend (s,c) -> pr_extend s c | VernacV7only _ -> mt() | VernacV8only com -> pr_vernac com - | VernacProof Tacexpr.TacId -> str "Proof" + | VernacProof Tacexpr.TacId _ -> str "Proof" | VernacProof te -> str "Proof with" ++ spc() ++ pr_raw_tactic te and pr_extend s cl = |
