diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-11 02:11:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-11 02:11:23 +0000 |
commit | 1d64a758d60d7ded97c59c753fea85d3365ca0df (patch) | |
tree | c2cd4c1f989b85684ccd2fbeed4f0241b996dbfa | |
parent | 6e7b23362bbae8d13123bf406d494975427fd06f (diff) | |
download | perl-1d64a758d60d7ded97c59c753fea85d3365ca0df.tar.gz |
Slightly more refined lock() keyword recognition (using %INC).
p4raw-id: //depot/win32/perl@226
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2607,7 +2607,7 @@ yylex() } else if (gv && !gvp && -tmp==KEY_lock /* XXX generalizable kludge */ - && !gv_fetchpv("Thread::join",FALSE,SVt_PVCV)) + && !hv_fetch(GvHVn(incgv), "Thread.pm", 9, FALSE)) { tmp = 0; /* any sub overrides "weak" keyword */ } |