This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894356b
)
#line directives without a filename leave the file name as it was
author
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 22 Jan 2000 10:37:16 +0000
(10:37 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 22 Jan 2000 10:37:16 +0000
(10:37 +0000)
instead of setting it to the script name (from Andrew Pimlott
<andrew@pimlott.ne.mediaone.net>)
p4raw-id: //depot/perl@4837
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
f2e01d6
..
e2e10f2
100644
(file)
--- 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);
}