diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-30 12:18:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-30 12:18:19 -0300 |
commit | 0d529138042563baf260366e19a7aa2c60a07174 (patch) | |
tree | ea8699a57a9b26e620a2ed6bc2a11c9e49dee780 /testes/strings.lua | |
parent | b80077b8f3e27a94c6afa895b41a9f8b52c42e61 (diff) | |
download | lua-0d529138042563baf260366e19a7aa2c60a07174.tar.gz lua-0d529138042563baf260366e19a7aa2c60a07174.tar.bz2 lua-0d529138042563baf260366e19a7aa2c60a07174.zip |
Change in the syntax of attributes
Attributes changed to posfixed ('x <const>', instead of '<const> x'),
and "toclose" renamed to "close". Posfixed attributes seem to make it
clearer that it applies to only one variable when there are multiple
variables.
Diffstat (limited to 'testes/strings.lua')
-rw-r--r-- | testes/strings.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/strings.lua b/testes/strings.lua index aa039c4f..2e0e160f 100644 --- a/testes/strings.lua +++ b/testes/strings.lua | |||
@@ -3,8 +3,8 @@ | |||
3 | 3 | ||
4 | print('testing strings and string library') | 4 | print('testing strings and string library') |
5 | 5 | ||
6 | local <const> maxi = math.maxinteger | 6 | local maxi <const> = math.maxinteger |
7 | local <const> mini = math.mininteger | 7 | local mini <const> = math.mininteger |
8 | 8 | ||
9 | 9 | ||
10 | local function checkerror (msg, f, ...) | 10 | local function checkerror (msg, f, ...) |