From 91e64fc95c22c4011975b8c83232741ba9b154c4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 25 Mar 2025 02:30:04 -0400 Subject: Fix parsing issue: `[1,2,3] _max_ [3,4,5]` was parsing as `_max_[..]` (indexing) --- src/parse.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3