This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
stop OPs leaking in eval "syntax error"
authorDave Mitchell <davem@fdisolutions.com>
Sat, 27 May 2006 00:31:33 +0000 (00:31 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 27 May 2006 00:31:33 +0000 (00:31 +0000)
commit0539ab63267d5a989c8b513c410c39b33c15aa25
tree4b261a2116ec9b899d95950017ddde2b4964f1d7
parenta8ff2fa6faa01a256e2aff8c5e61378859eb3d62
stop OPs leaking in eval "syntax error"
When bison pops states during error recovery, any states holding
an OP would leak the OP. Create an extra YY table that tells us
which states are of type opval, and when popping one of those,
free the op.

p4raw-id: //depot/perl@28315
madly.tab
perly.c
perly.tab
regen_perly.pl