aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lapi.js2
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 */
};
/*