diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2026-01-19 20:51:26 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2026-01-19 20:52:23 -0500 |
| commit | f905f1e4d1c77410931dc5ebfd8bcf466864a3e2 (patch) | |
| tree | 32d52ad87f303237e451c90c1a33b12217a1c6e5 /src/parse/utils.h | |
| parent | a36f149d0837f4424aeda1a1853f08c27aeafa44 (diff) | |
Allow parsing `123.foo()` as `(123).foo()`
Diffstat (limited to 'src/parse/utils.h')
| -rw-r--r-- | src/parse/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/utils.h b/src/parse/utils.h index b8fb0756..89b1cc82 100644 --- a/src/parse/utils.h +++ b/src/parse/utils.h @@ -22,6 +22,7 @@ bool indent(parse_ctx_t *ctx, const char **pos); const char *eol(const char *str); PUREFUNC int64_t get_indent(parse_ctx_t *ctx, const char *pos); const char *unescape(parse_ctx_t *ctx, const char **out); +bool is_xid_start_next(const char *pos); bool is_xid_continue_next(const char *pos); bool newline_with_indentation(const char **out, int64_t target); bool match_separator(parse_ctx_t *ctx, const char **pos); |
