From af94552b0813259f12b8460cbc464301165296ea Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 Jan 2018 12:17:31 +1100 Subject: src/ldo.js: Fix typo (LUAT_NIL => LUA_TNIL) --- src/ldo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldo.js') diff --git a/src/ldo.js b/src/ldo.js index f49f92d..5a139bb 100644 --- a/src/ldo.js +++ b/src/ldo.js @@ -231,7 +231,7 @@ const moveresults = function(L, firstResult, res, nres, wanted) { lobject.setobjs2s(L, res + i, firstResult + i); for (; i < wanted; i++) { if (res+i >= L.top) - L.stack[res + i] = new lobject.TValue(CT.LUAT_NIL, null); + L.stack[res + i] = new lobject.TValue(CT.LUA_TNIL, null); else L.stack[res + i].setnilvalue(); } -- cgit v1.2.3-54-g00ecf