diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-28 15:46:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-28 15:46:49 -0300 |
commit | b293ae0577bebaca7169cb4f041b800641d5e2c4 (patch) | |
tree | bda609d72277433bda3537ac50ed8fecf9a73898 /testes/strings.lua | |
parent | d9f40e3f6fb61650240c47d548bee69b24b07859 (diff) | |
download | lua-b293ae0577bebaca7169cb4f041b800641d5e2c4.tar.gz lua-b293ae0577bebaca7169cb4f041b800641d5e2c4.tar.bz2 lua-b293ae0577bebaca7169cb4f041b800641d5e2c4.zip |
Details
- new error message for "attempt to assign to const variable"
- note in the manual about compatibility options
- comments
- small changes in 'read_line' and 'pushstr'
Diffstat (limited to 'testes/strings.lua')
-rw-r--r-- | testes/strings.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testes/strings.lua b/testes/strings.lua index 3e32f2c4..1b2b570e 100644 --- a/testes/strings.lua +++ b/testes/strings.lua | |||
@@ -3,7 +3,8 @@ | |||
3 | 3 | ||
4 | print('testing strings and string library') | 4 | print('testing strings and string library') |
5 | 5 | ||
6 | local maxi, mini = math.maxinteger, math.mininteger | 6 | local <const> maxi = math.maxinteger |
7 | local <const> mini = math.mininteger | ||
7 | 8 | ||
8 | 9 | ||
9 | local function checkerror (msg, f, ...) | 10 | local function checkerror (msg, f, ...) |