OSDN Git Service

2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Sep 2001 16:01:45 +0000 (16:01 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Sep 2001 16:01:45 +0000 (16:01 +0000)
commit9f2cc694fb01b917c88cd6ce3b3d44c0e90b87a1
tree30481005378fd20ffc8b2a59df9a4f96dfebfa5f
parent82863d5e235b06f2fdbb514b5db470bd124814e8
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 )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45732 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/parse.h
gcc/java/parse.y