use "#line N file" instead of "# N file" (seems to be more portable)

This commit is contained in:
Bill Currie 2007-09-16 07:03:12 +00:00 committed by Jeff Teunissen
parent 0177971620
commit ac99aaf0d3

View file

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