correction to last commit

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-03-19 21:28:16 +00:00
commit f486588124

View file

@ -522,7 +522,7 @@ class TypePass:private Dispatcher {
Node *nn = Swig_symbol_clookup(name, n);
Hash *ts = 0;
if (nn)
Getattr(nn, "typescope");
ts = Getattr(nn, "typescope");
if (!ts) {
SwigType_new_scope(name);
SwigType_attach_symtab(Getattr(n, "symtab"));