ed

[hare] The standard editor
Log | Files | Refs | README | LICENSE

commit 3350101a685cf3b49e5233edf18f7663cb64590e
parent 1f848b072e8fa9752be851da1f6b2fa5c2cecb47
Author: Byron Torres <b@torresjrjr.com>
Date:   Mon, 29 Jan 2024 22:14:17 +0000

tidy TODOs

Diffstat:
Mparse.ha | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/parse.ha b/parse.ha @@ -137,7 +137,6 @@ fn parse(input: *bufio::scanner) (Command | ParseError | InteractionError) = { return cmd; }; -// TODO: remove 'bool' returns fn parse_cmdargs(cmd: *Command, t: *strings::iterator) (bool | ParseError) = { switch (cmd.name) { // [ ] @@ -226,7 +225,7 @@ fn parse_cmdargs(cmd: *Command, t: *strings::iterator) (bool | ParseError) = { }; cmd.arg1 = scan_item(t, cmd.delim).0; strings::next(t); // scan delimiter if exists - cmd.arg2 = scan_rest(t); // TODO: append to .subcmds? + cmd.arg2 = scan_rest(t); if (strings::prev(t) as rune == '\\') { return false; };