Fix forward class declaration in a class when used as a base

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-01-17 07:06:22 +00:00
commit 459e083b3d
4 changed files with 15 additions and 1 deletions

View file

@ -1913,7 +1913,7 @@ private:
}
String *type = Getattr(ni, "nodeType");
if (Strcmp(type, "constructor") == 0 || Strcmp(type, "destructor") == 0 || Strcmp(type, "enum") == 0 || Strcmp(type, "using") == 0) {
if (Strcmp(type, "constructor") == 0 || Strcmp(type, "destructor") == 0 || Strcmp(type, "enum") == 0 || Strcmp(type, "using") == 0 || Strcmp(type, "classforward") == 0) {
continue;
}
String *storage = Getattr(ni, "storage");