summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 14:31:07 +0000
commitb8ba44e77a9fdde48ce0b7c6792736996704501e (patch)
tree0d20227504dcaf792fb3e2663879383129b47382 /gcc/langhooks.h
parentfc2596c8b958ac6626601b8dd7e5ba25fc64f006 (diff)
downloadgcc-b8ba44e77a9fdde48ce0b7c6792736996704501e.tar.gz
* doc/invoke.texi (-dy): Remove.
* langhooks-def.h (lhd_do_nothing_i): Don't declare. (LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing. * langhooks.c (lhd_do_nothing_i): Remove. * langhooks.h (lang_hooks.parse_file): Take no arguments. * toplev.c (set_yydebug): Remove. (compile_file): Update call to lang_hooks.parse_file. (decode_d_option): Don't handle -dy. ada: * gcc-interface/misc.c (gnat_parse_file): Take no arguments. c-family: * c-opts.c (c_common_parse_file): Take no arguments. * c-common.h (c_common_parse_file): Update prototype. fortran: * f95-lang.c (gfc_be_parse_file): Take no arguments. java: * jcf-parse.c (java_parse_file): Take no arguments. * java-tree.h (java_parse_file): Update prototype. lto: * lto.c (lto_main): Take no arguments. * lto.h (lto_main): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 87a8b2c6214..a9947293e91 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -317,9 +317,8 @@ struct lang_hooks
/* Called at the end of compilation, as a finalizer. */
void (*finish) (void);
- /* Parses the entire file. The argument is nonzero to cause bison
- parsers to dump debugging information during parsing. */
- void (*parse_file) (int);
+ /* Parses the entire file. */
+ void (*parse_file) (void);
/* Determines if it's ok for a function to have no noreturn attribute. */
bool (*missing_noreturn_ok_p) (tree);