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