cppmain.c (struct printer): Remove no_line_dirs.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 13 Jan 2001 14:24:34 +0000 (14:24 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 13 Jan 2001 14:24:34 +0000 (14:24 +0000)
commit620ef26c8c9bf5e8acb0068e1a52d9c0f6713eec
tree85c5b636aa5ba71f896d480d2d0a4b9ca8404557
parentb61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f
cppmain.c (struct printer): Remove no_line_dirs.

        * cppmain.c (struct printer): Remove no_line_dirs.
        (options, cb): New.
        (main, setup_callbacks, scan_buffer, printer_init, cb_define)
        : Use options rather than CPP_OPTION.
        (setup_callbacks): Use cb rather than pfile->cb.
        (main): No need to check for a buffer.  Use cpp_errors.
        (printer_init): Don't set no_line_dirs.
        (maybe_print_line): Use options not no_line_dirs.
        (cb_file_change): Don't call print_line if -P.

From-SVN: r38983
gcc/ChangeLog
gcc/cppmain.c