mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (backtrace): porting miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e7a8bf228
commit
c0e5d45a1e
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -6162,7 +6162,7 @@ backtrace(int lev)
|
|||
for (; frame && (n = frame->node); frame = frame->prev) {
|
||||
if (frame->prev && frame->prev->this_func) {
|
||||
if (frame->prev->node == n) {
|
||||
if (frame->prev->last_func == frame->last_func) continue;
|
||||
if (frame->prev->this_func == frame->this_func) continue;
|
||||
}
|
||||
str = error_line(frame->prev, n);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue