From af0ce2cc07f0dc903d0abb4518f2b23ff5299034 Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 24 Mar 2004 18:14:18 +0000 Subject: Utilisation du printer approprie a la version de syntaxe git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5551 85f007b7-540e-0410-9357-904b9bb8a0f7 --- contrib/xml/proofTree2Xml.ml4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/xml/proofTree2Xml.ml4 b/contrib/xml/proofTree2Xml.ml4 index 4a568da36f..6016937d07 100644 --- a/contrib/xml/proofTree2Xml.ml4 +++ b/contrib/xml/proofTree2Xml.ml4 @@ -141,7 +141,8 @@ Pp.ppnl (Pp.(++) (Pp.str aux flat_proof old_hyps | _ -> (****** la tactique employee *) - let tac = std_ppcmds_to_string (Pptactic.pr_tactic tactic_expr) in + let prtac = if !Options.v7 then Pptactic.pr_tactic else Pptacticnew.pr_tactic (Global.env()) in + let tac = std_ppcmds_to_string (prtac tactic_expr) in let tacname= first_word tac in let of_attribute = ("name",tacname)::("script",tac)::of_attribute in -- cgit v1.2.3