From 285aeff3669ddf29c67b2ea2daaa3d960fb7901a Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Feb 2006 22:46:46 +0000 Subject: [PATCH] readd removed \! git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/allowexcept.i | 2 +- SWIG/Source/Modules/lang.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Examples/test-suite/allowexcept.i b/SWIG/Examples/test-suite/allowexcept.i index 8c91db1ad..699432d6d 100644 --- a/SWIG/Examples/test-suite/allowexcept.i +++ b/SWIG/Examples/test-suite/allowexcept.i @@ -19,7 +19,7 @@ private: $action */ } -%feature("allowexcept"); +%allowexception; %inline %{ XYZ global_variable; diff --git a/SWIG/Source/Modules/lang.cxx b/SWIG/Source/Modules/lang.cxx index 0a391ee60..704565a67 100644 --- a/SWIG/Source/Modules/lang.cxx +++ b/SWIG/Source/Modules/lang.cxx @@ -1209,7 +1209,7 @@ Language::variableHandler(Node *n) { only variables. */ if (!(Extend | SmartPointer)) { - if (GetFlag(n,"feature:allowexcept")) { + if (!GetFlag(n,"feature:allowexcept")) { UnsetFlag(n,"feature:except"); } if (Getattr(n,"feature:exceptvar")) {