• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revision472a1c244e4e1c00820c005376547334274de35a (tree)
Zeit2014-07-15 08:34:34
AutorYukihiro "Matz" Matsumoto <matz@ruby...>
CommiterYukihiro "Matz" Matsumoto

Log Message

backtrace supression condition was wrong; fix #2472

Ändern Zusammenfassung

Diff

--- a/src/backtrace.c
+++ b/src/backtrace.c
@@ -147,7 +147,7 @@ exc_output_backtrace(mrb_state *mrb, struct RObject *exc, output_stream_func fun
147147 void
148148 mrb_print_backtrace(mrb_state *mrb)
149149 {
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)) {
151151 return;
152152 }
153153 exc_output_backtrace(mrb, mrb->exc, print_backtrace_i, (void*)stderr);