projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b9e3d
)
missing skip_typeref
author
Matthias Braun
<matze@braunis.de>
Sat, 13 Dec 2008 19:47:38 +0000
(19:47 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 13 Dec 2008 19:47:38 +0000
(19:47 +0000)
[r24626]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
03b2c59
..
c989f72
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-4411,7
+4411,7
@@
static void declaration_statement_to_firm(declaration_statement_t *statement)
if (is_declaration(entity)) {
initialize_local_declaration(entity);
} else if (entity->kind == ENTITY_TYPEDEF) {
- type_t *const type =
entity->typedefe.type
;
+ type_t *const type =
skip_typeref(entity->typedefe.type)
;
if (is_type_array(type) && type->array.is_vla)
get_vla_size(&type->array);
}