summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-20 15:18:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-20 15:18:35 +0000
commitb16647f8f8bdaf46aed98dc22afdf9329840f19a (patch)
tree2b03fb774f420e705cd05aaf2f1e7295bc5ce30d /eval.c
parent67b18af3135ae6805ea17952a6f872bb6c35fd18 (diff)
downloadruby-b16647f8f8bdaf46aed98dc22afdf9329840f19a.tar.gz
ruby-b16647f8f8bdaf46aed98dc22afdf9329840f19a.tar.xz
ruby-b16647f8f8bdaf46aed98dc22afdf9329840f19a.zip
* string.c (rb_str_splice): should place index wrapping after
possible modification. [ruby-dev:24940] * eval.c (error_print): nicer traceback at interrupt. [ruby-core:03774] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 55ab01e4b..e2651b5ca 100644
--- a/eval.c
+++ b/eval.c
@@ -1148,6 +1148,7 @@ error_print()
if (elen == 0) {
warn_print(": ");
warn_print2(RSTRING(epath)->ptr, RSTRING(epath)->len);
+ warn_print("\n");
}
else {
char *tail = 0;