error fix in lang.cxx and more comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d3803cbe4c
commit
64c0b01733
2 changed files with 10 additions and 8 deletions
|
|
@ -307,12 +307,11 @@ static void add_symbols(Node *n) {
|
|||
Setattr(n,"access", "protected");
|
||||
only_csymbol = !need_protected(n, dirprot_mode);
|
||||
} else {
|
||||
/* private are needed only when they are pure virtuals */
|
||||
Setattr(n,"access", "private");
|
||||
if ((Cmp(Getattr(n,"storage"),"virtual") == 0)
|
||||
&& (Cmp(Getattr(n,"value"),"0") == 0)) {
|
||||
only_csymbol = !need_protected(n, dirprot_mode);
|
||||
} else {
|
||||
Setattr(n,"feature:ignore","1");
|
||||
}
|
||||
}
|
||||
if (only_csymbol) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue