Commit 3cab4133 by Neil Booth Committed by Neil Booth

* cppmain.c: Update print.lineno with -P.

From-SVN: r38359
parent 9b4ea1a8
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
* cppmain.c: Update print.lineno with -P.
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
* c-lex.c: s/change_file/file_change.
* cpplib.h: Similarly.
* cppmain.c: Similarly.
......
......@@ -284,7 +284,10 @@ maybe_print_line (line)
}
if (print.no_line_dirs)
return;
{
print.lineno = line;
return;
}
/* print.lineno is zero if this is the first token of the file. We
handle this specially, so that a first line of "# 1 "foo.c" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment