3 int cpp_main(int argc
, char **argv
)
5 struct cpp s_cpp
, *cpp
= &s_cpp
;
6 const char *old_name
= NULL
;
10 cpp_include_file(cpp
, "<stdin>", stdin
, false);
14 cpp_process_line(cpp
);
16 if (old_name
!= cpp
->line_loc
.name
17 || old_linenum
!= cpp
->line_loc
.line
- 1){
18 old_name
= cpp
->line_loc
.name
;
19 old_linenum
= cpp
->line_loc
.line
;
20 printf("# %d \"%s\"\n", old_linenum
, old_name
);
24 fputs(cpp
->line_buf
, stdout
);
28 } while (cpp
->include_top
);