well, that explains the loss of line number onfo on return statements :P

This commit is contained in:
Bill Currie 2001-07-16 03:53:45 +00:00
parent 1c9e1b176f
commit 5d5d3f1416

View file

@ -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);