[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
|
|
@ -2,8 +2,12 @@ Version 1.3.36 (in progress)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
05/09/2008: olly
|
05/09/2008: olly
|
||||||
SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4 is
|
[PHP] Fix bad PHP code generated when wrapping an enum in a
|
||||||
essentially obsolete now, so we care much more about solid PHP5
|
namespace (uncovered by testcase arrays_scope).
|
||||||
|
|
||||||
|
05/09/2008: olly
|
||||||
|
[PHP] SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4
|
||||||
|
is essentially obsolete now, so we care much more about solid PHP5
|
||||||
support.
|
support.
|
||||||
|
|
||||||
05/07/2008: wsfulton
|
05/07/2008: wsfulton
|
||||||
|
|
|
||||||
|
|
@ -1947,7 +1947,7 @@ public:
|
||||||
} else {
|
} else {
|
||||||
if (!s_fakeoowrappers)
|
if (!s_fakeoowrappers)
|
||||||
s_fakeoowrappers = NewStringEmpty();
|
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