From: Wolfgang Bumiller Date: Mon, 31 Dec 2012 12:20:08 +0000 (+0100) Subject: add codegen_output_type to ast_binary_codegen X-Git-Tag: before-library~404 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a5cb74db2097481c664c3dace3d512a7e6dc3b3;p=xonotic%2Fgmqcc.git add codegen_output_type to ast_binary_codegen --- diff --git a/ast.c b/ast.c index 2a1446c..50b852a 100644 --- a/ast.c +++ b/ast.c @@ -1846,6 +1846,7 @@ bool ast_binary_codegen(ast_binary *self, ast_function *func, bool lvalue, ir_va } self->expression.outr = *out; + codegen_output_type(self, *out); return true; } @@ -1862,6 +1863,7 @@ bool ast_binary_codegen(ast_binary *self, ast_function *func, bool lvalue, ir_va if (!*out) return false; self->expression.outr = *out; + codegen_output_type(self, *out); return true; }