aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorcoqbot-app[bot]2021-03-10 13:53:55 +0000
committerGitHub2021-03-10 13:53:55 +0000
commit317db327c21ac78bd921020118b19afaf1c02350 (patch)
tree27d7a9b94f39d92a88796bd532c59317af942dc6 /vernac
parente16a73156d92a6510e34e54a829f43f294820646 (diff)
parentb6fb8c0f87652463c3269f97c8d0ad4f33e89617 (diff)
Merge PR #13840: [notation] option to fine tune printing of literals
Reviewed-by: SkySkimmer Ack-by: jfehrle
Diffstat (limited to 'vernac')
-rw-r--r--vernac/vernacentries.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml
index 38ca836b32..e8d84a67a3 100644
--- a/vernac/vernacentries.ml
+++ b/vernac/vernacentries.ml
@@ -1568,6 +1568,13 @@ let () =
let () =
declare_bool_option
{ optdepr = false;
+ optkey = ["Printing";"Raw";"Literals"];
+ optread = (fun () -> !Constrextern.print_raw_literal);
+ optwrite = (fun b -> Constrextern.print_raw_literal := b) }
+
+let () =
+ declare_bool_option
+ { optdepr = false;
optkey = ["Printing";"All"];
optread = (fun () -> !Flags.raw_print);
optwrite = (fun b -> Flags.raw_print := b) }