From: Christoph Mallon Date: Wed, 4 Feb 2009 09:32:45 +0000 (+0000) Subject: Minor correction of error message. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=54834609855d1ebb0a12a5dddb51b96d6c43d123;p=cparser Minor correction of error message. [r25421] --- diff --git a/parser.c b/parser.c index 1cdadd7..611574c 100644 --- 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 {