Add in possibility to use scopes in target language module symbol table
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f4cfc9bce5
commit
6c275f00d9
4 changed files with 57 additions and 43 deletions
|
|
@ -207,14 +207,14 @@ void Swig_symbol_print_tables_summary(void) {
|
|||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
static void symbol_print_symbols(const char *symboltabletype) {
|
||||
Node *obj = symtabs;
|
||||
Iterator ki = First(obj);
|
||||
Node *table = symtabs;
|
||||
Iterator ki = First(table);
|
||||
while (ki.key) {
|
||||
String *k = ki.key;
|
||||
Printf(stdout, "===================================================\n");
|
||||
Printf(stdout, "%s -\n", k);
|
||||
{
|
||||
Symtab *symtab = Getattr(Getattr(obj, k), symboltabletype);
|
||||
Symtab *symtab = Getattr(Getattr(table, k), symboltabletype);
|
||||
Iterator it = First(symtab);
|
||||
while (it.key) {
|
||||
String *symname = it.key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue