summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorLarry Wall <larry@wall.org>1998-09-05 23:38:29 +0000
committerLarry Wall <larry@wall.org>1998-09-05 23:38:29 +0000
commit63eb823a4363c9bf0207de13bc5cc0828f38a135 (patch)
tree834a0970d5ee6fcf3b16ebb6820b765ef558f7e4 /pp_ctl.c
parentdfe13c55d349c8cc782995becdedd62551082672 (diff)
downloadperl-63eb823a4363c9bf0207de13bc5cc0828f38a135.tar.gz
Implicit require during compile reset line numbering
p4raw-id: //depot/perl@1778
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index a886bef599..da0f7a03c2 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2702,6 +2702,7 @@ PP(pp_require)
PUSHBLOCK(cx, CXt_EVAL, SP);
PUSHEVAL(cx, name, PL_compiling.cop_filegv);
+ SAVEI16(PL_compiling.cop_line);
PL_compiling.cop_line = 0;
PUTBACK;