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:
William S Fulton 2005-09-30 23:37:41 +00:00
commit a5ab84ddc7

View file

@ -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;
}