Get the label from the right expression.
This commit is contained in:
parent
5deda9c9b9
commit
0594609b3a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue