diff options
| author | Alexandre Petit-Bianco <apbianco@redhat.com> | 2001-07-31 15:20:05 -0700 |
|---|---|---|
| committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2001-07-31 15:20:05 -0700 |
| commit | 9d7d836262a3137e04bf23c6073717be26bcc667 (patch) | |
| tree | c1431312dd508cf15c33d179d6327cc406656347 /gcc/java/parse.h | |
| parent | 6d0f55e6bc86ecc0a8f227ade76ec0d224e6e1ef (diff) | |
| download | gcc-9d7d836262a3137e04bf23c6073717be26bcc667.zip gcc-9d7d836262a3137e04bf23c6073717be26bcc667.tar.gz gcc-9d7d836262a3137e04bf23c6073717be26bcc667.tar.bz2 | |
[multiple changes]
2001-07-18 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (create_interface): Avoid cyclic inheritance report when
syntax error encountered during class definition.
Fixes PR java/2956
2001-07-17 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.h (INTERFACE_INNER_MODIFIERS): Disallow `private.'
* parse.y (check_class_interface_creation): Allow `private' if the
enclosing is not an interface.
(create_interface): Interface tagged public if the enclosing
context is an interface.
(create_class): Class tagged public if the enclosing context
is an interface.
Fixes PR java/2959
2001-07-17 Alexandre Petit-Bianco <apbianco@redhat.com>
* class.c (push_class): Set DECL_SIZE to `integer_zero_node.'
Fixes PR java/2665
2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (java_complete_lsh): Set CAN_COMPLETE_NORMALLY and unset
TREE_CONSTANT_OVERFLOW of CASE_EXPR value.
Fixes PR java/3602
(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg02297.html )
From-SVN: r44524
Diffstat (limited to 'gcc/java/parse.h')
| -rw-r--r-- | gcc/java/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 798d139..a47e017 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -79,7 +79,7 @@ extern tree stabilize_reference PARAMS ((tree)); #define METHOD_MODIFIERS ACC_PUBLIC|ACC_PROTECTED|ACC_PRIVATE|ACC_ABSTRACT| \ ACC_STATIC|ACC_FINAL|ACC_SYNCHRONIZED|ACC_NATIVE #define INTERFACE_MODIFIERS ACC_PUBLIC|ACC_ABSTRACT -#define INTERFACE_INNER_MODIFIERS ACC_PUBLIC|ACC_PROTECTED|ACC_PRIVATE|ACC_ABSTRACT|ACC_STATIC +#define INTERFACE_INNER_MODIFIERS ACC_PUBLIC|ACC_PROTECTED|ACC_ABSTRACT|ACC_STATIC #define INTERFACE_METHOD_MODIFIERS ACC_PUBLIC|ACC_ABSTRACT #define INTERFACE_FIELD_MODIFIERS ACC_PUBLIC|ACC_STATIC|ACC_FINAL |
