Deprecate :unique even with threads
Rafael Garcia-Suarez [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 545116f..4bf4a85 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");