diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-21 19:43:32 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-21 19:43:32 +0000 |
commit | bd28dd3ca083953e5682058b02b9529902e14ca9 (patch) | |
tree | bd6ab1db1cf46469d58dd73a3ab5ec078ce6c542 | |
parent | 2bd2b9e04a68ec86766c4219cf4da7f0d3168395 (diff) | |
download | perl-bd28dd3ca083953e5682058b02b9529902e14ca9.tar.gz |
fix off-by-one in change#623 that broke lexical lookups in eval''
p4raw-link: @623 on //depot/maint-5.004/perl: e811c00b2f4acecfa354c70062bc82a1157cebc4
p4raw-id: //depot/perl@1614
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2322,7 +2322,7 @@ doeval(int gimme, OP** startop) SAVEI32(PL_max_intro_pending); caller = PL_compcv; - for (i = cxstack_ix - 1; i >= 0; i--) { + for (i = cxstack_ix; i >= 0; i--) { PERL_CONTEXT *cx = &cxstack[i]; if (cx->cx_type == CXt_EVAL) break; |