mrubyを超漢字で動作させる
Revision | 472a1c244e4e1c00820c005376547334274de35a (tree) |
---|---|
Zeit | 2014-07-15 08:34:34 |
Autor | Yukihiro "Matz" Matsumoto <matz@ruby...> |
Commiter | Yukihiro "Matz" Matsumoto |
backtrace supression condition was wrong; fix #2472
@@ -147,7 +147,7 @@ exc_output_backtrace(mrb_state *mrb, struct RObject *exc, output_stream_func fun | ||
147 | 147 | void |
148 | 148 | mrb_print_backtrace(mrb_state *mrb) |
149 | 149 | { |
150 | - if (mrb->exc || mrb_obj_is_kind_of(mrb, mrb_obj_value(mrb->exc), E_SYSSTACK_ERROR)) { | |
150 | + if (!mrb->exc || mrb_obj_is_kind_of(mrb, mrb_obj_value(mrb->exc), E_SYSSTACK_ERROR)) { | |
151 | 151 | return; |
152 | 152 | } |
153 | 153 | exc_output_backtrace(mrb, mrb->exc, print_backtrace_i, (void*)stderr); |