* call.c, parser.c, tree.c: Fix comment typos.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 14:56:00 +0000 (14:56 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 14:56:00 +0000 (14:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77536 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/parser.c
gcc/cp/tree.c

index 661d9e7..48bbd25 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * call.c, parser.c, tree.c: Fix comment typos.
+
 2004-02-07  Zack Weinberg  <zack@codesourcery.com>
 
        Bug 13856
index 15382dc..559a8f7 100644 (file)
@@ -584,7 +584,7 @@ standard_conversion (tree to, tree from, tree expr)
                  (_class.member.lookup_) base class of D, a program
                  that necessitates this conversion is ill-formed.  */
               /* Therefore, we use DERIVED_FROM_P, and not
-                 ACESSIBLY_UNIQUELY_DERIVED_FROM_P, in this test.  */
+                 ACCESSIBLY_UNIQUELY_DERIVED_FROM_P, in this test.  */
               && DERIVED_FROM_P (TREE_TYPE (to), TREE_TYPE (from)))
        {
          from = 
@@ -5524,7 +5524,7 @@ compare_ics (tree ics1, tree ics2)
           A& is better than binding an expression of type C to a
           reference of type A&, 
 
-        --onversion of B to A is better than conversion of C to A  */
+        --conversion of B to A is better than conversion of C to A  */
       if (is_properly_derived_from (from_type1, to)
          && is_properly_derived_from (from_type2, to))
        {
index 684de50..b17d669 100644 (file)
@@ -1824,7 +1824,7 @@ cp_parser_name_lookup_error (cp_parser* parser,
 
 /* If we are parsing tentatively, remember that an error has occurred
    during this tentative parse.  Returns true if the error was
-   simulated; false if a messgae should be issued by the caller.  */
+   simulated; false if a message should be issued by the caller.  */
 
 static bool
 cp_parser_simulate_error (cp_parser* parser)
@@ -4895,7 +4895,7 @@ cp_parser_pm_expression (cp_parser* parser)
 
 /* Parse a multiplicative-expression.
 
-   mulitplicative-expression:
+   multiplicative-expression:
      pm-expression
      multiplicative-expression * pm-expression
      multiplicative-expression / pm-expression
index e07ecd8..cab8938 100644 (file)
@@ -2082,7 +2082,7 @@ cp_cannot_inline_tree_fn (tree* fnp)
   /* Don't auto-inline anything that might not be bound within
      this unit of translation.
      Exclude comdat functions from this rule.  While they can be bound
-     to the other unit, they all must be the same.  This is especilly
+     to the other unit, they all must be the same.  This is especially
      important so templates can inline.  */
   if (!DECL_DECLARED_INLINE_P (fn) && !(*targetm.binds_local_p) (fn)
       && !DECL_COMDAT (fn))