1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval_error.c (error_print): removed an extra argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-06 18:25:11 +00:00
parent b07df38265
commit 5414f008d7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 7 03:25:06 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval_error.c (error_print): removed an extra argument.
Fri Aug 7 03:22:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_exc_raise, rb_exc_fatal): nil is used to reraise.

View file

@ -90,7 +90,7 @@ error_print(void)
if (!file)
warn_printf("%d", line);
else if (!line)
warn_printf("%s", file, line);
warn_printf("%s", file);
else
warn_printf("%s:%d", file, line);
}