From c934d9e2624a29dd7db913fa766721c690e50b88 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 28 Sep 2005 21:28:17 +0000 Subject: [PATCH] macro logic fix from Robert De Vries git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7544 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/std/std_except.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/std/std_except.i b/Lib/std/std_except.i index 587bb3150..53562c835 100644 --- a/Lib/std/std_except.i +++ b/Lib/std/std_except.i @@ -27,7 +27,7 @@ } else { SWIG_fail; } %} -#elif +#else %include "exception.i" %typemap(throws) std::out_of_range %{ SWIG_exception(SWIG_IndexError, $1.what()); %}