aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-04-15 21:48:54 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-04-15 21:48:54 +0000
commite69460b6649f2d982bff0f0a12ffe53713868977 (patch)
tree87ba791164277971b8a8929561f9acfe6b31432d /gcc
parent75c40d56f7c0f3fcc5c630694c14d74011d2c1a3 (diff)
downloadgcc-e69460b6649f2d982bff0f0a12ffe53713868977.zip
gcc-e69460b6649f2d982bff0f0a12ffe53713868977.tar.gz
gcc-e69460b6649f2d982bff0f0a12ffe53713868977.tar.bz2
* cp/call.c: Fix comment typos.
From-SVN: r112972
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/call.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 479f21a..19666e0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -8,6 +8,8 @@
maybe_end_member_template_processing): Use VEC instead of
VARRAY.
+ * cp/call.c: Fix comment typos.
+
2006-04-12 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_init_declarator): Initialize local variables
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index b79d03b..c9826451 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -3982,7 +3982,7 @@ build_op_delete_call (enum tree_code code, tree addr, tree size,
if (placement)
{
- /* Get the parmaeter types for the allocation function that is
+ /* Get the parameter types for the allocation function that is
being called. */
gcc_assert (alloc_fn != NULL_TREE);
argtypes = TREE_CHAIN (TYPE_ARG_TYPES (TREE_TYPE (alloc_fn)));
@@ -5452,7 +5452,7 @@ build_new_method_call (tree instance, tree fns, tree args,
/* Now we know what function is being called. */
if (fn_p)
*fn_p = fn;
- /* Build the actuall CALL_EXPR. */
+ /* Build the actual CALL_EXPR. */
call = build_over_call (cand, flags);
/* In an expression of the form `a->f()' where `f' turns
out to be a static member function, `a' is