From dbd48417e3d502e32da9d339ac904547c8c5e0bc Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 00:28:56 +1000 Subject: src/lcode.js: fix typo in error message --- src/lcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lcode.js b/src/lcode.js index 34d21c1..3d79f2f 100644 --- a/src/lcode.js +++ b/src/lcode.js @@ -380,7 +380,7 @@ const luaK_checkstack = function(fs, n) { let newstack = fs.freereg + n; if (newstack > fs.f.maxstacksize) { if (newstack >= MAXREGS) - llex.luaX_syntaxerror(fs.ls, defs.to_luastring("function or expression needs to many registers", true)); + llex.luaX_syntaxerror(fs.ls, defs.to_luastring("function or expression needs too many registers", true)); fs.f.maxstacksize = newstack; } }; -- cgit v1.2.3-70-g09d2