summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rwxr-xr-xphp/patch_swig_output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/patch_swig_output.py b/php/patch_swig_output.py
index 8ee8e21e..93304286 100755
--- a/php/patch_swig_output.py
+++ b/php/patch_swig_output.py
@@ -274,8 +274,8 @@ else:
break
segment = wrap[i:j]
if not 'object_init_ex' in segment:
- i = wrap.find(begin, i + len(segment))
- continue
+ i = wrap.find(begin, i + len(segment))
+ continue
x = segment.find('object_init_ex(return_value,') + len('object_init_ex(return_value,')
y = segment.find(')', x)
segment = '%s%s%s' % (segment[:x], 'get_node_info_with_swig(ty)->php', segment[y:])