From ac99aaf0d3389f7aef417c5c4fb0c6dc02d096f1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 16 Sep 2007 07:03:12 +0000 Subject: [PATCH] use "#line N file" instead of "# N file" (seems to be more portable) --- tools/qfcc/source/qfcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/qfcc/source/qfcc.c b/tools/qfcc/source/qfcc.c index 125ef7e4d..54b16521c 100644 --- a/tools/qfcc/source/qfcc.c +++ b/tools/qfcc/source/qfcc.c @@ -832,7 +832,8 @@ progs_src_compile (void) if (single) { fprintf (single, "$frame_reset\n"); - fprintf (single, "# %d \"%s\"\n", script->line, script->file); + fprintf (single, "#line %d \"%s\"\n", script->line, + script->file); fprintf (single, "#include \"%s\"\n", qc_filename->str); } else { if (compile_file (qc_filename->str))