aboutsummaryrefslogtreecommitdiff
path: root/src/ldo.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-01-22 12:17:31 +1100
committerdaurnimator <quae@daurnimator.com>2018-01-22 12:19:11 +1100
commitaf94552b0813259f12b8460cbc464301165296ea (patch)
treedeb9e5fd02dfa79a0a38fd765b2b91b763175dd2 /src/ldo.js
parentb174abb643f03513cb91efb3c05403a08b83a3fe (diff)
downloadfengari-af94552b0813259f12b8460cbc464301165296ea.tar.gz
fengari-af94552b0813259f12b8460cbc464301165296ea.tar.bz2
fengari-af94552b0813259f12b8460cbc464301165296ea.zip
src/ldo.js: Fix typo (LUAT_NIL => LUA_TNIL)
Diffstat (limited to 'src/ldo.js')
-rw-r--r--src/ldo.js2
1 files changed, 1 insertions, 1 deletions
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();
}