Modify following features to work as flags, so that they can be truely set and unset: notabstract

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-10-04 20:20:41 +00:00
commit ad5fae2f90

View file

@ -540,7 +540,7 @@ public:
if (!Getattr(n,"abstract") && is_abstract_inherit(n)) {
if (((Getattr(n,"allocate:public_constructor") || (!GetFlag(n,"feature:nodefault") && !Getattr(n,"allocate:has_constructor"))))) {
if (!Getattr(n,"feature:notabstract")) {
if (!GetFlag(n,"feature:notabstract")) {
Node *na = Getattr(n,"abstract:firstnode");
if (na) {
Swig_warning(WARN_TYPE_ABSTRACT, Getfile(n), Getline(n),