mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
well, that explains the loss of line number onfo on return statements :P
This commit is contained in:
parent
1c9e1b176f
commit
5d5d3f1416
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ emit_expr (expr_t *e)
|
||||||
def = 0;
|
def = 0;
|
||||||
if (e->e.expr.e1)
|
if (e->e.expr.e1)
|
||||||
def = emit_sub_expr (e->e.expr.e1, 0);
|
def = emit_sub_expr (e->e.expr.e1, 0);
|
||||||
PR_Statement (op_return, def, 0);
|
emit_statement (e->line, op_return, def, 0, 0);
|
||||||
break;
|
break;
|
||||||
case 'g':
|
case 'g':
|
||||||
emit_branch (e->line, op_goto, 0, e->e.expr.e1);
|
emit_branch (e->line, op_goto, 0, e->e.expr.e1);
|
||||||
|
|
Loading…
Reference in a new issue