diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-07-19 21:21:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-07-19 21:21:15 +0200 |
commit | be3bdba18c0873fc5f54742a12469a6ffbae9b12 (patch) | |
tree | 4494aecfa385161bb8b37de3b7717326184c4cd2 /strpool.c | |
parent | 4c25cfd18d2fa54a7008bd92c2d16697ff558005 (diff) |
redirect gcc output to the proper original lines
Diffstat (limited to 'strpool.c')
-rw-r--r-- | strpool.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -556,6 +556,10 @@ static int process(FILE *in, FILE *out, const char*ifname) { "#define _P(x) (_strpool_ + ((x) - (const char*) 0))\n" "#endif\n\n"); + + if (ifname) + fprintf(out, "#line 1 \"%s\"\n", ifname); + dump_text(out, first); fwrite(remain, 1, remain_size, out); |