aboutsummaryrefslogtreecommitdiff
path: root/testes/strings.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-28 15:46:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-28 15:46:49 -0300
commitb293ae0577bebaca7169cb4f041b800641d5e2c4 (patch)
treebda609d72277433bda3537ac50ed8fecf9a73898 /testes/strings.lua
parentd9f40e3f6fb61650240c47d548bee69b24b07859 (diff)
downloadlua-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.lua3
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
4print('testing strings and string library') 4print('testing strings and string library')
5 5
6local maxi, mini = math.maxinteger, math.mininteger 6local <const> maxi = math.maxinteger
7local <const> mini = math.mininteger
7 8
8 9
9local function checkerror (msg, f, ...) 10local function checkerror (msg, f, ...)