diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-01-03 22:17:48 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-01-03 22:17:48 +0000 |
commit | 7c197c94dc644853d0512a443fd0e99a5f287ad0 (patch) | |
tree | 1ba6b14de8f6cd9ad2c4814d1c35f491e4b74cad /scope.c | |
parent | 0e4c4423f4f1412e4eeb73b8af7f846ea7b0c4bc (diff) | |
download | perl-7c197c94dc644853d0512a443fd0e99a5f287ad0.tar.gz |
handle cloning of parsers on the save stack
p4raw-id: //depot/perl@29678
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1023,6 +1023,10 @@ Perl_leave_scope(pTHX_ I32 base) Copy(state, &PL_reg_state, 1, struct re_save_state); } break; + case SAVEt_PARSER: + ptr = SSPOPPTR; + parser_free((yy_parser *) ptr); + break; default: Perl_croak(aTHX_ "panic: leave_scope inconsistency"); } |