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 | |
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')
-rw-r--r-- | gcc/f/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/f/Make-lang.in | 2 | ||||
-rw-r--r-- | gcc/f/com.c | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index a458b28..c2464d9 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +2001-06-28 Gabriel Dos Reis <gdr@codesourcery.com> + + * Make-lang.in (f/com.o): Depend on diagnostic.h + * com.c: #include diagnostic.h + (lang_print_error_function): Take a 'diagnostic_context *'. + Wed Jun 13 11:22:39 2001 Mark Mitchell <mark@codesourcery.com> * BUGS: Remove. diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in index 14c1b83..a35bd18 100644 --- a/gcc/f/Make-lang.in +++ b/gcc/f/Make-lang.in @@ -417,7 +417,7 @@ f/com.o: f/com.c f/proj.h $(CONFIG_H) $(SYSTEM_H) flags.h $(RTL_H) $(TREE_H) \ f/malloc.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \ f/intrin.def f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ - f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h + f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h diagnostic.h f/data.o: f/data.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/data.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ 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; |