871 |
|
|
872 |
when 'c-call' |
when 'c-call' |
873 |
frame_set_pos(file, line) |
frame_set_pos(file, line) |
874 |
|
if id == :require and klass == Kernel |
875 |
|
@frames.unshift [binding, file, line, id] |
876 |
|
else |
877 |
|
frame_set_pos(file, line) |
878 |
|
end |
879 |
|
|
880 |
|
when 'c-return' |
881 |
|
if id == :require and klass == Kernel |
882 |
|
if @frames.size == @finish_pos |
883 |
|
@stop_next = 1 |
884 |
|
@finish_pos = 0 |
885 |
|
end |
886 |
|
@frames.shift |
887 |
|
end |
888 |
|
|
889 |
when 'class' |
when 'class' |
890 |
@frames.unshift [binding, file, line, id] |
@frames.unshift [binding, file, line, id] |