aboutsummaryrefslogtreecommitdiff
path: root/printing/printmod.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2016-09-29 16:06:43 +0200
committerEmilio Jesus Gallego Arias2017-03-21 15:47:13 +0100
commit8f8af9e4ebf1ea1ed15f765196ef5af8a77d3c27 (patch)
tree0ed33666fbd900f5b0aeff5bfd3096a837ee26e1 /printing/printmod.ml
parent2617a83e572531e26734cff8b9eb8aa09d49b850 (diff)
[pp] Prepare for serialization, remove opaque glue.
We also remove flushing operations `msg_with`, now the flushing responsibility belong to the owner of the formatter.
Diffstat (limited to 'printing/printmod.ml')
-rw-r--r--printing/printmod.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printmod.ml b/printing/printmod.ml
index ac7ff7697b..521b4ec2ae 100644
--- a/printing/printmod.ml
+++ b/printing/printmod.ml
@@ -405,11 +405,11 @@ let rec printable_body dir =
let print_expression' is_type env mp me =
States.with_state_protection
- (fun e -> eval_ppcmds (print_expression is_type env mp [] e)) me
+ (fun e -> print_expression is_type env mp [] e) me
let print_signature' is_type env mp me =
States.with_state_protection
- (fun e -> eval_ppcmds (print_signature is_type env mp [] e)) me
+ (fun e -> print_signature is_type env mp [] e) me
let unsafe_print_module env mp with_body mb =
let name = print_modpath [] mp in