aboutsummaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-31 16:22:29 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-31 16:22:29 -0400
commitdb6107c33df6a4fdb592ad29074d1159c37dc048 (patch)
tree56ebee4dc5cc3cbce280f1a016950169426ed915 /src/parse
parentb1866c6c94c7c5b6dc2907c0f51430c0596be707 (diff)
Bugfix for argument aliases (merge issue)
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 826fdbef..ceb0a8bc 100644
--- a/src/parse/functions.c
+++ b/src/parse/functions.c
@@ -76,7 +76,7 @@ arg_ast_t *parse_args(parse_ctx_t *ctx, const char **pos) {
REVERSE_LIST(names);
for (; names; names = names->next)
- args = new (arg_ast_t, .start = names->start, .end = names->end, .name = names->name, .alias = names->name,
+ args = new (arg_ast_t, .start = names->start, .end = names->end, .name = names->name, .alias = names->alias,
.type = type, .value = default_val, .next = args);
if (!match_separator(ctx, pos)) break;