From bd4cecf089001c571617369c233851e4d0219505 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 24 May 2017 18:14:43 +1000 Subject: src/lapi.js: Fix typo in lua_arith --- src/lapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ }; /* -- cgit v1.2.3-70-g09d2