projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Slightly more refined lock() keyword recognition (using %INC).
[p5sagit/p5-mst-13.2.git]
/
toke.c
diff --git
a/toke.c
b/toke.c
index
07a1656
..
7a37b7d
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-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 */
}