diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-03-30 11:30:53 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-03-30 11:30:53 +0200 |
commit | aeec29a177e8f1c89996c0449e4cd81ca3ca4377 (patch) | |
tree | cc39f942a75fd621633b1ac0999bbe4b3918fcfd /toplevel/metasyntax.ml | |
parent | 224d3b0e8be9b6af8194389141c9508504cf887c (diff) | |
parent | 41e4725805588b3fffdfdc0cd5ee6859de1612b5 (diff) |
Merge branch 'v8.5' into trunk
Diffstat (limited to 'toplevel/metasyntax.ml')
-rw-r--r-- | toplevel/metasyntax.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml index 0b0fd4ef1..75e836922 100644 --- a/toplevel/metasyntax.ml +++ b/toplevel/metasyntax.ml @@ -1120,7 +1120,7 @@ let open_notation i (_, nobj) = let scope = nobj.notobj_scope in let (ntn, df) = nobj.notobj_notation in let pat = nobj.notobj_interp in - if Int.equal i 1 then begin + if Int.equal i 1 && not (Notation.exists_notation_in_scope scope ntn pat) then begin (* Declare the interpretation *) Notation.declare_notation_interpretation ntn scope pat df; (* Declare the uninterpretation *) |