From aed80436a0a5eb12d9cace916167b0f7bd433589 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 00:40:03 -0400 Subject: Splitting out parser more. --- src/parse/context.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/parse/context.h (limited to 'src/parse/context.h') diff --git a/src/parse/context.h b/src/parse/context.h new file mode 100644 index 00000000..6008060e --- /dev/null +++ b/src/parse/context.h @@ -0,0 +1,13 @@ +// A context parameter that gets passed around during parsing. +#pragma once + +#include +#include + +#include "../stdlib/files.h" + +typedef struct { + file_t *file; + jmp_buf *on_err; + int64_t next_lambda_id; +} parse_ctx_t; -- cgit v1.2.3