aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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)