aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorAbhishek Anand (optiplex7010@home)2020-02-20 19:52:39 -0800
committerHugo Herbelin2020-02-23 18:05:00 +0100
commit38c47ac0626fed51d17bc7513d7dbbd63053016e (patch)
tree995ead018d1c30343b925ea45a8ffa3bb5124845 /interp
parent0dc4b008c753fa4e20ea95630edea9e3e32c68c0 (diff)
added the new option
Diffstat (limited to 'interp')
-rw-r--r--interp/constrextern.ml4
-rw-r--r--interp/constrextern.mli1
2 files changed, 5 insertions, 0 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index 38dc10a9b3..a5e7b89ded 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -57,6 +57,10 @@ let print_implicits_defensive = ref true
(* This forces printing of coercions *)
let print_coercions = ref false
+(* This forces printing of parentheses even when
+ it is implied by associativity/precedence *)
+let print_parens = ref false
+
(* This forces printing universe names of Type{.} *)
let print_universes = Detyping.print_universes
diff --git a/interp/constrextern.mli b/interp/constrextern.mli
index fa263cbeb7..2691d27f69 100644
--- a/interp/constrextern.mli
+++ b/interp/constrextern.mli
@@ -53,6 +53,7 @@ val print_implicits_defensive : bool ref
val print_arguments : bool ref
val print_evar_arguments : bool ref
val print_coercions : bool ref
+val print_parens : bool ref
val print_universes : bool ref
val print_no_symbol : bool ref
val print_projections : bool ref