projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368123e
)
Tweak error message: Avoid printing null pointer string.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 1 Jan 2009 20:12:42 +0000
(20:12 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 1 Jan 2009 20:12:42 +0000
(20:12 +0000)
[r25029]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
b5a0136
..
f2d9a36
100644
(file)
--- 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
);
}
}