xref.h (enum): Removed trailing comma.
authorTom Tromey <tromey@cygnus.com>
Mon, 19 Apr 1999 10:20:27 +0000 (10:20 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 19 Apr 1999 10:20:27 +0000 (10:20 +0000)
* xref.h (enum): Removed trailing comma.
* parse.y (resolve_qualified_expression_name): Added missing
`break'.

From-SVN: r26546

gcc/java/ChangeLog
gcc/java/parse.c
gcc/java/parse.y
gcc/java/xref.h

index 4bb862a41f85e0f772f8e6c332745d0ee6516050..3ad9605383160ab61e9888b17319bdfe4241723c 100644 (file)
@@ -1,3 +1,10 @@
+1999-04-19  Tom Tromey  <tromey@cygnus.com>
+
+       * xref.h (enum): Removed trailing comma.
+
+       * parse.y (resolve_qualified_expression_name): Added missing
+       `break'.
+
 Thu Apr 15 13:08:03 1999  Anthony Green  <green@cygnus.com>
 
        * gjavah.c: New prototypes for java_float_finite and
index 1dd713c04908c825087916934ebaa5a08974cf11..1dda0bfd800cc1e89916198c0ec3544cf68cccb4 100644 (file)
@@ -2226,7 +2226,7 @@ static const short yycheck[] = {     3,
 #define YYPURE 1
 
 /* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
-#line 3 "/usr/lib/bison.simple"
+#line 3 "/x1/java/install/share/bison.simple"
 
 /* Skeleton output parser for bison,
    Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
@@ -2419,7 +2419,7 @@ __yy_memcpy (char *to, char *from, int count)
 #endif
 #endif
 \f
-#line 196 "/usr/lib/bison.simple"
+#line 196 "/x1/java/install/share/bison.simple"
 
 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
    into yyparse.  The argument should have type void *.
@@ -4678,7 +4678,7 @@ case 493:
     break;}
 }
    /* the action file gets copied in in place of this dollarsign */
-#line 498 "/usr/lib/bison.simple"
+#line 498 "/x1/java/install/share/bison.simple"
 \f
   yyvsp -= yylen;
   yyssp -= yylen;
@@ -8922,6 +8922,7 @@ resolve_qualified_expression_name (wfl, found_decl, where_found, type_found)
        default:
          /* Fix for -Wall Just go to the next statement. Don't
              continue */
+         break;
        }
 
       /* If we fall here, we weren't processing a (static) function call. */
@@ -12343,6 +12344,7 @@ patch_unaryop (node, wfl_op)
       /* 15.14.2 Prefix Decrement Operator -- */
     case PREDECREMENT_EXPR:
       decl = strip_out_static_field_access_decl (op);
+      /* We really should have a JAVA_ARRAY_EXPR to avoid this */
       if (!JDECL_P (decl) 
          && TREE_CODE (decl) != COMPONENT_REF
          && !(flag_emit_class_files && TREE_CODE (decl) == ARRAY_REF)
index efa0912a1a80207879ab436a6a38e53e3581e3c0..c69e93842153f9d674671136037263d5de04aee8 100644 (file)
@@ -6321,6 +6321,7 @@ resolve_qualified_expression_name (wfl, found_decl, where_found, type_found)
        default:
          /* Fix for -Wall Just go to the next statement. Don't
              continue */
+         break;
        }
 
       /* If we fall here, we weren't processing a (static) function call. */
index 6089d31255c9d6daac130d58f505919dc5be14a9..40f9d682ec8aa0ea0dc9cfbb23f1892ce0dd0b76 100644 (file)
@@ -30,7 +30,7 @@ void expand_xref PROTO ((tree));
 /* flag_emit_xref range of possible values. */
 
 enum {
-  XREF_NONE = 0,
+  XREF_NONE = 0
 };
 
 /* Lookup table to be used with the value of flag_emit_xref */