This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/775: 2.97 error declaring nested class a friend


Synopsis: 2.97 error declaring nested class a friend

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Jan  2 03:40:05 2002
State-Changed-Why:
    2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR c++/775
    	* cp-tree.h (handle_class_head): Adjust prototype.
    	* decl2.c (handle_class_head): Add DEFN_P and NEW_TYPE_P
    	parameters. Use for all class heads.
    	* parse.y (named_class_head_sans_basetype, named_class_head,
    	named_complex_class_head_sans_basetype,
    	named_class_head_sans_basetype_defn,
    	unnamed_class_head): Remove.
    	(class_head, class_head_apparent_template): Recognize class heads
    	(class_head_decl, class_head_defn): New reductions. Process class
    	heads.
    	(structsp): Adjust class definition and class declaration
    	reductions.
    	(maybe_base_class_list): Give diagnostic on empty list.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=775


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]