From 5d5d3f1416eb1225044936a66c38a73c1d4942a2 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 16 Jul 2001 03:53:45 +0000 Subject: [PATCH] well, that explains the loss of line number onfo on return statements :P --- tools/qfcc/source/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 5ebed199d..d7398851c 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1056,7 +1056,7 @@ emit_expr (expr_t *e) def = 0; if (e->e.expr.e1) 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; case 'g': emit_branch (e->line, op_goto, 0, e->e.expr.e1);