diff options
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |