diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-06-18 16:45:55 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-06-18 16:45:55 -0300 |
| commit | 07b009c3712c062957593d0a4fa82e0fe9023024 (patch) | |
| tree | 1628514f820fdbf452d6e9c524a22d3dd14198b2 /testes/errors.lua | |
| parent | f71156744851701b5d5fabdda5061b31e53f8f14 (diff) | |
| download | lua-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.lua | 2 |
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 |
| 744 | s = "\nfunction foo ()\n local " | 744 | s = "\nfunction foo ()\n local " |
| 745 | for j = 1,300 do | 745 | for j = 1,200 do |
| 746 | s = s.."a"..j..", " | 746 | s = s.."a"..j..", " |
| 747 | end | 747 | end |
| 748 | s = s.."b\n" | 748 | s = s.."b\n" |
