Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
fix: fix for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Mar 28, 2018
1 parent 4f3010d commit df88403
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/evaluate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ const visitors: EvaluateMap = {

const labelVarName: string = "@label-" + labelName;
const labelBreakVarName: string = "@break-" + labelName;
const labelContinueVarName: string = "@continue-" + labelName;

// set the label for loop
if (labelName) {
Expand Down Expand Up @@ -470,10 +469,6 @@ const visitors: EvaluateMap = {
update();
continue;
}
// Continue specified loop
// first, find the scope
const labelScope = loopScope.locate("@label-" + result.value);

return new Signal("continue", result.value);
}
continue;
Expand Down

0 comments on commit df88403

Please sign in to comment.