aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorHugo Herbelin2018-10-03 11:10:51 +0200
committerHugo Herbelin2018-10-03 11:10:51 +0200
commit33328635560b9cb963af0805c43f170b3898caac (patch)
tree6df28e0a87746b597335169153830d7bddd06143 /printing
parentbfd62ca575e376334575ccbaa162c6de711589c7 (diff)
parenta5b56ced42e3dd9cdce124e2e60333796c935f42 (diff)
Merge PR #8456: Revert #6651: Use r.(p) syntax to print primitive projections
Diffstat (limited to 'printing')
-rw-r--r--printing/ppconstr.ml3
-rw-r--r--printing/proof_diffs.ml2
2 files changed, 0 insertions, 5 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml
index 418e13759b..90d2b7abaf 100644
--- a/printing/ppconstr.ml
+++ b/printing/ppconstr.ml
@@ -675,9 +675,6 @@ let tag_var = tag Tag.variable
return (pr_prim_token p, prec_of_prim_token p)
| CDelimiters (sc,a) ->
return (pr_delimiters sc (pr mt (ldelim,E) a), ldelim)
- | CProj (p,c) ->
- let p = pr_proj (pr mt) pr_app c (CAst.make (CRef (p,None))) [] in
- return (p, lproj)
in
let loc = constr_loc a in
pr_with_comments ?loc
diff --git a/printing/proof_diffs.ml b/printing/proof_diffs.ml
index 5bb1053645..0b630b39b5 100644
--- a/printing/proof_diffs.ml
+++ b/printing/proof_diffs.ml
@@ -523,8 +523,6 @@ let match_goals ot nt =
| CPrim p, CPrim p2 -> ()
| CDelimiters (key,e), CDelimiters (key2,e2) ->
constr_expr ogname e e2
- | CProj (pr,c), CProj (pr2,c2) ->
- constr_expr ogname c c2
| _, _ -> raise (Diff_Failure "Unable to match goals betwen old and new proof states (5)")
end
in