]> gcc.gnu.org Git - gcc.git/commit
parse.y (<type_declaration>): Do maybe_generate_clinit last.
authorAlexandre Petit-Bianco <apbianco@sendai.cygnus.com>
Sat, 12 Dec 1998 20:04:35 +0000 (12:04 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 12 Dec 1998 20:04:35 +0000 (12:04 -0800)
commit7525cc04a83c94483e196df4d658a2daa7d8b55e
tree739256108330209193739d347cc2db46955cda29
parentfdec99c620f7f3eed47df81498b303cfc2e58f49
parse.y (<type_declaration>): Do maybe_generate_clinit last.


* parse.y (<type_declaration>):  Do maybe_generate_clinit last.
(register_fields):  If a static fields has an initializer, just
chain it on ctxp->static_initialized, and handle later.
(java_complete_expand_methods):  Force <clinit> first.
(resolve_expression_name, resolve_field_access):  Just get DECL_INITIAL
- it's already been completed.
(patch_initialized_static_field):  New function.
(java_complete_field):  Call it.

From-SVN: r24274
gcc/java/parse.y
This page took 0.055721 seconds and 5 git commands to generate.