This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.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
|
blame
|
history
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");