This is the mail archive of the gcc-patches@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]

patch for minor typo


...attached.

-- 
----------------------------------------------------------------------
Paul Burchard   <burchard@pobox.com>   http://www.pobox.com/~burchard/
----------------------------------------------------------------------
*** gcc/cp/ChangeLog.orig	Fri Aug 20 11:36:33 1999
--- gcc/cp/ChangeLog	Mon Aug 23 12:14:42 1999
***************
*** 1,3 ****
--- 1,8 ----
+ Mon Aug 23 12:13:14 PDT 1999 Paul Burchard <burchard@pobox.com>
+ 
+ 	* decl.c (check_default_argument): Substitute `parameter'
+ 	for `paramter'.
+ 
  Mon Aug 16 01:29:24 PDT 1999 Jeff Law  (law@cygnus.com)
  
  	* gcc-2.95.1 Released.
*** gcc/cp/decl.c.orig	Fri Aug 20 11:36:34 1999
--- gcc/cp/decl.c	Mon Aug 23 12:10:59 1999
***************
*** 11812,11818 ****
  	cp_error ("default argument for `%#D' has type `%T'", 
  		  decl, TREE_TYPE (arg));
        else
! 	cp_error ("default argument for paramter of type `%T' has type `%T'",
  		  decl_type, TREE_TYPE (arg));
  
        return error_mark_node;
--- 11812,11818 ----
  	cp_error ("default argument for `%#D' has type `%T'", 
  		  decl, TREE_TYPE (arg));
        else
! 	cp_error ("default argument for parameter of type `%T' has type `%T'",
  		  decl_type, TREE_TYPE (arg));
  
        return error_mark_node;

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