summaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
authorJoerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>2000-02-15 22:54:21 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-02-15 14:54:21 -0800
commita003f638eeb6ad379286d86e43a66bab17d9c96e (patch)
tree376d7b70ee87d6b80244dcca32c59bec159a17bc /gcc/java/jcf.h
parentabfb784400c0b14002eb09a26015e71426fc9c8a (diff)
downloadgcc-a003f638eeb6ad379286d86e43a66bab17d9c96e.tar.gz
gjavah.c: Delete ACC_VISIBILITY define.
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. From-SVN: r31992
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h2
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