1.1 --- a/translator.py Sat Oct 29 22:46:20 2016 +0200
1.2 +++ b/translator.py Sat Oct 29 22:56:23 2016 +0200
1.3 @@ -967,7 +967,10 @@
1.4 # copy.
1.5
1.6 else:
1.7 - return make_expression("(__COPY(%s, __tmp), %s)" % (encode_path(function_name), ", ".join(defaults)))
1.8 + return make_expression("(__tmp_result = __COPY(&%s, sizeof(%s)), %s)" % (
1.9 + encode_path(function_name),
1.10 + encode_symbol("obj", function_name),
1.11 + ", ".join(defaults)))
1.12
1.13 def process_logical_node(self, n):
1.14