aboutsummaryrefslogtreecommitdiff
path: root/src/parse/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/context.h')
-rw-r--r--src/parse/context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse/context.h b/src/parse/context.h
index 6008060e..f1e3be2f 100644
--- a/src/parse/context.h
+++ b/src/parse/context.h
@@ -4,10 +4,15 @@
#include <setjmp.h>
#include <stdint.h>
+#include "../stdlib/datatypes.h"
#include "../stdlib/files.h"
+#include "../stdlib/types.h"
+
+extern const TypeInfo_t *parse_comments_info;
typedef struct {
file_t *file;
jmp_buf *on_err;
int64_t next_lambda_id;
+ Table_t comments; // Map of <start pos> -> <end pos>
} parse_ctx_t;