mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-06 00:20:27 +08:00
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
This commit is contained in:
parent
cb6edbcb19
commit
f0581dc714
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user