OSDN Git Service

2000-06-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
[pf3gnuchains/gcc-fork.git] / gcc / java / jcf-parse.c
index 6ef02bc..bd41b8b 100644 (file)
@@ -193,7 +193,7 @@ set_source_filename (jcf, index)
   while (c--)                                                            \
     {                                                                    \
       tree class = get_class_constant (jcf, JCF_readu2 (jcf));           \
-      if (!CLASS_COMPLETE_P (class))                                     \
+      if (DECL_P (class) && !CLASS_COMPLETE_P (class))                   \
        {                                                                 \
          tree outer = TYPE_NAME (get_class_constant (jcf,                \
                                                      JCF_readu2 (jcf))); \