projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
43aed9e
)
diagnostics: $/ gotcha
Andreas Koenig [Tue, 15 Apr 1997 18:14:01 +0000 (20:14 +0200)]
diagnostics does not localize $\ when it comes to printing.
p5p-msgid:
199704151814
.UAA03404@anna.in-berlin.de
lib/diagnostics.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/diagnostics.pm
b/lib/diagnostics.pm
index
a858a64
..
10016f3
100644
(file)
--- a/
lib/diagnostics.pm
+++ b/
lib/diagnostics.pm
@@
-451,6
+451,7
@@
sub death_trap {
sub splainthis {
local $_ = shift;
+ local $\;
### &finish_compilation unless %msg;
s/\.?\n+$//;
my $orig = $_;