* call.c, parser.c, tree.c: Fix comment typos.

From-SVN: r77536
This commit is contained in:
Kazu Hirata 2004-02-09 14:56:00 +00:00 committed by Kazu Hirata
parent b83c403610
commit 77077b39cb
4 changed files with 9 additions and 5 deletions

View 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

View 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))
{

View 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

View 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))