aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-reader.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-03-13 21:01:05 -0800
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-03-13 21:01:05 -0800
commitc2952b018a1baf25b12c339f2b96518425164295 (patch)
treebf1619873e76c17441a1423f1eaba6a4a64f054a /gcc/java/jcf-reader.c
parente4476d1cbd567593c068dba421b5e089f7ccbcd5 (diff)
downloadgcc-c2952b018a1baf25b12c339f2b96518425164295.zip
gcc-c2952b018a1baf25b12c339f2b96518425164295.tar.gz
gcc-c2952b018a1baf25b12c339f2b96518425164295.tar.bz2
Added Java 1.1 language features.
From-SVN: r32517
Diffstat (limited to 'gcc/java/jcf-reader.c')
-rw-r--r--gcc/java/jcf-reader.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c
index ccc65d0..878c4de 100644
--- a/gcc/java/jcf-reader.c
+++ b/gcc/java/jcf-reader.c
@@ -130,6 +130,14 @@ DEFUN(get_attribute, (jcf),
}
else
#endif
+#ifdef HANDLE_INNERCLASSES_ATTRIBUTE
+ if (name_length == 12 && memcmp (name_data, "InnerClasses", 12) == 0)
+ {
+ uint16 count = JCF_readu2 (jcf);
+ HANDLE_INNERCLASSES_ATTRIBUTE (count);
+ }
+ else
+#endif
{
#ifdef PROCESS_OTHER_ATTRIBUTE
PROCESS_OTHER_ATTRIBUTE(jcf, attribute_name, attribute_length);