<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/main.lua, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2025-08-27T17:55:35+00:00</updated>
<entry>
<title>Bug: error with option '--' without a script</title>
<updated>2025-08-27T17:55:35+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-08-27T17:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9ac9d23f4164fc7e1eeea8a3e8d4e453dade51ab'/>
<id>urn:sha1:9ac9d23f4164fc7e1eeea8a3e8d4e453dade51ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Bad stack manipulation in 'multiline' (REPL)</title>
<updated>2024-07-05T17:31:07+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-05T17:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=30982bec968fd34694b5be3ecbbc92de78d8eacb'/>
<id>urn:sha1:30982bec968fd34694b5be3ecbbc92de78d8eacb</id>
<content type='text'>
'incomplete' was popping error message that should be used in case
there is no more lines to complete the input, that is, 'pushline'
returns NULL, due to end of file.
</content>
</entry>
<entry>
<title>Option '-l' discards version sufix from file name</title>
<updated>2023-05-15T16:46:38+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-15T16:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=09f3c2372f5dbeaec9f50614a26c1b5761726a88'/>
<id>urn:sha1:09f3c2372f5dbeaec9f50614a26c1b5761726a88</id>
<content type='text'>
Like 'require', the command-line option '-l' discards an optional
version suffix (everything after an hyphen) from a file name when
creating the module name.
</content>
</entry>
<entry>
<title>Small improvements in tests</title>
<updated>2023-05-15T13:20:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-15T13:20:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c197885cb00b85251c35cffdc4057efaee2d7a88'/>
<id>urn:sha1:c197885cb00b85251c35cffdc4057efaee2d7a88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid excessive name pollution in test files</title>
<updated>2022-12-28T21:34:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-12-28T21:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=314745ed8438d1276c6c928d5f9d4be018dfadb6'/>
<id>urn:sha1:314745ed8438d1276c6c928d5f9d4be018dfadb6</id>
<content type='text'>
Test files are more polite regarding the use of globals when locals
would do, and when globals are necessary deleting them after use.
</content>
</entry>
<entry>
<title>Simpler handling of Byte Order Mark (BOM)</title>
<updated>2022-08-23T19:08:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-08-23T19:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=02060b7a37d88d4e92cf64a008c0651eae432c12'/>
<id>urn:sha1:02060b7a37d88d4e92cf64a008c0651eae432c12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: finalizer calling exit can corrupt finalization order</title>
<updated>2021-12-22T12:00:52+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-12-22T12:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=597a53bbc681089d85b082b46c2e2428dec43b86'/>
<id>urn:sha1:597a53bbc681089d85b082b46c2e2428dec43b86</id>
<content type='text'>
'os.exit' can call lua_close again, separating new finalizers
created after all previous finalizers were already separated.
</content>
</entry>
<entry>
<title>Option '-l' can give a name for the global variable.</title>
<updated>2021-08-16T16:57:19+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-08-16T16:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=65434b4d1b5509e95940939e28fd90d4558da12e'/>
<id>urn:sha1:65434b4d1b5509e95940939e28fd90d4558da12e</id>
<content type='text'>
Sintax for this option now is '-l [globname=]modname'.
</content>
</entry>
<entry>
<title>_PROMPT can have non-string values</title>
<updated>2020-10-26T14:15:51+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-26T14:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=69b71a69197de0cb6f7f58f5d7c55d9a9a6e529d'/>
<id>urn:sha1:69b71a69197de0cb6f7f58f5d7c55d9a9a6e529d</id>
<content type='text'>
'get_prompt' uses 'luaL_tolstring' to convert _PROMPT or _PROMPT2
value to a string. That conversion may invoke a '__tostring'
metamethod.
</content>
</entry>
<entry>
<title>Avoid memory allocation in some functions from 'ltests.c'</title>
<updated>2020-07-04T19:40:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-04T19:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=bfcf06d91a87b7ffb8c83e290db0cb6176a167f8'/>
<id>urn:sha1:bfcf06d91a87b7ffb8c83e290db0cb6176a167f8</id>
<content type='text'>
To allow their use in memory tests, some functions in 'ltests.c'
should never allocate memory. To avoid this allocation, the
library registers the strings used for status codes, and keeps
the variable '_WARN' always defined (with false instead of nil).
</content>
</entry>
</feed>
