summaryrefslogtreecommitdiff
path: root/perly.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-12-10 18:50:05 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-12-10 18:50:05 +0000
commit2af555bf3f2b3ca8e114df3f5f680d40bd24d6bf (patch)
treeab3bfe43c56cfe0d9f676a1fb13e2614325893ee /perly.h
parentd5c6462ec54f07680e7532435b71727ae3075024 (diff)
downloadperl-2af555bf3f2b3ca8e114df3f5f680d40bd24d6bf.tar.gz
#28315 could crash when freeing ops with different pads
Add hook to parser to record current PL_comppad, then use this when popping ops off the parser stack after parser error p4raw-id: //depot/perl@29501
Diffstat (limited to 'perly.h')
-rw-r--r--perly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perly.h b/perly.h
index 73dc4b842c..a35ca82232 100644
--- a/perly.h
+++ b/perly.h
@@ -192,6 +192,7 @@ typedef union YYSTYPE
char *pval;
OP *opval;
GV *gvval;
+ AV* padval;
#ifdef PERL_IN_MADLY_C
TOKEN* p_tkval;
TOKEN* i_tkval;