ast: stop this script cannot yield anymore
This commit is contained in:
1 file changed
-3
@@ -716,9 +716,6 @@ class ScriptTreeGenerator {
|
||||
kind: 'control.stopOthers'
|
||||
};
|
||||
} else if (level === 'this script') {
|
||||
if (!this.isProcedure) {
|
||||
this.yields = true;
|
||||
}
|
||||
return {
|
||||
kind: 'control.stopScript'
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user