From a3f406ce4c9fe47d97f951a48bc1488285f995a9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 19 Apr 1999 10:20:27 +0000 Subject: [PATCH] xref.h (enum): Removed trailing comma. * xref.h (enum): Removed trailing comma. * parse.y (resolve_qualified_expression_name): Added missing `break'. From-SVN: r26546 --- gcc/java/ChangeLog | 7 +++++++ gcc/java/parse.c | 8 +++++--- gcc/java/parse.y | 1 + gcc/java/xref.h | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4bb862a41f8..3ad96053831 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,10 @@ +1999-04-19 Tom Tromey + + * xref.h (enum): Removed trailing comma. + + * parse.y (resolve_qualified_expression_name): Added missing + `break'. + Thu Apr 15 13:08:03 1999 Anthony Green * gjavah.c: New prototypes for java_float_finite and diff --git a/gcc/java/parse.c b/gcc/java/parse.c index 1dd713c0490..1dda0bfd800 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 efa0912a1a8..c69e9384215 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 6089d31255c..40f9d682ec8 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 */ -- 2.30.2