From f2cc82469a380272430489cb4c650c1816628945 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 19 Nov 2012 12:53:08 +0900 Subject: [PATCH] Use the correct field when dechaining aliases. op_type and type always confuse me :P --- tools/qfcc/source/statements.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 65d76f983..0e33071fc 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -754,7 +754,7 @@ expr_alias (sblock_t *sblock, expr_t *e, operand_t **op) while ((*op)->o.alias->op_type == op_alias) { operand_t *top = (*op)->o.alias; (*op)->o.alias = (*op)->o.alias->o.alias; - top->type = op_symbol; // so free_operand won't follow the alias + top->op_type = op_symbol; // so free_operand won't follow the alias free_operand (top); } return sblock;