aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-25 18:27:50 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-25 18:27:50 +0800
commit32cc498a2eb0b189cc90918dc28f8933b2f55278 (patch)
tree1c6a8fe5961d525a7c32180cf7b927525344a184 /ast.h
parent79b8219a7b8a786740a6c57b2d819953bcf261de (diff)
location trackdownlocation_tracking
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 f467546..eaed761 100644
--- a/ast.h
+++ b/ast.h
@@ -1,6 +1,7 @@
#ifndef AST_H
#define AST_H
#include <stdarg.h>
+#include "cibic.tab.h"
#define EXP_POSTFIX 1024
#define POSTFIX_ARR 1025
@@ -69,6 +70,7 @@ typedef struct CNode {
} loc;
} CNode;
+CNode *cnode_add_loc(CNode *node, YYLTYPE loc);
CNode *cnode_create_ast(CNode *wrapped);
CNode *cnode_create_nop();
CNode *cnode_create_general(int type, int subtype, int pnum, va_list ap);