diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-15 16:33:43 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-15 16:33:43 +0000 |
commit | b6ab2997b7a31d15e759fe16adff76ac1be3803e (patch) | |
tree | d047c82239bd7e2d0ccd340a030861645449a88a /gcc/cppmain.c | |
parent | 479501397830fc36512a0f7401bbc24f335ab7d3 (diff) | |
download | gcc-b6ab2997b7a31d15e759fe16adff76ac1be3803e.tar.gz |
* cppmain.c (setup_callbacks): Set line callback only
if outputting preprocessed source.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45632 138bc75d-0d04-0410-961f-82ee72b054a4
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 560d81f4bdd..18bd7fd256b 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) |