* decl.c (grokdeclarator): Allow field with same name as class
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Dec 1998 16:41:15 +0000 (16:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Dec 1998 16:41:15 +0000 (16:41 +0000)
commit1ce558243e2c95041ba241042a7c4af53999ed33
treeca189ed953b571a2b77b7df975656cfd2e91ab68
parent3194b94cc3300022cf2b51bcd18cbc52cab97486
* decl.c (grokdeclarator): Allow field with same name as class
in extern "C".
* decl.c (lookup_name_real): Don't limit field lookup to types.
* class.c (check_member_decl_is_same_in_complete_scope): No error
if icv and x are the same.
* lex.c (do_identifier): Tweak error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24269 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/lex.c