aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@gcc.gnu.org>2001-06-28 12:26:38 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2001-06-28 12:26:38 +0000
commit46f018e13847446f543aa9b396de15c9e322f8b3 (patch)
tree729c52b32f832217f832454115fb06e918991ec2 /gcc/tree.h
parenteeb35b4552717ded7a8e006854be6766bb6237c4 (diff)
downloadgcc-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/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 0d69d6b..4f8dbef 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2651,10 +2651,6 @@ extern void init_decl_processing PARAMS ((void));
/* Function to identify which front-end produced the output file. */
extern const char *lang_identify PARAMS ((void));
-/* Called by report_error_function to print out function name.
- * Default may be overridden by language front-ends. */
-extern void (*print_error_function) PARAMS ((const char *));
-
/* Function to replace the DECL_LANG_SPECIFIC field of a DECL with a copy. */
extern void copy_lang_decl PARAMS ((tree));