diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 15:36:02 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 15:36:02 -0400 |
| commit | 500ea505a88233b81a0e22a99efe62a868f5d449 (patch) | |
| tree | bbd2ee3d6465330efa4bf7d59b153157f0d24696 /src | |
| parent | f775d6602989eec9d37deb16979922004a77a70c (diff) | |
Merge fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse/functions.c | 2 | ||||
| -rw-r--r-- | src/tomo.c | 1 |
2 files changed, 2 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 `|`"); } @@ -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" |
