projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c4fe3
)
Fix argument for error message: It must be a string, not an enum.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 15 Nov 2008 08:48:05 +0000
(08:48 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 15 Nov 2008 08:48:05 +0000
(08:48 +0000)
[r23675]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
76c8e47
..
1c332d1
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4710,8
+4710,8
@@
static void error_redefined_as_different_kind(const source_position_t *pos,
const entity_t *old, entity_kind_t new_kind)
{
errorf(pos, "redeclaration of %s '%Y' as %s (declared %P)",
- get_entity_kind_name(old->kind), old->base.symbol,
new_kind,
- &old->base.source_position);
+ get_entity_kind_name(old->kind), old->base.symbol,
+
get_entity_kind_name(new_kind),
&old->base.source_position);
}
/**