summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}
};