diff options
author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-15 22:54:21 +0000 |
---|---|---|
committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-15 22:54:21 +0000 |
commit | aed2176e42ed65e05137e8a1b5b3b552da414555 (patch) | |
tree | 376d7b70ee87d6b80244dcca32c59bec159a17bc /gcc/java/jcf.h | |
parent | c48f6f844090c6551a55832a4ccb44fb11ee98eb (diff) | |
download | gcc-aed2176e42ed65e05137e8a1b5b3b552da414555.tar.gz |
Mon Jan 18 14:30:09 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>
* gjavah.c: Delete ACC_VISIBILITY define.
* jcf.h: Add ACC_VISIBILITY define.
* parse.y: final: rule tagged <value>.
(java_check_regular_methods): Use ACC_VISIBILITY define for
default package access check.
(local_variable_declaration_statement): Use final: rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r-- | gcc/java/jcf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 2a4cb26284e..91fa9f373dd 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -206,6 +206,8 @@ typedef struct JCF { #define ACC_INTERFACE 0x0200 #define ACC_ABSTRACT 0x0400 +#define ACC_VISIBILITY (ACC_PUBLIC | ACC_PRIVATE | ACC_PROTECTED) + #define CONSTANT_Class 7 #define CONSTANT_Fieldref 9 #define CONSTANT_Methodref 10 |