projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not panic, when the expression walker of the statement walker encounters an invali...
[cparser]
/
mangle.c
diff --git
a/mangle.c
b/mangle.c
index
e3d719d
..
1098307
100644
(file)
--- a/
mangle.c
+++ b/
mangle.c
@@
-160,8
+160,8
@@
static void mangle_entity(entity_t *entity)
/* TODO: mangle scope */
/* TODO: mangle scope */
-
symbol_t *symbol = entity->base.symbol
;
- obstack_printf(&obst, "%
u%s", strlen(symbol->string), symbol->string
);
+
const char *name = entity->base.symbol->string
;
+ obstack_printf(&obst, "%
zu%s", strlen(name), name
);
if (entity->kind == ENTITY_FUNCTION) {
mangle_parameters(&entity->declaration.type->function);
if (entity->kind == ENTITY_FUNCTION) {
mangle_parameters(&entity->declaration.type->function);