Commit dd2807ca authored by gsamain's avatar gsamain Committed by Xavier Thompson

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

parent b13fbf8b
......@@ -1256,8 +1256,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
result_assignment = ""
does_return = reified_function_entry.type.return_type is not PyrexTypes.c_void_type
if does_return:
result_assignment = "%s =" % reified_function_entry.type.return_type.declaration_code("result")
code.putln("%s this->%s->%s(%s);" % (
result_assignment = "%s = " % reified_function_entry.type.return_type.declaration_code("result")
code.putln("%sthis->%s->%s(%s);" % (
result_assignment,
target_object_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