diff options
author | Tom Tromey <tromey@cygnus.com> | 1999-04-19 10:20:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-04-19 10:20:27 +0000 |
commit | a3f406ce4c9fe47d97f951a48bc1488285f995a9 (patch) | |
tree | 04a8173e165789df40f051479b786b18e3f5d155 | |
parent | 3d79e10b31d4280d34b3870f1454a4431bb6ef9e (diff) | |
download | gcc-a3f406ce4c9fe47d97f951a48bc1488285f995a9.zip gcc-a3f406ce4c9fe47d97f951a48bc1488285f995a9.tar.gz gcc-a3f406ce4c9fe47d97f951a48bc1488285f995a9.tar.bz2 |
xref.h (enum): Removed trailing comma.
* xref.h (enum): Removed trailing comma.
* parse.y (resolve_qualified_expression_name): Added missing
`break'.
From-SVN: r26546
-rw-r--r-- | gcc/java/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/java/parse.c | 8 | ||||
-rw-r--r-- | gcc/java/parse.y | 1 | ||||
-rw-r--r-- | gcc/java/xref.h | 2 |
4 files changed, 14 insertions, 4 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4bb862a..3ad9605 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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 diff --git a/gcc/java/parse.c b/gcc/java/parse.c index 1dd713c..1dda0bf 100644 --- a/gcc/java/parse.c +++ b/gcc/java/parse.c @@ -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 -#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" 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) diff --git a/gcc/java/parse.y b/gcc/java/parse.y index efa0912..c69e938 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -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. */ diff --git a/gcc/java/xref.h b/gcc/java/xref.h index 6089d31..40f9d68 100644 --- a/gcc/java/xref.h +++ b/gcc/java/xref.h @@ -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 */ |