summaryrefslogtreecommitdiff
path: root/src/lparser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lparser.js')
-rw-r--r--src/lparser.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lparser.js b/src/lparser.js
index 2dd9c7d..7fc1458 100644
--- a/src/lparser.js
+++ b/src/lparser.js
@@ -578,11 +578,10 @@ const leaveblock = function(fs) {
};
const close_func = function(ls) {
- let L = ls.L;
let fs = ls.fs;
- let f = fs.f;
lcode.luaK_ret(fs, 0, 0); /* final return */
leaveblock(fs);
+ assert(fs.bl === null);
ls.fs = fs.prev;
};