diff options
author | Matej Kosik <m4tej.kosik@gmail.com> | 2016-08-25 14:31:30 +0200 |
---|---|---|
committer | Matej Kosik <m4tej.kosik@gmail.com> | 2016-08-25 14:31:30 +0200 |
commit | a2b0c48d8b531ae1b193eed4dec1afeaa67fbece (patch) | |
tree | af83d8a0fb79c51e13c44bc60be9cde810f87152 /interp | |
parent | 1297523bffdc3a9fe3e447acc6837be835e86d06 (diff) | |
parent | 7244637f251272c0d0155d49fc7c1af255b7cef8 (diff) |
Merge remote-tracking branch 'v8.6' into trunk
Diffstat (limited to 'interp')
-rw-r--r-- | interp/syntax_def.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/syntax_def.ml b/interp/syntax_def.ml index f96d8acc1..d2dcbd92a 100644 --- a/interp/syntax_def.ml +++ b/interp/syntax_def.ml @@ -43,7 +43,7 @@ let is_alias_of_already_visible_name sp = function false let open_syntax_constant i ((sp,kn),(_,pat,onlyparse)) = - if not (is_alias_of_already_visible_name sp pat) then begin + if not (Int.equal i 1 && is_alias_of_already_visible_name sp pat) then begin Nametab.push_syndef (Nametab.Exactly i) sp kn; match onlyparse with | None -> |