diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-15 13:09:44 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-15 13:09:44 +0000 |
| commit | 85f51d7452a68bf189a7918ce2c4c697fbb253c0 (patch) | |
| tree | 1e599bb20fca228f28e09640dffe0689ba351ff6 /gcc/java/parse.h | |
| parent | bf2e9a2448bd90d48edc4ef9123fb89a3126a3f7 (diff) | |
| download | ppe42-gcc-85f51d7452a68bf189a7918ce2c4c697fbb253c0.tar.gz ppe42-gcc-85f51d7452a68bf189a7918ce2c4c697fbb253c0.zip | |
d
* class.c (make_class): Don't set CLASS_P here (because
this function is also called by build_java_array_type).
(push_class): Set CLASS_P here instead.
* parse.h (TYPE_CLASS_P): Check for TYPE_ARRAY_P is redundant.
* jcf-dump.c (print_access_flags): Take extra parameter to indicate
context. If the context is class, perfer "super" over "synchronized".
* jcf-write.c (generate_classfile): Don't add ACC_SUPER if interface.
* parse.y (create_class): Don't call parser_check_super here;
it is not robust. Always wait until later.
* parse.y (method_header): For interfaces, set ACC_ABSTRACT (to
match what JDK 1.2 does), but don't set ACC_PUBLIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.h')
| -rw-r--r-- | gcc/java/parse.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h index c78c5bb6807..f59c4ca4b42 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -208,8 +208,7 @@ extern tree stabilize_reference PROTO ((tree)); (CLASS_P (TYPE) && CLASS_INTERFACE (TYPE_NAME (TYPE))) #define TYPE_CLASS_P(TYPE) (CLASS_P (TYPE) \ - && !CLASS_INTERFACE (TYPE_NAME (TYPE)) \ - && !TYPE_ARRAY_P (TYPE)) + && !CLASS_INTERFACE (TYPE_NAME (TYPE))) /* Standard error messages */ #define ERROR_CANT_CONVERT_TO_BOOLEAN(OPERATOR, NODE, TYPE) \ |

