diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 15:52:27 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-24 15:52:27 +0200 |
commit | fe15ff909f9edbbc485ae66d54d6415bf0843a6d (patch) | |
tree | 86842135b2027eb8ce6ef50647982ec42c1fd7c6 /src/ldo.js | |
parent | 31dcd12f5a9cd6a45e8ad9d1213a8a25d88fe885 (diff) | |
download | fengari-fe15ff909f9edbbc485ae66d54d6415bf0843a6d.tar.gz fengari-fe15ff909f9edbbc485ae66d54d6415bf0843a6d.tar.bz2 fengari-fe15ff909f9edbbc485ae66d54d6415bf0843a6d.zip |
lun/dump.js use 32bit integers
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ const f_parser = function(L, p) { let c = p.z.getc(); /* read first character */ if (c === lua.LUA_SIGNATURE.charCodeAt(0)) { checkmode(L, p.mode, lua.to_luastring("binary", true)); - cl = new BytecodeParser(L, p.z.buffer).luaU_undump(); + cl = new BytecodeParser(L, p.z.buffer, p.name).luaU_undump(); } else { checkmode(L, p.mode, lua.to_luastring("text", true)); cl = lparser.luaY_parser(L, p.z, p.buff, p.dyd, p.name, c); |