summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-22 10:37:16 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-22 10:37:16 +0000
commitf89480d452d435e4e828b4920af70120508474bb (patch)
tree53d8de9cc3c4cb0edeb7f44d12e1300442a73e97 /toke.c
parent894356b32151f778d4d2915c6db38e5d049b115a (diff)
downloadperl-f89480d452d435e4e828b4920af70120508474bb.tar.gz
#line directives without a filename leave the file name as it was
instead of setting it to the script name (from Andrew Pimlott <andrew@pimlott.ne.mediaone.net>) p4raw-id: //depot/perl@4837
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index f2e01d61ee..e2e10f2404 100644
--- a/toke.c
+++ b/toke.c
@@ -495,8 +495,6 @@ S_incline(pTHX_ char *s)
*t = '\0';
if (t - s > 0)
CopFILE_set(PL_curcop, s);
- else
- CopFILE_set(PL_curcop, PL_origfilename);
*t = ch;
CopLINE_set(PL_curcop, atoi(n)-1);
}