diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-17 07:39:04 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-17 07:43:58 +0100 |
commit | e02fa80026ed5789e04ab865f238c8d184487dd2 (patch) | |
tree | 8b5771eb14d1a8bbd23a9027b8c71e73fc377ecd /src/lua.js | |
parent | 0e7ae6679bc7950b93799500a7749fbe61690ffa (diff) | |
download | fengari-e02fa80026ed5789e04ab865f238c8d184487dd2.tar.gz fengari-e02fa80026ed5789e04ab865f238c8d184487dd2.tar.bz2 fengari-e02fa80026ed5789e04ab865f238c8d184487dd2.zip |
JS closure
Diffstat (limited to 'src/lua.js')
-rw-r--r-- | src/lua.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ const LUA_MINSTACK = 20; const LUA_REGISTRYINDEX = -luaconf.LUAI_MAXSTACK - 1000; const lua_upvalueindex = function(i) { - LUA_REGISTRYINDEX - i; + return LUA_REGISTRYINDEX - i; }; /* predefined values in the registry */ |