fix for friend operator and Visual studio and bug 1432152
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3d6ad6e78d
commit
096ccb2c02
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ static void add_symbols(Node *n) {
|
|||
old_scope = Swig_symbol_popscope();
|
||||
Namespaceprefix = Swig_symbol_qualifiedscopename(0);
|
||||
if (!prefix) {
|
||||
if (name && Namespaceprefix) {
|
||||
if (name && !is_operator(name) && Namespaceprefix) {
|
||||
String *nname = NewStringf("%s::%s", Namespaceprefix, name);
|
||||
Setattr(n,k_name,nname);
|
||||
Delete(nname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue