diff options
author | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-06-28 12:26:38 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-06-28 12:26:38 +0000 |
commit | 46f018e13847446f543aa9b396de15c9e322f8b3 (patch) | |
tree | 729c52b32f832217f832454115fb06e918991ec2 /gcc/f/com.c | |
parent | eeb35b4552717ded7a8e006854be6766bb6237c4 (diff) | |
download | gcc-46f018e13847446f543aa9b396de15c9e322f8b3.zip gcc-46f018e13847446f543aa9b396de15c9e322f8b3.tar.gz gcc-46f018e13847446f543aa9b396de15c9e322f8b3.tar.bz2 |
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
Diffstat (limited to 'gcc/f/com.c')
-rw-r--r-- | gcc/f/com.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/f/com.c b/gcc/f/com.c index 871c4fa..c5a5019 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -89,6 +89,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "output.h" /* Must follow tree.h so TREE_CODE is defined! */ #include "convert.h" #include "ggc.h" +#include "diagnostic.h" #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ #define FFECOM_GCC_INCLUDE 1 /* Enable -I. */ @@ -13989,7 +13990,7 @@ lang_printable_name (tree decl, int v) #if BUILT_FOR_270 static void -lang_print_error_function (const char *file) +lang_print_error_function (diagnostic_context *context, const char *file) { static ffeglobal last_g = NULL; static ffesymbol last_s = NULL; |