aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-24 18:14:43 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-24 18:14:43 +1000
commitbd4cecf089001c571617369c233851e4d0219505 (patch)
treeadf1d05f80a9ef501e315c44ec2881be28663d62 /src
parentab13f4a023e66d6db74985482d902348149095e9 (diff)
downloadfengari-bd4cecf089001c571617369c233851e4d0219505.tar.gz
fengari-bd4cecf089001c571617369c233851e4d0219505.tar.bz2
fengari-bd4cecf089001c571617369c233851e4d0219505.zip
src/lapi.js: Fix typo in lua_arith
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 */
};
/*