diagnostic.c (default_print_error_function): Tweak.
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 28 Jun 2001 12:26:38 +0000 (12:26 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 28 Jun 2001 12:26:38 +0000 (12:26 +0000)
commit46f018e13847446f543aa9b396de15c9e322f8b3
tree729c52b32f832217f832454115fb06e918991ec2
parenteeb35b4552717ded7a8e006854be6766bb6237c4
diagnostic.c (default_print_error_function): Tweak.

* diagnostic.c (default_print_error_function): Tweak.
(report_error_function): Likewise.
* toplev.h (default_print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
* tree.h (print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.

ch/

* lang.c: #include diagnostic.h
(chill_print_error_function): Add a dummy `diagnostic_context *'.
* Makefile.in (lang.o): Depend on diagnostic.h

cp/

* error.c (lang_print_error_function): Add a `diagnostic_context *'
parameter. Tweak.

f/

* Make-lang.in (f/com.o): Depend on diagnostic.h
* com.c: #include diagnostic.h
(lang_print_error_function): Take a 'diagnostic_context *'.

java/

* lang.c: #include diagnostic.h
(lang_print_error): Add a `diagnostic_context *' parameter.
(java_dummy_print): Likewise.
* Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h

From-SVN: r43638
16 files changed:
gcc/ChangeLog
gcc/ch/ChangeLog
gcc/ch/Makefile.in
gcc/ch/lang.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/diagnostic.c
gcc/diagnostic.h
gcc/f/ChangeLog
gcc/f/Make-lang.in
gcc/f/com.c
gcc/java/ChangeLog
gcc/java/Make-lang.in
gcc/java/lang.c
gcc/toplev.h
gcc/tree.h