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@7573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0fe672fa36
commit
6c82472404
1 changed files with 2 additions and 2 deletions
|
|
@ -874,7 +874,7 @@ NEW LANGUAGE NOTE:END ************************************************/
|
||||||
b = First(baselist);
|
b = First(baselist);
|
||||||
while (b.item) {
|
while (b.item) {
|
||||||
String *bname = Getattr(b.item, "name");
|
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);
|
b = Next(b);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
@ -901,7 +901,7 @@ NEW LANGUAGE NOTE:END ************************************************/
|
||||||
Node *base = First(baselist);
|
Node *base = First(baselist);
|
||||||
while (base) {
|
while (base) {
|
||||||
String *bname = Getattr(base, "name");
|
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);
|
base = Next(baselist);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue