OSDN Git Service

* ChangeLog.1, ChangeLog.2, ChangeLog, NEWS, call.c, class.c,
[pf3gnuchains/gcc-fork.git] / gcc / cp / operators.def
index ddae93a..775f59d 100644 (file)
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA.  */
    NAME
 
      The name of the operator, as a C string, but without the
-     preceeding `operator'.  This is the name that would be given in
+     preceding `operator'.  This is the name that would be given in
      the source program.  For `operator +', for example, this would be
      `+'.
    
@@ -48,7 +48,7 @@ Boston, MA 02111-1307, USA.  */
 
    OLD_MANGLING
 
-     Analagous, but for the old ABI.
+     Analogous, but for the old ABI.
 
    ARITY
    
@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA.  */
 
    There is code (such as in grok_op_properties) that depends on the
    order the operators are presented in this file.  In particular,
-   unary operators must preceed binary operators.  */
+   unary operators must precede binary operators.  */
  
 /* Use DEF_SIMPLE_OPERATOR to define a non-assignment operator.  Its
    arguments are as for DEF_OPERATOR, but there is no need to provide
@@ -102,6 +102,9 @@ DEF_SIMPLE_OPERATOR ("alignof", ALIGNOF_EXPR, "v17alignof", 1)
 
 /* The cast operator.  */
 DEF_SIMPLE_OPERATOR ("", TYPE_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CONST_CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", STATIC_CAST_EXPR, "cv", 1)
 
 /* Binary operators.  */
 DEF_SIMPLE_OPERATOR ("+", PLUS_EXPR, "pl", 2)