macro logic fix from Robert De Vries

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-09-28 21:28:17 +00:00
commit 01701253f1

View file

@ -27,7 +27,7 @@
} else {
SWIG_fail;
} %}
#elif
#else
%include "exception.i"
%typemap(throws) std::out_of_range %{
SWIG_exception(SWIG_IndexError, $1.what()); %}