summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 7d9b347..61d6dfe 100644
--- a/parser.h
+++ b/parser.h
@@ -1,5 +1,6 @@
#pragma once
+#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
@@ -86,5 +87,6 @@ typedef enum Associativity{
} Associativity;
-ASTblock* parse(const char *source);
+AST* parse(const char *source);
+void ast_debug(FILE *stream,const AST *ast);
void ast_free(AST *ast);