aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-04-25 06:24:41 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-04-25 06:24:41 +0000
commitff45c01ef4b2560e6036c379e67b38cfa1508623 (patch)
treed894f1320f9d146f1f97b61373115b7a5313fac5 /gcc/f
parent9127b2da1b3a993d36180facfaee9e42a48b00f9 (diff)
downloadgcc-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/f')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/com.h2
-rw-r--r--gcc/f/parse.c3
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 361c965..2e1df82 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 25 07:44:44 2002 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * com.h (ffe_parse_file): Update.
+ * lex.c (ffe_parse_file): Update.
+
2002-04-20 Toon Moene <toon@moene.indiv.nluug.nl>
* root.texi: Remove variable version-g77.
diff --git a/gcc/f/com.h b/gcc/f/com.h
index 90d231c..be49242 100644
--- a/gcc/f/com.h
+++ b/gcc/f/com.h
@@ -270,7 +270,7 @@ tree ffecom_truth_value (tree expr);
tree ffecom_truth_value_invert (tree expr);
tree ffecom_type_expr (ffebld expr);
tree ffecom_which_entrypoint_decl (void);
-void ffe_parse_file (void);
+void ffe_parse_file (int);
/* Define macros. */
diff --git a/gcc/f/parse.c b/gcc/f/parse.c
index fe48b6d..f687e59 100644
--- a/gcc/f/parse.c
+++ b/gcc/f/parse.c
@@ -29,7 +29,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
extern FILE *finput;
void
-ffe_parse_file ()
+ffe_parse_file (set_yydebug)
+ int set_yydebug ATTRIBUTE_UNUSED;
{
ffewhereFile wf;