aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-10-30 18:11:26 +0100
committerPierre-Marie Pédrot2017-10-30 18:11:26 +0100
commit2f95db622428cf58968e8d13f2230fe51c31e97f (patch)
tree2b3666861dba20aaba7b2f6ce9bd593ae4acb3f1 /src
parent2890c90d0d5900db4c47398e1f809f3c759e07e0 (diff)
Put notations in level 5 by default.
Diffstat (limited to 'src')
-rw-r--r--src/tac2entries.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tac2entries.ml b/src/tac2entries.ml
index 3ac3d14ef3..cefb4b13b8 100644
--- a/src/tac2entries.ml
+++ b/src/tac2entries.ml
@@ -674,6 +674,7 @@ let register_notation ?(local = false) tkn lev body = match tkn, lev with
let ids = List.fold_left fold Id.Set.empty entries in
(** Globalize so that names are absolute *)
let body = Tac2intern.globalize ids body in
+ let lev = match lev with Some _ -> lev | None -> Some 5 in
let ext = {
synext_tok = tkn;
synext_exp = body;