C nested classes symbol table should be in global space
This commit is contained in:
parent
a6d71e6c57
commit
55bda53145
1 changed files with 3 additions and 0 deletions
|
|
@ -3515,6 +3515,9 @@ cpp_class_decl : storage_class cpptype idcolon inherit LBRACE {
|
|||
} else {
|
||||
cplus_mode = CPLUS_PUBLIC;
|
||||
}
|
||||
if (!cparse_cplusplus) {
|
||||
set_scope_to_global();
|
||||
}
|
||||
Swig_symbol_newscope();
|
||||
Swig_symbol_setscopename($3);
|
||||
Swig_inherit_base_symbols(bases);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue