projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43f6b44
)
Mark internal typedefs as "implicit", so the AST-printer does not show them.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 12 Sep 2008 12:44:42 +0000
(12:44 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 12 Sep 2008 12:44:42 +0000
(12:44 +0000)
[r21897]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
ad03d04
..
443946e
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-1092,6
+1092,7
@@
static type_t *make_global_typedef(const char *name, type_t *type)
declaration->type = type;
declaration->symbol = symbol;
declaration->source_position = builtin_source_position;
+ declaration->implicit = true;
record_declaration(declaration);