summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 5cf0381..115883f 100644
--- a/parse.c
+++ b/parse.c
@@ -1205,7 +1205,7 @@ static bool parse_expr(Parser *p, Expression *e, Token *end) {
err_print(arg->where, "Directives cannot have named arguments.");
return false;
}
- *(Expression *)arr_add(&e->direct.args) = arg->val;
+ *(Expression *)parser_arr_add(p, &e->direct.args) = arg->val;
}
return true;
} else {