From 3aec3913d828aafea271e18ff0d62d7a59a1462b 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/SWIG@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/allowexcept.i | 2 +- Source/Modules/lang.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/test-suite/allowexcept.i b/Examples/test-suite/allowexcept.i index 8c91db1ad..699432d6d 100644 --- a/Examples/test-suite/allowexcept.i +++ b/Examples/test-suite/allowexcept.i @@ -19,7 +19,7 @@ private: $action */ } -%feature("allowexcept"); +%allowexception; %inline %{ XYZ global_variable; diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx index 0a391ee60..704565a67 100644 --- a/Source/Modules/lang.cxx +++ b/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")) {