diff options
author | daurnimator <quae@daurnimator.com> | 2017-12-15 14:50:14 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-12-15 14:53:03 +1100 |
commit | b162ffe744bc407ad4035674f5c05848a460b58f (patch) | |
tree | 5d00c92294b3f562154104b269a5d6ca4d395c1e /src/luaconf.js | |
parent | 55ff446d1fdd5ad5982e2ce3f7118fca8c16880b (diff) | |
download | fengari-b162ffe744bc407ad4035674f5c05848a460b58f.tar.gz fengari-b162ffe744bc407ad4035674f5c05848a460b58f.tar.bz2 fengari-b162ffe744bc407ad4035674f5c05848a460b58f.zip |
src/lobject.js: Refactor luaO_chunkid to use Uint8Array.set
Diffstat (limited to 'src/luaconf.js')
-rw-r--r-- | src/luaconf.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaconf.js b/src/luaconf.js index 00663a6..5331720 100644 --- a/src/luaconf.js +++ b/src/luaconf.js @@ -19,7 +19,7 @@ const LUAI_MAXSTACK = 100000; @@ of a function in debug information. ** CHANGE it if you want a different size. */ -const LUA_IDSIZE = 60; +const LUA_IDSIZE = 60-1; /* fengari uses 1 less than lua as we don't embed the null byte */ const lua_integer2str = function(n) { return sprintf(LUA_INTEGER_FMT, n); |