From: ceriel Date: Thu, 8 Jan 1987 12:42:44 +0000 (+0000) Subject: Generate line directives that are similar to the ones generated X-Git-Tag: release-5-5~5040 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=cfc9f38ccde5c0ab8128fed276e3d2a497b8a445;p=ack.git Generate line directives that are similar to the ones generated by the Reiser preprocessor. --- diff --git a/util/cpp/preprocess.c b/util/cpp/preprocess.c index bd05c5681..c8347afcb 100644 --- a/util/cpp/preprocess.c +++ b/util/cpp/preprocess.c @@ -51,7 +51,7 @@ preprocess(fn) fn = FileName; lineno = LineNumber; - sprint(p, "#line %d \"%s\"\n", LineNumber, + sprint(p, "# %d \"%s\"\n", LineNumber, FileName); while (*p) { echo(*p++);