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 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);