cppmain.c (do_preprocessing): New function; most of the old main.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 14 Jan 2001 16:44:50 +0000 (16:44 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 14 Jan 2001 16:44:50 +0000 (16:44 +0000)
commit6de8f7fc965d7306fa28f67ad9b5da13b59a9c19
tree7493d396995298136f8f7926dbf43e43b7cd124e
parent17879734ac2a2e256b5be66ca65644a713da0288
cppmain.c (do_preprocessing): New function; most of the old main.

        * cppmain.c (do_preprocessing): New function; most of the old
        main.
        (main): Call it to do most of the work.
        (cb): Move from global scope to set_callbacks ().
        (setup_callbacks): Get the callback pointer.
        (general_init, printer_init): Clean up code and comments.

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