From 0594609b3a70531ba8372cbb3061820146453a97 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 19 Jan 2011 22:25:43 +0900 Subject: [PATCH] Get the label from the right expression. --- 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 ce71c96e8..d8b39da17 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -164,7 +164,7 @@ statement_branch (sblock_t *sblock, expr_t *e) if (e->type == ex_uexpr && e->e.expr.op == 'g') { s = new_statement (""); s->opa = new_operand (op_label); - s->opa->o.label = &e->e.label; + s->opa->o.label = &e->e.expr.e1->e.label; } sblock_add_statement (sblock, s);