aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1998-12-16 17:44:49 +0000
committerPer Bothner <bothner@gcc.gnu.org>1998-12-16 09:44:49 -0800
commit83a86272a2e76ea304122db44f4808a5ce250631 (patch)
tree852dac307569df00b7d7a702e65ebe33f3fded08 /gcc/java/parse.y
parent16b6e12048088a3bfcb18f1f89a420a2e9f2d7a2 (diff)
downloadgcc-83a86272a2e76ea304122db44f4808a5ce250631.zip
gcc-83a86272a2e76ea304122db44f4808a5ce250631.tar.gz
gcc-83a86272a2e76ea304122db44f4808a5ce250631.tar.bz2
* parse.y (create_interface): Remove bogus test.
From-SVN: r24348
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 3f26eb0..ea824c1 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -2887,11 +2887,6 @@ create_interface (flags, id, super)
(MODIFIER_WFL (ABSTRACT_TK),
"Redundant use of `abstract' modifier. Interface `%s' is implicitely "
"abstract", IDENTIFIER_POINTER (raw_name));
- if (flags & ACC_PUBLIC && flags & ACC_ABSTRACT)
- parse_error_context
- (MODIFIER_WFL (ABSTRACT_TK),
- "Can't specify both `public' and `abstract' modifiers in the "
- "definition of interface `%s'", IDENTIFIER_POINTER (raw_name));
/* Create a new decl if DECL is NULL, otherwise fix it */
decl = maybe_create_class_interface_decl (decl, q_name, id);