Merge branch 'wkalinin-duplicate-unions'
* wkalinin-duplicate-unions: Add testcase for nested C struct name conflict Nested structures in "C" mode symbol table fix
This commit is contained in:
commit
3baf6e9f97
4 changed files with 71 additions and 1 deletions
|
|
@ -3862,6 +3862,7 @@ cpp_class_decl : storage_class cpptype idcolon inherit LBRACE {
|
|||
while (Getattr(outer, "nested:outer"))
|
||||
outer = Getattr(outer, "nested:outer");
|
||||
appendSibling(outer, $$);
|
||||
Swig_symbol_setscope(cscope); /* declaration goes in the parent scope */
|
||||
add_symbols($9);
|
||||
set_scope_to_global();
|
||||
Delete(Namespaceprefix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue