summaryrefslogtreecommitdiff
path: root/include/parser/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser/proc.h')
-rw-r--r--include/parser/proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/parser/proc.h b/include/parser/proc.h
index 0cc8471..f74fee6 100644
--- a/include/parser/proc.h
+++ b/include/parser/proc.h
@@ -9,6 +9,7 @@
#include "list.h"
#include "hashmap.h"
+#include "parser/ast.h"
#include "parser/var.h"
struct parameter {
@@ -27,6 +28,8 @@ struct procedure {
struct type *ret_typ;
int ret_n_ptrs;
+
+ struct ast_node *node;
};
void parse_proc(struct parser *ctx);