From: Christoph Mallon Date: Fri, 12 Sep 2008 12:44:42 +0000 (+0000) Subject: Mark internal typedefs as "implicit", so the AST-printer does not show them. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a6cc155c6ec6a3e48b7e54420f207ba01192aefc;p=cparser Mark internal typedefs as "implicit", so the AST-printer does not show them. [r21897] --- diff --git a/parser.c b/parser.c index ad03d04..443946e 100644 --- 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);