Skip to content

Commit

Permalink
CN: config mucore pp budget with -p and -d
Browse files Browse the repository at this point in the history
This means that the -p trace can be set to include mucore syntax
just by setting -p high, rather than having to additioally set -d
high, which has additional implications.
  • Loading branch information
talsewell committed Jul 28, 2023
1 parent ad8c139 commit bc59c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cn/pp_mucore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ module WithLocations = Make(struct
end)


let pp_budget () = Some ((! Cerb_debug.debug_level))
let pp_budget () = Some ((! Cerb_debug.debug_level) + (! Pp.print_level))
let pp_pexpr_w b e = Basic.pp_pexpr b e
let pp_pexpr e = pp_pexpr_w (pp_budget ()) e
let pp_expr_w b e = Basic.pp_expr b e
Expand Down

0 comments on commit bc59c61

Please sign in to comment.