projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1108974
)
Deprecate :unique even with threads
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 14 Mar 2006 17:32:48 +0000
(17:32 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 14 Mar 2006 17:32:48 +0000
(17:32 +0000)
p4raw-id: //depot/perl@27499
toke.c
patch
|
blob
|
history
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");