mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Make a field name more clear
Just "type" isn't very informative, but "result_type" is at least a fair bit better.
This commit is contained in:
parent
f57aa82c4b
commit
7877168e93
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
|
||||
typedef struct {
|
||||
int op;
|
||||
type_t *type;
|
||||
type_t *result_type;
|
||||
type_t *a_cast;
|
||||
type_t *b_cast;
|
||||
expr_t *(*process)(int op, expr_t *e1, expr_t *e2);
|
||||
|
@ -952,7 +952,7 @@ binary_expr (int op, expr_t *e1, expr_t *e2)
|
|||
return fold_constants (e);
|
||||
|
||||
e = new_binary_expr (op, e1, e2);
|
||||
e->e.expr.type = expr_type->type;
|
||||
e->e.expr.type = expr_type->result_type;
|
||||
if (is_compare (op) || is_logic (op)) {
|
||||
if (options.code.progsversion == PROG_ID_VERSION) {
|
||||
e->e.expr.type = &type_float;
|
||||
|
|
Loading…
Reference in a new issue