|
@@ -234,8 +234,8 @@ export class IVProgProcessor {
|
|
|
return this.executeReturn(store, cmd);
|
|
|
} else if (cmd instanceof Commands.IfThenElse) {
|
|
|
return this.executeIfThenElse(store, cmd);
|
|
|
- } else if (cmd instanceof Commands.DoUntil) {
|
|
|
- return this.executeDoUntil(store, cmd);
|
|
|
+ } else if (cmd instanceof Commands.RepeatUntil) {
|
|
|
+ return this.executeRepeatUntil(store, cmd);
|
|
|
} else if (cmd instanceof Commands.While) {
|
|
|
return this.executeWhile(store, cmd);
|
|
|
} else if (cmd instanceof Commands.For) {
|
|
@@ -350,7 +350,7 @@ export class IVProgProcessor {
|
|
|
}).catch(error => Promise.reject(error));
|
|
|
}
|
|
|
|
|
|
- executeDoUntil (store, cmd) {
|
|
|
+ executeRepeatUntil (store, cmd) {
|
|
|
try {
|
|
|
this.loopTimers.push(Date.now());
|
|
|
this.context.push(Context.BREAKABLE);
|