Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
83a86272
Commit
83a86272
authored
Dec 16, 1998
by
Per Bothner
Committed by
Per Bothner
Dec 16, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (create_interface): Remove bogus test.
From-SVN: r24348
parent
16b6e120
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
gcc/java/ChangeLog
+4
-0
gcc/java/parse.c
+0
-5
gcc/java/parse.y
+0
-5
No files found.
gcc/java/ChangeLog
View file @
83a86272
Wed Dec 16 16:18:59 1998 Per Bothner <bothner@cygnus.com>
* parse.y (create_interface): Remove bogus test.
Wed Dec 16 14:42:19 1998 Per Bothner <bothner@cygnus.com>
* jcf-parse.c (get_constant): Set TREE_TYPE for string constants.
...
...
gcc/java/parse.c
View file @
83a86272
...
...
@@ -5525,11 +5525,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
);
...
...
gcc/java/parse.y
View file @
83a86272
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment