diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:28:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:28:31 -0400 |
| commit | 6004f8eabb1a41e735a0e28d9b9b93c516526fb7 (patch) | |
| tree | c269b127f7f1db8bb7f68ce330da128661cc709d /src/parse/text.c | |
| parent | fbc6b59305d8414bb1cb471ea3f85a8d926beb4f (diff) | |
Less public
Diffstat (limited to 'src/parse/text.c')
| -rw-r--r-- | src/parse/text.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parse/text.c b/src/parse/text.c index 5fe58da4..b5fd3422 100644 --- a/src/parse/text.c +++ b/src/parse/text.c @@ -116,7 +116,6 @@ static ast_list_t *_parse_text_helper(parse_ctx_t *ctx, const char **out_pos, ch return chunks; } -public ast_t *parse_text(parse_ctx_t *ctx, const char *pos) { // ('"' ... '"' / "'" ... "'" / "`" ... "`") // "$" [name] [interp-char] quote-char ... close-quote @@ -157,7 +156,6 @@ ast_t *parse_text(parse_ctx_t *ctx, const char *pos) { return NewAST(ctx->file, start, pos, TextJoin, .lang = lang, .children = chunks, .colorize = colorize); } -public ast_t *parse_inline_c(parse_ctx_t *ctx, const char *pos) { const char *start = pos; if (!match_word(&pos, "C_code")) return NULL; @@ -184,7 +182,6 @@ ast_t *parse_inline_c(parse_ctx_t *ctx, const char *pos) { return NewAST(ctx->file, start, pos, InlineCCode, .chunks = chunks, .type_ast = type); } -public ast_t *parse_path(parse_ctx_t *ctx, const char *pos) { // "(" ("~/" / "./" / "../" / "/") ... ")" const char *start = pos; |
