Get the label from the right expression.

This commit is contained in:
Bill Currie 2011-01-19 22:25:43 +09:00
parent 5deda9c9b9
commit 0594609b3a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ("<GOTO>");
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);