diff --git a/Lib/ruby/ruby.swg b/Lib/ruby/ruby.swg index ef10f4921..749d46381 100644 --- a/Lib/ruby/ruby.swg +++ b/Lib/ruby/ruby.swg @@ -8,7 +8,7 @@ %runtime "common.swg" /* Exception handling in wrappers */ -#define SWIG_fail goto fail +/* #define SWIG_fail goto fail */ #ifdef SWIG_NOINCLUDE %runtime "rubydec.swg" diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index 5f6924711..77e87d216 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -873,9 +873,11 @@ public: } /* Error handling code */ + /* Printf(f->code,"fail:\n"); Printv(f->code,cleanup,NIL); Printv(f->code,"return Qnil;\n",NIL); + */ Printf(f->code,"}\n"); /* Substitute the cleanup code */