Deprecate :unique even with threads
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 14 Mar 2006 17:32:48 +0000 (17:32 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 14 Mar 2006 17:32:48 +0000 (17:32 +0000)
p4raw-id: //depot/perl@27499

toke.c

diff --git a/toke.c b/toke.c
index 545116f61de89dba29fc736495c752748894ae21..4bf4a85c011b69447965b41d48736275c9d27683 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -4027,8 +4027,8 @@ Perl_yylex(pTHX)
                            GvUNIQUE_on(cGVOPx_gv(yylval.opval));
 #else
                            /* skip to avoid loading attributes.pm */
-                           deprecate(":unique");
 #endif
+                           deprecate(":unique");
                        }
                        else
                            Perl_croak(aTHX_ "The 'unique' attribute may only be applied to 'our' variables");