Add eachfile and mkaliasbn builtins

This commit is contained in:
2025-10-15 21:26:30 +02:00
parent 7936eb92f6
commit 317667cfb8
4 changed files with 127 additions and 8 deletions

View File

@ -8,7 +8,7 @@
extern PID_t PID;
extern Dev_t ps2kbdev;
static InterpResult RES;
InterpResult RES;
void tz_init(Tokenizer *tz, char *str) {
tz->str = str;
@ -116,6 +116,8 @@ void tz_classify(Tokenizer *tz) {
else IF_RTCMD(do)
else IF_RTCMD(stackpush)
else IF_RTCMD(stackpop)
else IF_RTCMD(eachfile)
else IF_RTCMD(mkaliasbn)
else {
tk->type = TOK_MISC;
}