From 719fbd99329e0824124b1afd0b62751355c65721 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 29 Nov 2005 13:10:24 +0000 Subject: [PATCH] * typeck.c (build_x_unary_op): Correct spelling in error message. From-SVN: r107670 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/typeck.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 785c926e657..5d2cc80c085 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2005-11-30 Ben Elliston + + * typeck.c (build_x_unary_op): Correct spelling in error message. + 2005-11-28 Nathan Sidwell PR c++/21166 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 60ef195a90c..0ee630ab0d6 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -3688,7 +3688,7 @@ build_x_unary_op (enum tree_code code, tree xarg) } else { - error ("parenthesis around %qE cannot be used to form a" + error ("parentheses around %qE cannot be used to form a" " pointer-to-member-function", xarg); PTRMEM_OK_P (xarg) = 1; -- 2.30.2