aboutsummaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/functions.c b/src/parse/functions.c
index 6cb085b7..826fdbef 100644
--- a/src/parse/functions.c
+++ b/src/parse/functions.c
@@ -41,7 +41,7 @@ arg_ast_t *parse_args(parse_ctx_t *ctx, const char **pos) {
const char *alias = NULL;
if (match(pos, "|")) {
- whitespace(pos);
+ whitespace(ctx, pos);
alias = get_id(pos);
if (!alias) parser_err(ctx, *pos, *pos, "I expected an argument alias after `|`");
}