diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-25 02:30:04 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-25 02:30:04 -0400 |
| commit | 91e64fc95c22c4011975b8c83232741ba9b154c4 (patch) | |
| tree | 8c70f2fcd0ac06bcaef3caa6348ea8b504d5f7bc /src | |
| parent | be221b90655923402d04aa57e3eef331ae608490 (diff) | |
Fix parsing issue: `[1,2,3] _max_ [3,4,5]` was parsing as `_max_[..]`
(indexing)
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c index dabb3729..6c47dd38 100644 --- a/src/parse.c +++ b/src/parse.c @@ -999,7 +999,6 @@ ast_t *parse_index_suffix(parse_ctx_t *ctx, ast_t *lhs) { if (!lhs) return NULL; const char *start = lhs->start; const char *pos = lhs->end; - spaces(&pos); if (!match(&pos, "[")) return NULL; whitespace(&pos); ast_t *index = optional(ctx, &pos, parse_extended_expr); |
