aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-01-07 03:34:28 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-01-07 03:34:28 +0000
commitcd2a3ba227ec911a49752265362a07008a50aac6 (patch)
tree4dc1d6254e96cddffb6b0b0b93145fa144532257 /gcc/java/lang.c
parent65289a3a42e60ebfe23f858ccfa0e66b13e844ed (diff)
downloadgcc-cd2a3ba227ec911a49752265362a07008a50aac6.zip
gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.gz
gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.bz2
toplev.c (main): Call the front-end specific post_options hook if one is given.
* toplev.c (main): Call the front-end specific post_options hook if one is given. * toplev.h (struct_lang_hooks, lang_hooks): New. * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks for the C front end. * cp/decl2.c (cxx_post_options, lang_hooks): Implement lang_hooks for the C++ front end. * objc/objc-act.c (objc_post_options, lang_hooks): Implement lang_hooks for the ObjC front end. * f/com.c (lang_hooks): Hooks for the Fortran front end. * java/lang.c (lang_hooks): Hooks for the Java front end. From-SVN: r38757
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 7565eba9..3a9f345 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -186,6 +186,9 @@ static int dependency_tracking = 0;
#define DEPEND_TARGET_SET 4
#define DEPEND_FILE_ALREADY_SET 8
+/* Each front end provides its own. */
+struct lang_hooks lang_hooks = {NULL /* post_options */};
+
/* Process an option that can accept a `no-' form.
Return 1 if option found, 0 otherwise. */
static int