projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f048e4
)
Do not show typedefs, which were created for error correction, in the printed AST.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 30 Nov 2008 14:23:35 +0000
(14:23 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 30 Nov 2008 14:23:35 +0000
(14:23 +0000)
[r24160]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
f52ce43
..
b381548
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-3469,7
+3469,8
@@
static entity_t *create_error_entity(symbol_t *symbol, entity_kind_tag_t kind)
entity->declaration.type = type_error_type;
entity->declaration.implicit = true;
} else if (kind == ENTITY_TYPEDEF) {
- entity->typedefe.type = type_error_type;
+ entity->typedefe.type = type_error_type;
+ entity->typedefe.builtin = true;
}
record_entity(entity, false);
return entity;