aboutsummaryrefslogtreecommitdiff
path: root/src/parse/binops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/binops.c')
-rw-r--r--src/parse/binops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/binops.c b/src/parse/binops.c
index 7ccf1379..a6ac43d2 100644
--- a/src/parse/binops.c
+++ b/src/parse/binops.c
@@ -108,7 +108,7 @@ ast_t *parse_infix_expr(parse_ctx_t *ctx, const char *pos, int min_tightness) {
else if (key) pos = key->end;
}
- whitespace(&pos);
+ whitespace(ctx, &pos);
if (get_line_number(ctx->file, pos) != starting_line && get_indent(ctx, pos) < starting_indent)
parser_err(ctx, pos, eol(pos), "I expected this line to be at least as indented than the line above it");