From 54834609855d1ebb0a12a5dddb51b96d6c43d123 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 4 Feb 2009 09:32:45 +0000 Subject: [PATCH] Minor correction of error message. [r25421] --- parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.20.1