diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-03-30 11:58:09 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-03-30 14:39:19 +0200 |
commit | 3813f2d43054708bab7221a5ca74a0183a2ebcaf (patch) | |
tree | 2e27bc81114099cbf94b18e2c139843e66db6b53 /src/lauxlib.js | |
parent | 456ab7b69f88859683c60cc2261e70d6dbadd8e8 (diff) | |
download | fengari-3813f2d43054708bab7221a5ca74a0183a2ebcaf.tar.gz fengari-3813f2d43054708bab7221a5ca74a0183a2ebcaf.tar.bz2 fengari-3813f2d43054708bab7221a5ca74a0183a2ebcaf.zip |
8-bit only in lstrlib
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 9813095..90cff5c 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -89,7 +89,7 @@ const luaL_argerror = function(L, arg, extramsg) { } if (ar.name === null) - ar.name = pushglobalfuncname(L, ar) ? lapi.lua_tostring(L, -1) : "?"; + ar.name = pushglobalfuncname(L, ar) ? lapi.lua_tostring(L, -1) : [lua.char["?"]]; return luaL_error(L, lua.to_luastring(`bad argument #${arg} to '${lobject.jsstring(ar.name)}' (${lobject.jsstring(extramsg)})`)); }; |