summaryrefslogtreecommitdiff
path: root/src/ldo.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-02 15:47:19 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-03-02 20:45:06 +0100
commit319c40c4439a9eda7bd4a68769057cb12b04755a (patch)
tree76541920c3594e9a2e2f4c3a973f1815f9358ee1 /src/ldo.js
parent2e83b8d2e3ac6c30a53e7919a1808b732aeff5a4 (diff)
downloadfengari-319c40c4439a9eda7bd4a68769057cb12b04755a.tar.gz
fengari-319c40c4439a9eda7bd4a68769057cb12b04755a.tar.bz2
fengari-319c40c4439a9eda7bd4a68769057cb12b04755a.zip
lua_load use reader function
Diffstat (limited to 'src/ldo.js')
-rw-r--r--src/ldo.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldo.js b/src/ldo.js
index efb971d..668ea9b 100644
--- a/src/ldo.js
+++ b/src/ldo.js
@@ -547,6 +547,7 @@ const luaD_protectedparser = function(L, z, name, mode) {
L.nny++; /* cannot yield during parsing */
p.z = z;
+ p.buff.L = L;
p.name = name;
p.mode = mode;
p.dyd.actvar.arr = [];