re PR java/1074 (jv-scan fails on ArrayClass.java)
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Wed, 4 Apr 2001 17:56:25 +0000 (10:56 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Wed, 4 Apr 2001 17:56:25 +0000 (10:56 -0700)
commitde307574bfcdeaf87a7114481d7e1ff4b5ef0dcd
tree46add0978bcd240d9c609861d2cde22aecf52c3c
parentdd7fc59c3605672536f627d4089baedef8af1aed
re PR java/1074 (jv-scan fails on ArrayClass.java)

2001-03-30  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse-scan.y (array_type:): Rewritten.
(type_declaration:): `empty_statement' replaces `SC_TK.'
(class_member_declaration:): `empty statement' added.
(method_body:): Simplified.
(static_initializer:): Likewise.
(primary_no_new_array:): Use `type_literals.'
(type_literals:): New rule.
(dims:): Set and update `bracket_count.'
Fixes PR java/1074. Fixes PR java/2412.

(http://gcc.gnu.org/ml/gcc-bugs/2001-03/msg00835.html,
 http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00384.html,
 http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00258.html)

From-SVN: r41089
gcc/java/ChangeLog
gcc/java/parse-scan.y