summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-12 19:51:37 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-12 19:51:37 +0000
commit7c4baf47da775f39e368d242f76a86f4e592cb5a (patch)
tree7216c2cad1fbadcccaa61cfb4a90854e0acda2ba /parser.h
parent5486870fe7f0fd0e99bf9619d5fd857a5b972014 (diff)
downloadperl-7c4baf47da775f39e368d242f76a86f4e592cb5a.tar.gz
save old PL_curcop value in parser struct
p4raw-id: //depot/perl@31201
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 02509e49b5..affe7be143 100644
--- a/parser.h
+++ b/parser.h
@@ -96,6 +96,8 @@ typedef struct yy_parser {
I32 nexttoke;
#endif
+ COP *saved_curcop; /* the previous PL_curcop */
+
} yy_parser;