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]

Re: C++ PATCH: Overloaded operators


On May 28, 2000, Mark Mitchell <mark@codesourcery.com> wrote:

> 	* operators.def: New file.

There was a typo here, that broke libg++.  I'm checking this in under
the obviously correct rule.

Index: gcc/cp/ChangeLog
from  Alexandre Oliva  <aoliva@cygnus.com>

	* operators.def (<?): Duplicated, should have been...
	(>?): this.  Fixed.

Index: gcc/cp/operators.def
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/operators.def,v
retrieving revision 1.1
diff -u -r1.1 operators.def
--- gcc/cp/operators.def	2000/05/28 02:58:15	1.1
+++ gcc/cp/operators.def	2000/05/28 13:23:04
@@ -130,7 +130,7 @@
 DEF_SIMPLE_OPERATOR ("--", POSTDECREMENT_EXPR, "mm", "__mm", 2)
 /* These are extensions.  */
 DEF_SIMPLE_OPERATOR ("<?", MIN_EXPR, "vx3min", "__mn", 2)
-DEF_SIMPLE_OPERATOR ("<?", MAX_EXPR, "vx3max", "__mx", 2)
+DEF_SIMPLE_OPERATOR (">?", MAX_EXPR, "vx3max", "__mx", 2)
 
 /* Assignment operators.  */
 DEF_ASSN_OPERATOR ("=", NOP_EXPR, "aS", "__as", 2)

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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