mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 14:50:48 +00:00
add codegen_output_type to ast_binary_codegen
This commit is contained in:
parent
0c673dfebb
commit
5a5cb74db2
1 changed files with 2 additions and 0 deletions
2
ast.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue