Modify following features to work as flags, so that they can be truely set and unset:
ignore git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0706c5d13a
commit
a5ab84ddc7
1 changed files with 2 additions and 2 deletions
|
|
@ -874,7 +874,7 @@ NEW LANGUAGE NOTE:END ************************************************/
|
|||
b = First(baselist);
|
||||
while (b.item) {
|
||||
String *bname = Getattr(b.item, "name");
|
||||
if ((!bname) || Getattr(b.item,"feature:ignore") || (!Getattr(b.item,"module"))) {
|
||||
if ((!bname) || GetFlag(b.item,"feature:ignore") || (!Getattr(b.item,"module"))) {
|
||||
b = Next(b);
|
||||
continue;
|
||||
}
|
||||
|
|
@ -901,7 +901,7 @@ NEW LANGUAGE NOTE:END ************************************************/
|
|||
Node *base = First(baselist);
|
||||
while (base) {
|
||||
String *bname = Getattr(base, "name");
|
||||
if ((!bname) || Getattr(base,"feature:ignore") || (!Getattr(base,"module"))) {
|
||||
if ((!bname) || GetFlag(base,"feature:ignore") || (!Getattr(base,"module"))) {
|
||||
base = Next(baselist);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue