Minor correction of error message.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 4 Feb 2009 09:32:45 +0000 (09:32 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 4 Feb 2009 09:32:45 +0000 (09:32 +0000)
[r25421]

parser.c

index 1cdadd7..611574c 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -10581,10 +10581,10 @@ static statement_t *parse_return(void)
                                /* Only warn in C mode, because GCC does the same */
                                if (strict_mode) {
                                        errorf(pos,
-                                                       "'return' with expression in function return 'void'");
+                                                       "'return' with expression in function returning 'void'");
                                } else if (warning.other) {
                                        warningf(pos,
-                                                       "'return' with expression in function return 'void'");
+                                                       "'return' with expression in function returning 'void'");
                                }
                        }
                } else {