summaryrefslogtreecommitdiff
path: root/src/pretty_print_coq.ml
diff options
context:
space:
mode:
authorBrian Campbell2020-06-14 22:27:30 +0100
committerBrian Campbell2020-06-14 23:18:34 +0100
commite22bb9841a5186d0b52b8fa9ad8cf2e46fa51d76 (patch)
tree6741f4b4b56d2623623635b512dd0ee6f0bb993e /src/pretty_print_coq.ml
parentb6fb5a567c1d3d0bbe1f30e875d2cdcaba9514ad (diff)
Coq: tidy up scope in library
Helps with Coq 8.11. Also fix BBVDIR default in test script.
Diffstat (limited to 'src/pretty_print_coq.ml')
-rw-r--r--src/pretty_print_coq.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pretty_print_coq.ml b/src/pretty_print_coq.ml
index 17dba718..d0d13907 100644
--- a/src/pretty_print_coq.ml
+++ b/src/pretty_print_coq.ml
@@ -3311,6 +3311,10 @@ try
(fun lib -> separate space [string "Require Import";string lib] ^^ dot) types_modules;hardline;
string "Import ListNotations.";
hardline;
+ string "Open Scope string."; hardline;
+ string "Open Scope bool."; hardline;
+ string "Open Scope Z."; hardline;
+ hardline;
separate empty (List.map doc_def typdefs); hardline;
hardline;
separate empty (List.map doc_def statedefs); hardline;