aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/g_ltac2.ml44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/g_ltac2.ml4 b/src/g_ltac2.ml4
index 82ab53298e..cb42b393db 100644
--- a/src/g_ltac2.ml4
+++ b/src/g_ltac2.ml4
@@ -831,8 +831,8 @@ let classify_ltac2 = function
VERNAC COMMAND FUNCTIONAL EXTEND VernacDeclareTactic2Definition
| [ "Ltac2" ltac2_entry(e) ] => [ classify_ltac2 e ] -> [
- fun ~atts ~st -> let open Vernacinterp in
- Tac2entries.register_struct ?local:atts.locality e;
+ fun ~atts ~st ->
+ Tac2entries.register_struct ?local:(Attributes.only_locality atts) e;
st
]
END