mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
433fbebfbc
commit
5aa388c23c
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ error_print(void)
|
|||
}
|
||||
if (tail) {
|
||||
warn_print2(tail, elen - len - 1);
|
||||
if (einfo[elen-1] != '\n') warn_print2("\n", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue