Commit 0f145be8 by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

parse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it…

parse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as the accessed field.

2000-05-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Complete the DECL_INITIAL tree
        before using it as the accessed field.

From-SVN: r34320
parent ac9cd70f
2000-05-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (resolve_field_access): Complete the DECL_INITIAL tree
before using it as the accessed field.
2000-05-31 Tom Tromey <tromey@cygnus.com>
* java-tree.h (boolean_array_vtable, byte_array_vtable,
......
......@@ -8606,7 +8606,7 @@ resolve_field_access (qual_wfl, field_decl, field_type)
&& JPRIMITIVE_TYPE_P (TREE_TYPE (decl))
&& DECL_INITIAL (decl))
{
field_ref = DECL_INITIAL (decl);
field_ref = java_complete_tree (DECL_INITIAL (decl));
static_final_found = 1;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment