aboutsummaryrefslogtreecommitdiff
path: root/src/parse/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 01:00:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 01:00:13 -0400
commit3cf0d5f0bee3787a3d46126d5c0e1310e35a7cb9 (patch)
tree035e97eaaf2d722daa6ffa0d447d0a8c34a5f0b9 /src/parse/text.h
parentc859ed479227cee2cecedb83d74a40acf9758051 (diff)
Split out text parsing logic
Diffstat (limited to 'src/parse/text.h')
-rw-r--r--src/parse/text.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parse/text.h b/src/parse/text.h
new file mode 100644
index 00000000..cd07e0e1
--- /dev/null
+++ b/src/parse/text.h
@@ -0,0 +1,8 @@
+// Logic for parsing text literals
+#pragma once
+
+#include "../ast.h"
+#include "context.h"
+
+ast_t *parse_text(parse_ctx_t *ctx, const char *pos);
+ast_t *parse_inline_c(parse_ctx_t *ctx, const char *pos);