diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 15:45:47 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 15:45:47 +0000 |
| commit | 5407b68e9759bde3056c01ddcda9c5934aca2e28 (patch) | |
| tree | 46d80a7b58be333d1dda31793a2ae9a20dba1383 | |
| parent | d2e393763ea145f84ea17595115af2093a5a74c5 (diff) | |
| download | ppe42-gcc-5407b68e9759bde3056c01ddcda9c5934aca2e28.tar.gz ppe42-gcc-5407b68e9759bde3056c01ddcda9c5934aca2e28.zip | |
* typeck.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91340 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 6a8aea8e4e1..65bf6e0e55a 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 149a38896c7..1bd12e71a3b 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)) |

