diff options
author | Dave Beazley <dave-swig@dabeaz.com> | 2007-01-03 20:58:19 +0000 |
---|---|---|
committer | Dave Beazley <dave-swig@dabeaz.com> | 2007-01-03 20:58:19 +0000 |
commit | ff41049b1c0df88abdf4192de854bd68ea3e99d5 (patch) | |
tree | 545b969c260cfb854aa620744bfd234fbc883da4 /Source/Modules/typepass.cxx | |
parent | c12550e4ad0be537a98e18d7a0f768369bcae6fb (diff) | |
download | swig-ff41049b1c0df88abdf4192de854bd68ea3e99d5.tar.gz |
Eliminated use of swigkeys.h/.c files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/typepass.cxx')
-rw-r--r-- | Source/Modules/typepass.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Modules/typepass.cxx b/Source/Modules/typepass.cxx index abcb0492c..bcda4a154 100644 --- a/Source/Modules/typepass.cxx +++ b/Source/Modules/typepass.cxx @@ -239,7 +239,7 @@ class TypePass:private Dispatcher { Symtab *st = Getattr(cls, "symtab"); Symtab *bst = Getattr(bclass, "symtab"); if (st == bst) { - Swig_warning(WARN_PARSE_REC_INHERITANCE, Getfile(cls), Getline(cls), "Recursive scope inheritance of '%s'.\n", Getattr(cls, k_name)); + Swig_warning(WARN_PARSE_REC_INHERITANCE, Getfile(cls), Getline(cls), "Recursive scope inheritance of '%s'.\n", Getattr(cls, "name")); continue; } Symtab *s = Swig_symbol_current(); @@ -866,7 +866,7 @@ class TypePass:private Dispatcher { String *ucode = is_void ? NewStringf("{ self->%s(", Getattr(n, "uname")) : NewStringf("{ return self->%s(", Getattr(n, "uname")); for (ParmList *p = parms; p;) { - Append(ucode, Getattr(p, k_name)); + Append(ucode, Getattr(p, "name")); p = nextSibling(p); if (p) Append(ucode, ","); |