Commit e1f95d01 authored by gsamain's avatar gsamain

Fix space error in code generated by reifying message when calling a void return function

parent 46c33960
...@@ -1182,8 +1182,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -1182,8 +1182,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
result_assignment = "" result_assignment = ""
does_return = reified_function_entry.type.return_type is not PyrexTypes.c_void_type does_return = reified_function_entry.type.return_type is not PyrexTypes.c_void_type
if does_return: if does_return:
result_assignment = "%s =" % reified_function_entry.type.return_type.declaration_code("result") result_assignment = "%s = " % reified_function_entry.type.return_type.declaration_code("result")
code.putln("%s this->%s->%s(%s);" % ( code.putln("%sthis->%s->%s(%s);" % (
result_assignment, result_assignment,
target_object_cname, target_object_cname,
reified_function_entry.cname, reified_function_entry.cname,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment