Fixed [ 871909 ] simple namespace problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d4eb6ecd44
commit
629e32daec
1 changed files with 5 additions and 1 deletions
|
|
@ -394,7 +394,6 @@ public:
|
|||
normalize = NewList();
|
||||
|
||||
if (name) {
|
||||
|
||||
if (SwigType_istemplate(name)) {
|
||||
// We need to fully resolve the name to make templates work correctly */
|
||||
Node *cn;
|
||||
|
|
@ -436,6 +435,11 @@ public:
|
|||
|
||||
if (nsname) {
|
||||
nname = NewStringf("%s::%s", nsname, name);
|
||||
String *tdname = Getattr(n,"tdname");
|
||||
if (tdname) {
|
||||
tdname = NewStringf("%s::%s", nsname, tdname);
|
||||
Setattr(n,"tdname",tdname);
|
||||
}
|
||||
}
|
||||
SwigType_new_scope(scopename);
|
||||
SwigType_attach_symtab(Getattr(n,"symtab"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue