aboutsummaryrefslogtreecommitdiff
path: root/printing/ppconstr.ml
diff options
context:
space:
mode:
authorMaxime Dénès2018-09-11 10:23:02 +0200
committerMaxime Dénès2018-10-02 16:33:58 +0200
commitba63f39be8e26e04e94d1db7fcc534ad5f732871 (patch)
treee2ba13e46bed7fd6377c39d6e67a3baa140e177a /printing/ppconstr.ml
parent7803262696980e6f2cb1fd4397b91f1098712647 (diff)
Revert #6651: Use r.(p) syntax to print primitive projections
Fixes #6764: Printing Notation regressed compared to 8.7
Diffstat (limited to 'printing/ppconstr.ml')
-rw-r--r--printing/ppconstr.ml3
1 files changed, 0 insertions, 3 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