aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-06-30 15:57:33 +0200
committerEmilio Jesus Gallego Arias2020-06-30 15:57:33 +0200
commit9c9330f2e3a5ff205973881003c5734034b7d0d5 (patch)
treeba410bd04083fe3f8bf6a0f70fb4a1fa66663115 /printing
parentbffe3e8dcbb6019b30d32081f0b56eba30bf8be7 (diff)
parent6bb0c6df0dd331b8acb78a720eaf076aea5fce47 (diff)
Merge PR #12599: Remove the Refiner module
Reviewed-by: ejgallego
Diffstat (limited to 'printing')
-rw-r--r--printing/printer.ml3
-rw-r--r--printing/proof_diffs.ml4
2 files changed, 3 insertions, 4 deletions
diff --git a/printing/printer.ml b/printing/printer.ml
index b0a4c8b738..96213b3b8b 100644
--- a/printing/printer.ml
+++ b/printing/printer.ml
@@ -16,7 +16,6 @@ open Constr
open Context
open Environ
open Evd
-open Refiner
open Constrextern
open Ppconstr
open Declarations
@@ -453,7 +452,7 @@ let pr_transparent_state ts =
*)
let pr_goal ?(diffs=false) ?og_s g_s =
let g = sig_it g_s in
- let sigma = project g_s in
+ let sigma = Tacmach.project g_s in
let env = Goal.V82.env sigma g in
let concl = Goal.V82.concl sigma g in
let goal =
diff --git a/printing/proof_diffs.ml b/printing/proof_diffs.ml
index c78cc96a83..43f70dfecc 100644
--- a/printing/proof_diffs.ml
+++ b/printing/proof_diffs.ml
@@ -335,7 +335,7 @@ let unwrap g_s =
match g_s with
| Some g_s ->
let goal = Evd.sig_it g_s in
- let sigma = Refiner.project g_s in
+ let sigma = Tacmach.project g_s in
goal_info goal sigma
| None -> ([], CString.Map.empty, Pp.mt ())
@@ -545,7 +545,7 @@ let match_goals ot nt =
let get_proof_context (p : Proof.t) =
let Proof.{goals; sigma} = Proof.data p in
- sigma, Refiner.pf_env { Evd.it = List.(hd goals); sigma }
+ sigma, Tacmach.pf_env { Evd.it = List.(hd goals); sigma }
let to_constr pf =
let open CAst in