Fix for PR java/5368:
* parse.y (resolve_qualified_expression_name): Use decl not field_decl
when printing error message.
From-SVN: r51327
+2002-03-22 Mark Wielaard <mark@klomp.org>
+
+ Fix for PR java/5368:
+ * parse.y (resolve_qualified_expression_name): Use decl not field_decl
+ when printing error message.
+
2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
* decl.c (maybe_build_cleanup): Remove.
(qual_wfl, "Attempt to reference field `%s' in `%s %s'",
IDENTIFIER_POINTER (EXPR_WFL_NODE (qual_wfl)),
lang_printable_name (type, 0),
- IDENTIFIER_POINTER (DECL_NAME (field_decl)));
+ IDENTIFIER_POINTER (DECL_NAME (decl)));
return 1;
}