From ebe7889ea99009eb851a2d4a1e2432cea2857276 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 28 Dec 2005 23:23:42 +0000 Subject: [PATCH] no need for , use git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyiterators.swg | 2 +- Source/Modules/emit.cxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/python/pyiterators.swg b/Lib/python/pyiterators.swg index d95bf2eeb..cae4092ba 100644 --- a/Lib/python/pyiterators.swg +++ b/Lib/python/pyiterators.swg @@ -17,7 +17,7 @@ namespace swig */ %ignore stop_iteration; %typemap(throws) stop_iteration { - (void)$exception; + (void)$1; SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void()); SWIG_fail; } diff --git a/Source/Modules/emit.cxx b/Source/Modules/emit.cxx index 13c0214e2..c65c4d657 100644 --- a/Source/Modules/emit.cxx +++ b/Source/Modules/emit.cxx @@ -440,7 +440,6 @@ void emit_action(Node *n, Wrapper *f) { } else { Printf(eaction,"catch(%s) {", SwigType_str(et, "&_e")); } - Replaceall(em,"$exception","_e"); Printv(eaction,em,"\n",NIL); Printf(eaction,"}\n"); } else {