if outputting preprocessed source.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45632
138bc75d-0d04-0410-961f-
82ee72b054a4
+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)