diff options
author | Vladimir Kalinin <vkalinin@opendesign.com> | 2018-08-14 21:25:35 +0300 |
---|---|---|
committer | Vladimir Kalinin <vkalinin@opendesign.com> | 2018-08-14 21:25:35 +0300 |
commit | 5a22bcf0070a08e22a38055ee76cca5bfe919dce (patch) | |
tree | 46777dfa4849de02796dbb14802377e2ae03f8be /Source/CParse | |
parent | fdd2bcf0e6a07093fc541b145e0dfe9fb00254f0 (diff) | |
download | swig-5a22bcf0070a08e22a38055ee76cca5bfe919dce.tar.gz |
Nested structures in "C" mode symbol table fix
Diffstat (limited to 'Source/CParse')
-rw-r--r-- | Source/CParse/parser.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index b9268cf03..91ab94c52 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -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); |