summaryrefslogtreecommitdiff
path: root/src/lbaselib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-03-24 16:56:31 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-03-24 16:56:31 +0100
commit8871373cea55df0374ed0d4da9cd21f2fb08fe09 (patch)
tree7695a5e18b7505424552c281f66503b242f9b691 /src/lbaselib.js
parent7af8347dbb7a8c3a09d2aebccd5f96384a7c55c3 (diff)
downloadfengari-8871373cea55df0374ed0d4da9cd21f2fb08fe09.tar.gz
fengari-8871373cea55df0374ed0d4da9cd21f2fb08fe09.tar.bz2
fengari-8871373cea55df0374ed0d4da9cd21f2fb08fe09.zip
%c put the actual value in the string array
Diffstat (limited to 'src/lbaselib.js')
-rw-r--r--src/lbaselib.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbaselib.js b/src/lbaselib.js
index 11906db..a6f2ce8 100644
--- a/src/lbaselib.js
+++ b/src/lbaselib.js
@@ -251,6 +251,7 @@ const luaB_xpcall = function(L) {
return finishpcall(L, status, 2);
};
+// TODO: does it overwrite the upvalue of the previous closure ?
const load_aux = function(L, status, envidx) {
if (status === TS.LUA_OK) {
if (envidx !== 0) { /* 'env' parameter? */