From 500ea505a88233b81a0e22a99efe62a868f5d449 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 31 Aug 2025 15:36:02 -0400 Subject: Merge fixes --- src/parse/functions.c | 2 +- src/tomo.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 `|`"); } diff --git a/src/tomo.c b/src/tomo.c index 433597b0..cbb8a1b5 100644 --- a/src/tomo.c +++ b/src/tomo.c @@ -25,6 +25,7 @@ #include "parse/files.h" #include "stdlib/bools.h" #include "stdlib/bytes.h" +#include "stdlib/cli.h" #include "stdlib/datatypes.h" #include "stdlib/integers.h" #include "stdlib/lists.h" -- cgit v1.2.3