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:
parent
ef8a541de4
commit
ad5fae2f90
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue