* cppmain.c (setup_callbacks): Set line callback only
if outputting preprocessed source.
From-SVN: r45632
+2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cppmain.c (setup_callbacks): Set line callback only
+ if outputting preprocessed source.
+
2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* collect2.c (main): Const-ification.
{
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)