summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-03-14 17:32:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-03-14 17:32:48 +0000
commitdf9a60198135b900e391b399c4576b1b17f56902 (patch)
tree7dd0620ab5d5895c40a61313b3c4028f1acec8f5 /toke.c
parent1108974dc425da181c3fc8be06ee65371f6439d6 (diff)
downloadperl-df9a60198135b900e391b399c4576b1b17f56902.tar.gz
Deprecate :unique even with threads
p4raw-id: //depot/perl@27499
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 545116f61d..4bf4a85c01 100644
--- 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");