diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-09-15 16:33:43 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-09-15 16:33:43 +0000 |
commit | f0581dc71488675d40334ddcfb75f84777456b08 (patch) | |
tree | d047c82239bd7e2d0ccd340a030861645449a88a /gcc/cppmain.c | |
parent | cb6edbcb190c1d42e02deae9532e24e059742f32 (diff) | |
download | gcc-f0581dc71488675d40334ddcfb75f84777456b08.zip gcc-f0581dc71488675d40334ddcfb75f84777456b08.tar.gz gcc-f0581dc71488675d40334ddcfb75f84777456b08.tar.bz2 |
cppmain.c (setup_callbacks): Set line callback only if outputting preprocessed source.
* cppmain.c (setup_callbacks): Set line callback only
if outputting preprocessed source.
From-SVN: r45632
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 560d81f..18bd7fd 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -193,9 +193,9 @@ setup_callbacks () { cpp_callbacks *cb = cpp_get_callbacks (pfile); - cb->line_change = cb_line_change; if (! options->no_output) { + cb->line_change = cb_line_change; cb->ident = cb_ident; cb->def_pragma = cb_def_pragma; if (! options->no_line_commands) |