diff options
| author | Pierre-Marie Pédrot | 2016-09-09 00:47:46 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-09-09 00:54:09 +0200 |
| commit | a6cd6948fa592f21b67916f423fe2adb62085492 (patch) | |
| tree | cb4783153f70f6ff3fd3aeb1cf237d0912e59eb5 | |
| parent | 7045848145c16d978456aab2edd192c54d242e69 (diff) | |
Removing the last uses of Pptactic in the lower layers.
| -rw-r--r-- | ide/richprinter.ml | 1 | ||||
| -rw-r--r-- | ide/texmacspp.ml | 4 | ||||
| -rw-r--r-- | tactics/tactics.ml | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/ide/richprinter.ml b/ide/richprinter.ml index 5f39f36eab..995cef1ac5 100644 --- a/ide/richprinter.ml +++ b/ide/richprinter.ml @@ -2,7 +2,6 @@ open Richpp module RichppConstr = Ppconstr.Richpp module RichppVernac = Ppvernac.Richpp -module RichppTactic = Pptactic.Richpp type rich_pp = Ppannotation.t Richpp.located Xml_datatype.gxml diff --git a/ide/texmacspp.ml b/ide/texmacspp.ml index 458e84835b..328ddd0cdf 100644 --- a/ide/texmacspp.ml +++ b/ide/texmacspp.ml @@ -127,10 +127,6 @@ let xmlProofMode loc name = xmlWithLoc loc "proofmode" ["name",name] [] let xmlProof loc xml = xmlWithLoc loc "proof" [] xml -let xmlRawTactic name rtac = - Element("rawtactic", ["name",name], - [PCData (Pp.string_of_ppcmds (Pptactic.pr_raw_tactic rtac))]) - let xmlSectionSubsetDescr name ssd = Element("sectionsubsetdescr",["name",name], [PCData (Proof_using.to_string ssd)]) diff --git a/tactics/tactics.ml b/tactics/tactics.ml index 85b6e8de9e..cae45f6070 100644 --- a/tactics/tactics.ml +++ b/tactics/tactics.ml @@ -871,7 +871,11 @@ let reduction_clause redexp cl = (None, bind_red_expr_occurrences occs nbcl redexp)) cl let reduce redexp cl = - let trace () = Pp.(hov 2 (Pptactic.pr_atomic_tactic (Global.env()) (TacReduce (redexp,cl)))) in + let trace () = + let open Printer in + let pr = (pr_constr, pr_lconstr, pr_evaluable_reference, pr_constr_pattern) in + Pp.(hov 2 (Pputils.pr_red_expr pr str redexp)) + in Proofview.Trace.name_tactic trace begin Proofview.Goal.enter { enter = begin fun gl -> let cl' = concrete_clause_of (fun () -> Tacmach.New.pf_ids_of_hyps gl) cl in |
