aboutsummaryrefslogtreecommitdiff
path: root/testes/errors.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-18 16:45:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-06-18 16:45:55 -0300
commit07b009c3712c062957593d0a4fa82e0fe9023024 (patch)
tree1628514f820fdbf452d6e9c524a22d3dd14198b2 /testes/errors.lua
parentf71156744851701b5d5fabdda5061b31e53f8f14 (diff)
downloadlua-07b009c3712c062957593d0a4fa82e0fe9023024.tar.gz
lua-07b009c3712c062957593d0a4fa82e0fe9023024.tar.bz2
lua-07b009c3712c062957593d0a4fa82e0fe9023024.zip
No need to limit variable declarations to 250
Only local variables, which use registers, need this low limit.
Diffstat (limited to 'testes/errors.lua')
-rw-r--r--testes/errors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/errors.lua b/testes/errors.lua
index a0728913..4230a352 100644
--- a/testes/errors.lua
+++ b/testes/errors.lua
@@ -742,7 +742,7 @@ assert(c > 255 and string.find(b, "too many upvalues") and
742 742
743-- local variables 743-- local variables
744s = "\nfunction foo ()\n local " 744s = "\nfunction foo ()\n local "
745for j = 1,300 do 745for j = 1,200 do
746 s = s.."a"..j..", " 746 s = s.."a"..j..", "
747end 747end
748s = s.."b\n" 748s = s.."b\n"