summaryrefslogtreecommitdiff
path: root/src/lcode.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 00:28:56 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 00:50:45 +1000
commitdbd48417e3d502e32da9d339ac904547c8c5e0bc (patch)
tree1ef4ca561d62e63abd619facc60c0c31b72352f2 /src/lcode.js
parentc0d1f9b20883b964a3c4a14827f7973ff85bd57b (diff)
downloadfengari-dbd48417e3d502e32da9d339ac904547c8c5e0bc.tar.gz
fengari-dbd48417e3d502e32da9d339ac904547c8c5e0bc.tar.bz2
fengari-dbd48417e3d502e32da9d339ac904547c8c5e0bc.zip
src/lcode.js: fix typo in error message
Diffstat (limited to 'src/lcode.js')
-rw-r--r--src/lcode.js2
1 files changed, 1 insertions, 1 deletions
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;
}
};