diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-03-09 03:16:07 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-03-09 03:16:07 +0000 |
commit | 0244c3a403af2426ac6678d042024bb183ebbfa9 (patch) | |
tree | 40a351e091ccd9a2bb3b3161bc86da1768784ce2 /op.c | |
parent | dce40276d967c484e2b36928ff656a2f5ac3647a (diff) | |
download | perl-0244c3a403af2426ac6678d042024bb183ebbfa9.tar.gz |
fix parsing of here documents in C<eval 's/.../<<FOO/e'>
p4raw-id: //depot/perl@3098
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2506,8 +2506,11 @@ pmruntime(OP *o, OP *expr, OP *repl) if (repl) { OP *curop; - if (pm->op_pmflags & PMf_EVAL) + if (pm->op_pmflags & PMf_EVAL) { curop = 0; + if (PL_curcop->cop_line < PL_multi_end) + PL_curcop->cop_line = PL_multi_end; + } #ifdef USE_THREADS else if (repl->op_type == OP_THREADSV && strchr("&`'123456789+", |