summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-14 14:51:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-14 14:51:08 +0000
commit5aa388c23c12747fd63827e93200fa0d90a7733c (patch)
tree148c98118f0d57484635d783a0cbd9528d86ca4b /eval_error.c
parent433fbebfbc49c330b66089f6d191558b967a84f5 (diff)
* eval_error.c (error_print): append a newline to rest lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval_error.c b/eval_error.c
index 94fb18029d..8c6a0f9455 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -171,6 +171,7 @@ error_print(void)
}
if (tail) {
warn_print2(tail, elen - len - 1);
+ if (einfo[elen-1] != '\n') warn_print2("\n", 1);
}
}
}