From 598b837d653c7eef9b8d6eddc6bc9eb8804e3321 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 1 Jan 2009 20:12:42 +0000 Subject: [PATCH] Tweak error message: Avoid printing null pointer string. [r25029] --- parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.c b/parser.c index b5a0136..f2d9a36 100644 --- a/parser.c +++ b/parser.c @@ -4159,8 +4159,8 @@ static void semantic_parameter_incomplete(const entity_t *entity) type_t *type = skip_typeref(entity->declaration.type); if (is_type_incomplete(type)) { errorf(&entity->base.source_position, - "parameter '%Y' has incomplete type '%T'", entity->base.symbol, - entity->declaration.type); + "parameter '%#T' has incomplete type", + entity->declaration.type, entity->base.symbol); } } -- 2.20.1