This commit is contained in:
Zack Radisic
2025-02-24 14:27:16 -08:00
parent aa777db4b9
commit d2a9e0db54

View File

@@ -1675,6 +1675,7 @@ pub const Interpreter = struct {
}
fn executeAllowInner(self: NextExec) void {
var next_exec = self;
// FIXME: use labelled switch statement
while (true) switch (next_exec) {
.script => |a| next_exec = a._executeNext(),
.stmt => |a| next_exec = a._executeNext(),
@@ -3706,7 +3707,6 @@ pub const Interpreter = struct {
const ChildPtr = StatePtrUnion(.{
Script,
Subshell,
Expansion,
});