diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-03-12 16:48:53 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann@users.noreply.github.com> | 2017-03-13 11:03:24 +0100 |
commit | 2a6993bf0e23e2a3759abb9d7127525577dc346c (patch) | |
tree | 2b605f78ee91ca242770c1573d1c2138677fd66b /src/ldo.js | |
parent | 4c404c404c281f1872f0283acbaee97657f3e08b (diff) | |
download | fengari-2a6993bf0e23e2a3759abb9d7127525577dc346c.tar.gz fengari-2a6993bf0e23e2a3759abb9d7127525577dc346c.tar.bz2 fengari-2a6993bf0e23e2a3759abb9d7127525577dc346c.zip |
Testing 8-bit strings
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -532,7 +532,7 @@ const f_parser = function(L, p) { let c = p.z.getc(); /* read first character */ if (String.fromCharCode(c) === lua.LUA_SIGNATURE.charAt(0)) { checkmode(L, p.mode, "binary"); - cl = new BytecodeParser(L, p.z.buffer); + cl = new BytecodeParser(L, p.z.buffer).luaU_undump(); } else { checkmode(L, p.mode, "text"); cl = lparser.luaY_parser(L, p.z, p.buff, p.dyd, p.name, c); |