aboutsummaryrefslogtreecommitdiff
path: root/ast.c
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.c
parentda3bf74ba8946f88b892907361f86f567301be83 (diff)
move out the main function to a seperate file
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ast.c b/ast.c
index f3ad3ba..c1feff9 100644
--- a/ast.c
+++ b/ast.c
@@ -1,6 +1,5 @@
#include <stdlib.h>
#include <assert.h>
-#include <stdarg.h>
#include <stdio.h>
#include "ast.h"
#include "cibic.tab.h"
@@ -8,9 +7,6 @@
CNode *ast_root;
-void cnode_init() {
-}
-
void cnode_reverse_chd(CNode *node) {
static CNode *chdn[MAX_CHDN];
CNode *p;