From 1978d6e7e51d7d2df38a33e03c11ec72a5884324 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sat, 28 Jan 2006 05:03:48 +0000 Subject: [PATCH] fix exception, use SWIG_fail git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/tcl/exception.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Lib/tcl/exception.i b/SWIG/Lib/tcl/exception.i index 4d22797cc..dcccfed04 100644 --- a/SWIG/Lib/tcl/exception.i +++ b/SWIG/Lib/tcl/exception.i @@ -2,5 +2,5 @@ %insert("runtime") { - %define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;)) + %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail;)) }