]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Happy new years!
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 2a1446c739933813ebb4d96be94ff122b0bab6a1..6e14bbc2184c8d8e7805495773b997c17d8aba0f 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012
+ * Copyright (C) 2012, 2013
  *     Wolfgang Bumiller
  *     Dale Weiler 
  *
@@ -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;
 }