diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-04-25 06:24:41 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-04-25 06:24:41 +0000 |
commit | ff45c01ef4b2560e6036c379e67b38cfa1508623 (patch) | |
tree | d894f1320f9d146f1f97b61373115b7a5313fac5 /gcc/ada/misc.c | |
parent | 9127b2da1b3a993d36180facfaee9e42a48b00f9 (diff) | |
download | gcc-ff45c01ef4b2560e6036c379e67b38cfa1508623.zip gcc-ff45c01ef4b2560e6036c379e67b38cfa1508623.tar.gz gcc-ff45c01ef4b2560e6036c379e67b38cfa1508623.tar.bz2 |
c-common.h (c_common_parse_file): Update.
* c-common.h (c_common_parse_file): Update.
* c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* c-lex.c (YYDEBUG): Get from c-lex.h.
(c_common_parse_file): Update.
* c-lex.h (YYDEBUG, yydebug): New.
* c-parse.in (YYDEBUG): Get from c-lex.h.
(c_set_yydebug): Remove.
* c-tree.h (c_set_yydebug): Remove.
* langhooks-def.h (lhd_do_nothing_i): New.
(lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
(LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_do_nothing_i): New.
(lhd_set_yydebug): Remove.
* langhooks.h (struct lang_hooks): Update.
* toplev.c (set_yydebug): New.
(compile_file): Update call to parse_file hook.
(decode_d_option): Update.
ada:
* misc.c (gnat_parse_file): Update.
cp:
* cp-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* cp-tree.h (cxx_set_yydebug): Die.
* lex.c (YYDEBUG): Get from c-lex.h.
(cxx_set_yydebug): Remove.
* parse.y: Include c-lex.h.
(YYDEBUG): Get from c-lex.h.
f:
* com.h (ffe_parse_file): Update.
* lex.c (ffe_parse_file): Update.
java:
* java-tree.h (java_parse_file): Update.
(java_set_yydebug): Remove.
* jcf-parse.c (yydebug): Remove.
(java_set_yydebug): Die.
(java_parse_file): Update.
* lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
objc:
* objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
From-SVN: r52753
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r-- | gcc/ada/misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 20b2b01..63ac00a 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -85,7 +85,7 @@ static void gnat_print_type PARAMS ((FILE *, tree, int)); static const char *gnat_printable_name PARAMS ((tree, int)); static tree gnat_eh_runtime_type PARAMS ((tree)); static int gnat_eh_type_covers PARAMS ((tree, tree)); -static void gnat_parse_file PARAMS ((void)); +static void gnat_parse_file PARAMS ((int)); static void gnat_mark_tree PARAMS ((tree)); static rtx gnat_expand_expr PARAMS ((tree, rtx, enum machine_mode, int)); @@ -192,7 +192,8 @@ extern void _ada_gnat1drv PARAMS((void)); /* The parser for the language. For us, we process the GNAT tree. */ static void -gnat_parse_file () +gnat_parse_file (set_yydebug) + int set_yydebug ATTRIBUTE_UNUSED; { /* call the target specific initializations */ __gnat_initialize(); |