Skip to content

Commit 95e3bb4

Browse files
authored
Merge pull request #7 from Kacarott/main
Fix #6
2 parents 824ed10 + e2c07bc commit 95e3bb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lambdacalc.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ CodeMirror.defineMode("lambdacalc", function(_config, modeConfig) {
6464
state.bound.push([]);
6565
}
6666
else {
67+
if (!(state.depth.length && state.bound.length)) return FAIL;
6768
state.depth.pop();
6869
state.bound.pop();
6970
}

0 commit comments

Comments
 (0)