* cppmain.c: Update print.lineno with -P.
From-SVN: r38359
This commit is contained in:
parent
9b4ea1a8a3
commit
3cab41338d
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue