diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-26 15:45:47 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-26 15:45:47 +0000 |
commit | 276318a57f61baf531633700b9678f92273f5573 (patch) | |
tree | 46d80a7b58be333d1dda31793a2ae9a20dba1383 /gcc | |
parent | 6668f6a735b8a7f59a2600d7f8b961597e9b8040 (diff) | |
download | gcc-276318a57f61baf531633700b9678f92273f5573.zip gcc-276318a57f61baf531633700b9678f92273f5573.tar.gz gcc-276318a57f61baf531633700b9678f92273f5573.tar.bz2 |
* typeck.c: Fix a comment typo.
From-SVN: r91340
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/typeck.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6a8aea8..65bf6e0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-11-26 Kazu Hirata <kazu@cs.umass.edu> + + * typeck.c: Fix a comment typo. + 2004-11-25 Mark Mitchell <mark@codesourcery.com> PR c++/18445 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 149a388..1bd12e7 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -6230,7 +6230,7 @@ check_return_expr (tree retval) /* Remember that this function did return a value. */ current_function_returns_value = 1; - /* Check for errnoneous operands -- but after giving ourselves a + /* Check for erroneous operands -- but after giving ourselves a chance to provide an error about returning a value from a void function. */ if (error_operand_p (retval)) |