aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-01-01 01:42:15 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-01-01 01:42:15 +0000
commit12cfb4fc729b05891d1c811787132bf112e0cb5f (patch)
treeb5c86761b1b81a2eebe2397358e12c43c32b175e /gcc/java/lang.c
parentf95e79cc11bd75adb2847b95d575a4f7fd3e14c8 (diff)
downloadgcc-12cfb4fc729b05891d1c811787132bf112e0cb5f.zip
gcc-12cfb4fc729b05891d1c811787132bf112e0cb5f.tar.gz
gcc-12cfb4fc729b05891d1c811787132bf112e0cb5f.tar.bz2
parse.y (dump_java_tree): New function.
* parse.y (dump_java_tree): New function. (source_end_java_method): Call it. (end_class_declaration): Likewise. * lang.c (java_decode_option): Call dump_switch_p. From-SVN: r48439
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 0486abd..0f62594 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -340,8 +340,10 @@ java_decode_option (argc, argv)
P's value is the option sans `-f'.
Search for it in the table of options. */
p += 2;
- return process_option_with_no (p, lang_f_options,
- ARRAY_SIZE (lang_f_options));
+ if (process_option_with_no (p, lang_f_options,
+ ARRAY_SIZE (lang_f_options)))
+ return 1;
+ return dump_switch_p (p);
}
if (strcmp (p, "-Wall") == 0)