aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-25 04:11:54 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-25 04:11:54 +0800
commit4f90efb9a08b697b7ef270a4d2ee067dc853f251 (patch)
tree229eb348ca132a3969b1906dec90e29edd8cd06a /ast.h
parentda3bf74ba8946f88b892907361f86f567301be83 (diff)
move out the main function to a seperate file
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.h b/ast.h
index 17b75d6..3399cb7 100644
--- a/ast.h
+++ b/ast.h
@@ -1,5 +1,6 @@
#ifndef AST_H
#define AST_H
+#include <stdarg.h>
#define EXP_POSTFIX 1024
#define POSTFIX_ARR 1025
@@ -68,7 +69,6 @@ typedef struct CNode {
} loc;
} CNode;
-void cnode_init();
CNode *cnode_create_ast(CNode *wrapped);
CNode *cnode_create_nop();
CNode *cnode_create_general(int type, int subtype, int pnum, va_list ap);