diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1999-02-16 11:49:46 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-02-16 03:49:46 -0800 |
commit | 0b4d333e01ce1e80d90dd6ccfd99c92acec2a62e (patch) | |
tree | 6369f1ced645b4d07caddd1543ec935f191657a4 /gcc/java/jcf-parse.c | |
parent | 4393e10527c91ec9238ce2fdef4f731b8f56bed8 (diff) | |
download | gcc-0b4d333e01ce1e80d90dd6ccfd99c92acec2a62e.zip gcc-0b4d333e01ce1e80d90dd6ccfd99c92acec2a62e.tar.gz gcc-0b4d333e01ce1e80d90dd6ccfd99c92acec2a62e.tar.bz2 |
[multiple changes]
Thu Jan 28 11:50:11 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-parse.c (jcf_parse): Don't parse the same class file twice.
* parse.y (patch_cast): Allow a boolean to be cast into a
boolean.
Wed Jan 27 10:19:29 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y: (class_declaration:): Fixed indentation.
(class_member_declaration:): Extra `;' after field declaration now
accepted.
(interface_declaration:): Removed debug messages in error reports.
(patch_binop): Nodes created and returned inherit the orignal
node's COMPOUND_ASSIGN_P flag value.
(patch_cast): Fix cast from char to floating point.
From-SVN: r25244
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r-- | gcc/java/jcf-parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 23f56a6..3dcb25b 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -605,6 +605,8 @@ jcf_parse (jcf) if (! quiet_flag && TYPE_NAME (current_class)) fprintf (stderr, " class %s", IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (current_class)))); + if (CLASS_LOADED_P (current_class)) + return; CLASS_LOADED_P (current_class) = 1; for (i = 1; i < JPOOL_SIZE(jcf); i++) |