mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Get the label from the right expression.
This commit is contained in:
parent
5deda9c9b9
commit
0594609b3a
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ statement_branch (sblock_t *sblock, expr_t *e)
|
||||||
if (e->type == ex_uexpr && e->e.expr.op == 'g') {
|
if (e->type == ex_uexpr && e->e.expr.op == 'g') {
|
||||||
s = new_statement ("<GOTO>");
|
s = new_statement ("<GOTO>");
|
||||||
s->opa = new_operand (op_label);
|
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);
|
sblock_add_statement (sblock, s);
|
||||||
|
|
Loading…
Reference in a new issue