fix two typos
authorBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 14 Oct 1997 20:45:22 +0000 (16:45 -0400)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 14 Oct 1997 20:45:22 +0000 (16:45 -0400)
From-SVN: r15906

gcc/cp/init.c
gcc/cp/typeck.c

index 985fae8f3353d939d7f351f5cf5a8925f11f6e2d..7332c7bb8f9b710c4607cc68897453ff99663fa8 100644 (file)
@@ -2131,7 +2131,7 @@ resolve_offset_ref (exp)
       member = cp_convert (ptrdiff_type_node,
                           build_unary_op (ADDR_EXPR, member, 0));
       
-      /* Pointer to data mebers are offset by one, so that a null
+      /* Pointer to data members are offset by one, so that a null
         pointer with a real value of 0 is distinguishable from an
         offset of the first member of a structure.  */
       member = build_binary_op (MINUS_EXPR, member,
index a97dbbb79e794cef23f2d16c904341470f5da34c..d5d4381cbd83b817d76887f91d6724b5f276121c 100644 (file)
@@ -4660,7 +4660,7 @@ unary_complex_lvalue (code, arg)
                                           DECL_FIELD_BITPOS (t),
                                           size_int (BITS_PER_UNIT)));
 
-         /* We offset all pointer to data memebers by 1 so that we can
+         /* We offset all pointer to data members by 1 so that we can
             distinguish between a null pointer to data member and the first
             data member of a structure.  */
          offset = size_binop (PLUS_EXPR, offset, size_int (1));