[PHP] Fix wrapping of global variables which was producing

uncompilable code in some cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2010-05-14 08:22:28 +00:00
commit 227f2e2e0a
2 changed files with 4 additions and 2 deletions

View file

@ -1779,8 +1779,6 @@ done:
if (!addSymbol(iname, n))
return SWIG_ERROR;
SwigType_remember(t);
/* First link C variables to PHP */
tm = Swig_typemap_lookup("varinit", n, name, 0);