parse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to java_complete_tree.
* parse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to java_complete_tree. From-SVN: r34732
This commit is contained in:
parent
6ef67412e8
commit
70541f45e9
|
@ -1,3 +1,8 @@
|
|||
2000-06-26 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* parse.y (resolve_field_access): Pass decl, not DECL_INITIAL, to
|
||||
java_complete_tree.
|
||||
|
||||
2000-06-25 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* parse.y (for_statement): Wrap expression in a WFL if it is a
|
||||
|
|
|
@ -11450,7 +11450,7 @@ resolve_field_access (qual_wfl, field_decl, field_type)
|
|||
&& JPRIMITIVE_TYPE_P (TREE_TYPE (decl))
|
||||
&& DECL_INITIAL (decl))
|
||||
{
|
||||
field_ref = java_complete_tree (DECL_INITIAL (decl));
|
||||
field_ref = java_complete_tree (decl);
|
||||
static_final_found = 1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -8752,7 +8752,7 @@ resolve_field_access (qual_wfl, field_decl, field_type)
|
|||
&& JPRIMITIVE_TYPE_P (TREE_TYPE (decl))
|
||||
&& DECL_INITIAL (decl))
|
||||
{
|
||||
field_ref = java_complete_tree (DECL_INITIAL (decl));
|
||||
field_ref = java_complete_tree (decl);
|
||||
static_final_found = 1;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue