aboutsummaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c1
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);