diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-24 18:14:43 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-24 18:14:43 +1000 |
commit | bd4cecf089001c571617369c233851e4d0219505 (patch) | |
tree | adf1d05f80a9ef501e315c44ec2881be28663d62 /src/lapi.js | |
parent | ab13f4a023e66d6db74985482d902348149095e9 (diff) | |
download | fengari-bd4cecf089001c571617369c233851e4d0219505.tar.gz fengari-bd4cecf089001c571617369c233851e4d0219505.tar.bz2 fengari-bd4cecf089001c571617369c233851e4d0219505.zip |
src/lapi.js: Fix typo in lua_arith
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js index 44ed1ad..92e1612 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -896,7 +896,7 @@ const lua_arith = function(L, op) { } /* first operand at top - 2, second at top - 1; result go to top - 2 */ lobject.luaO_arith(L, op, L.stack[L.top - 2], L.stack[L.top - 1], L.stack[L.top - 2]); - L.op--; /* remove second operand */ + L.top--; /* remove second operand */ }; /* |