Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacarott committed May 4, 2022
1 parent 824ed10 commit e2c07bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lambdacalc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ CodeMirror.defineMode("lambdacalc", function(_config, modeConfig) {
state.bound.push([]);
}
else {
if (!(state.depth.length && state.bound.length)) return FAIL;
state.depth.pop();
state.bound.pop();
}
Expand Down

0 comments on commit e2c07bc

Please sign in to comment.