summaryrefslogtreecommitdiff
path: root/testes/literals.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added macro 'luaL_pushfail'Roberto Ierusalimschy2019-08-161-1/+1
| | | | | | | | The macro 'luaL_pushfail' documents all places in the standard libraries that return nil to signal some kind of failure. It is defined as 'lua_pushnil'. The manual also got a notation (@fail) to document those returns. The tests were changed to be agnostic regarding whether 'fail' is 'nil' or 'false'.
* Syntax should not allow numbers touching identifiersRoberto Ierusalimschy2019-04-091-0/+9
| | | | Code like 'a = 1print()' should not be accepted.
* Changes in the validation of UTF-8Roberto Ierusalimschy2019-03-151-5/+12
| | | | | | | | | | | All UTF-8 encoding functionality (including the escape sequence '\u') accepts all values from the original UTF-8 specification (with sequences of up to six bytes). By default, the decoding functions in the UTF-8 library do not accept invalid Unicode code points, such as surrogates. A new parameter 'nonstrict' makes them accept all code points up to (2^31)-1, as in the original UTF-8 specification.
* Added directory to test file names in '$Id:'Roberto Ierusalimschy2018-07-251-1/+1
| | | | | | | From the point of view of 'git', all names are relative to the root directory of the project. So, file names in '$Id:' also should be relative to that directory: the proper name for test file 'all.lua' is 'testes/all.lua'.
* Added manual and tests for version 5.4-w2Roberto Ierusalimschy2018-07-091-0/+302