From 12cfb4fc729b05891d1c811787132bf112e0cb5f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 1 Jan 2002 01:42:15 +0000 Subject: 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 --- gcc/java/lang.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/java/lang.c') 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) -- cgit v1.1