aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>1999-11-21 23:37:58 +0000
committerAnthony Green <green@gcc.gnu.org>1999-11-21 23:37:58 +0000
commit48aedbca8b443b60afa81bfc58107a64f3fb2e99 (patch)
tree6339330b1e1b16ec9eff2000914b559bac7134bd /gcc/java/jcf-parse.c
parent250ba2372cdb135d47cb4a47227d0457fb73ce9a (diff)
downloadgcc-48aedbca8b443b60afa81bfc58107a64f3fb2e99.zip
gcc-48aedbca8b443b60afa81bfc58107a64f3fb2e99.tar.gz
gcc-48aedbca8b443b60afa81bfc58107a64f3fb2e99.tar.bz2
constants.c (find_methodref_index): Unwrap method names before inserting them in the constant pool.
* constants.c (find_methodref_index): Unwrap method names before inserting them in the constant pool. * jcf-parse.c (jcf_parse): Display `interface' when appropriate. * class.c (assume_compiled_node): New typedef. (assume_compiled_tree): New static data. (find_assume_compiled_node): New function. (add_assume_compiled): New function. (assume_compiled): New function. * class.c (make_class_data): Use assume_compiled. (is_compiled_class): Use assume_compiled. * java-tree.h (add_assume_compiled): Declare. * lang.c (lang_decode_option): Parse new options. From-SVN: r30608
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index ef47563..ff4ec81 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -612,7 +612,8 @@ jcf_parse (jcf)
if (main_class == NULL_TREE)
main_class = current_class;
if (! quiet_flag && TYPE_NAME (current_class))
- fprintf (stderr, " class %s",
+ fprintf (stderr, " %s %s",
+ (jcf->access_flags & ACC_INTERFACE) ? "interface" : "class",
IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (current_class))));
if (CLASS_LOADED_P (current_class))
return;