parse.h: (WFL_STRIP_BRACKET): Re-written using build_type_name_from_array_name.
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Fri, 21 Sep 2001 16:01:45 +0000 (09:01 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Fri, 21 Sep 2001 16:01:45 +0000 (09:01 -0700)
commit2e3b2d2c0791d979571fd33155b62e66ea7fe27c
tree30481005378fd20ffc8b2a59df9a4f96dfebfa5f
parent4bad9e39d1985c1cc951d966104bfe33db631b03
parse.h: (WFL_STRIP_BRACKET): Re-written using build_type_name_from_array_name.

2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.h: (WFL_STRIP_BRACKET): Re-written using
build_type_name_from_array_name.
(STRING_STRIP_BRACKETS): New macro.
* parse.y (build_type_name_from_array_name): New function.
(array_creation_expression:): Accumulate []s instead of [s.
(cast_expression:): Accumulate []s instead of [s after cast type
name.
(build_array_from_name): Local string deleted, use
build_type_name_from_array_name.
(build_unresolved_array_type): Accumulate []s instead of [s after
type name.
(register_fields): Fixed comment.
(resolve_class): Local name, base deleted, new locals tname and
array_dims. Use build_type_name_from_array_name. Use array_dims to
build array type.
(purify_type_name): Use STRING_STRIP_BRACKETS.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html )

From-SVN: r45732
gcc/java/ChangeLog
gcc/java/parse.h
gcc/java/parse.y