aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-08-02 06:19:31 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-08-02 06:19:31 +0000
commit09dd27d41736334d78a46c06b3fe12cbc19335b6 (patch)
treee040325176b61240e12229701fbf0d7d288e51ad /gcc
parenta33ab1b1de41df7a5bd83f11e8cae11671b64a7b (diff)
downloadgcc-09dd27d41736334d78a46c06b3fe12cbc19335b6.zip
gcc-09dd27d41736334d78a46c06b3fe12cbc19335b6.tar.gz
gcc-09dd27d41736334d78a46c06b3fe12cbc19335b6.tar.bz2
* call.c (build_conditional_expr): Fix typo in comment.
From-SVN: r28391
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/call.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b70b803..829120f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+1999-08-01 Mark Mitchell <mark@codesourcery.com>
+
+ * call.c (build_conditional_expr): Fix typo in comment.
+
1999-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
* decl.c (finish_stmt): Don't declare and test cond_stack, loop_stack,
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 6f17fba..4ab4968 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -2754,8 +2754,8 @@ build_conditional_expr (arg1, arg2, arg3)
/* As a G++ extension, the second argument to the conditional can be
omitted. (So that `a ? : c' is roughly equivalent to `a ? a :
- c'.) If second operand is omitted, make sure it is calculated
- only once. */
+ c'.) If the second operand is omitted, make sure it is
+ calculated only once. */
if (!arg2)
{
if (pedantic)