aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-reader.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-12-13 13:29:08 +0000
committerTom Tromey <tromey@gcc.gnu.org>1998-12-13 13:29:08 +0000
commit92c068d1dc9b2bf77a9154e9cbaac97687ae9818 (patch)
tree3212e14f751decf2c01ee8441b474324dc8ae361 /gcc/java/jcf-reader.c
parent5d943c3cfb5cb1e6559ca609ead72a331e32db36 (diff)
downloadgcc-92c068d1dc9b2bf77a9154e9cbaac97687ae9818.zip
gcc-92c068d1dc9b2bf77a9154e9cbaac97687ae9818.tar.gz
gcc-92c068d1dc9b2bf77a9154e9cbaac97687ae9818.tar.bz2
jcf-reader.c (jcf_parse_one_method): Recognize HANDLE_END_METHOD.
* jcf-reader.c (jcf_parse_one_method): Recognize HANDLE_END_METHOD. * gjavah.c (HANDLE_END_METHOD): New macro. (HANDLE_CODE_ATTRIBUTE): New macro. (decompile_method): New function. (print_method_info): Don't print `;\n' at end of function decl. Include java-opcodes.h. (decompiled): New global. From-SVN: r24295
Diffstat (limited to 'gcc/java/jcf-reader.c')
-rw-r--r--gcc/java/jcf-reader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c
index 9816ce3..f3c860f 100644
--- a/gcc/java/jcf-reader.c
+++ b/gcc/java/jcf-reader.c
@@ -308,6 +308,9 @@ DEFUN(jcf_parse_one_method, (jcf),
if (code != 0)
return code;
}
+#ifdef HANDLE_END_METHOD
+ HANDLE_END_METHOD ();
+#endif
return 0;
}