[PHP] Fix bad PHP code generated when wrapping an enum in a
namespace (uncovered by testcase arrays_scope). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
136f2c7041
commit
49fd22d97d
2 changed files with 7 additions and 3 deletions
|
|
@ -1947,7 +1947,7 @@ public:
|
|||
} else {
|
||||
if (!s_fakeoowrappers)
|
||||
s_fakeoowrappers = NewStringEmpty();
|
||||
Printf(s_fakeoowrappers, "\n\tconst %s = %s;\n", name, set_to);
|
||||
Printf(s_fakeoowrappers, "\n\tconst %s = %s;\n", iname, set_to);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue