summaryrefslogtreecommitdiffstats
path: root/Keyword.xs
diff options
context:
space:
mode:
Diffstat (limited to 'Keyword.xs')
-rw-r--r--Keyword.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Keyword.xs b/Keyword.xs
index 6819978..c5a9f4e 100644
--- a/Keyword.xs
+++ b/Keyword.xs
@@ -118,6 +118,7 @@ void
lex_stuff(str)
SV *str
CODE:
+ PL_curcop = &PL_compiling;
lex_stuff_sv(str, 0);
SV *