aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 9831f68..a886c2e 100644
--- a/ast.h
+++ b/ast.h
@@ -22,6 +22,7 @@ typedef struct CNode {
PLAIN_DECL,
DECLS,
FUNCS,
+ TYPEDEF,
/* Statments */
STMT,
@@ -75,6 +76,7 @@ CNode *cnode_create_func(CNode *type, CNode *declr, CNode *stmt);
CNode *cnode_create_init_declr(CNode *declr, CNode *initr);
CNode *cnode_create_struct_field(CNode *type_spec, CNode *declrs);
CNode *cnode_create_plain_decl(CNode *type_spec, CNode *declr);
+CNode *cnode_create_typedef(CNode *type, CNode *declrs);
CNode *cnode_create_identifier(char *val);
CNode *cnode_create_int_const(int val);