Roberto Ierusalimschy
|
063d4e4543
Lua 5.3.5 ported to git
|
6 жил өмнө |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
8 жил өмнө |
Roberto Ierusalimschy
|
9903dd52a3
Using LUAI_UAC* types more consistently on vararg calls
|
8 жил өмнө |
Roberto Ierusalimschy
|
09c9fa36ea
small corrections for C++ compliance
|
9 жил өмнө |
Roberto Ierusalimschy
|
707b0ba6e2
'string.format("%q")' writes 'math.mininteger' in hexa, to ensure
|
9 жил өмнө |
Roberto Ierusalimschy
|
4d5ab9baa6
'string.pack("cn")' does not accept strings longer than 'n'
|
9 жил өмнө |
Roberto Ierusalimschy
|
fbd8614bdb
comment (FALLTHROUGH)
|
9 жил өмнө |
Roberto Ierusalimschy
|
22093f9c6e
'string.format("%q", number)' ensures a dot as decimal point
|
9 жил өмнө |
Roberto Ierusalimschy
|
57cdb60429
no more time limits to pattern matching (at least for now)
|
9 жил өмнө |
Roberto Ierusalimschy
|
89c09c8e40
match time limit defined by variable 'string.pattlimit'
|
9 жил өмнө |
Roberto Ierusalimschy
|
e8e39a277f
'string.format"%q"' now works for all basic types (nil, boolean,
|
9 жил өмнө |
Roberto Ierusalimschy
|
fff7d42a69
LUA_PACKPADBYTE -> LUAL_PACKPADBYTE (it is an internal library
|
9 жил өмнө |
Roberto Ierusalimschy
|
783aa8a9da
new way to avoid infinite loops in empty matches: "Python rule"
|
9 жил өмнө |
Roberto Ierusalimschy
|
e747491b96
comments
|
9 жил өмнө |
Roberto Ierusalimschy
|
acff3ad88d
bug: 'gmatch' iterator fails when called from a coroutine different
|
9 жил өмнө |
Roberto Ierusalimschy
|
c3e9b14d24
'\0' is a control character, no need to check it explicitly
|
9 жил өмнө |
Roberto Ierusalimschy
|
c25d59a6bd
format "%s" in 'string.format' accepts embedded zeros when it
|
9 жил өмнө |
Roberto Ierusalimschy
|
3feb702df8
ensure argument to 'string.format("%s")' does not contain zeros
|
9 жил өмнө |
Roberto Ierusalimschy
|
789e423b32
corrected comparisons of signed (int) with unsigned (size_t)
|
9 жил өмнө |
Roberto Ierusalimschy
|
cc3a42b190
option 'c' in 'string.pack' accepts any string size (truncating
|
9 жил өмнө |
Roberto Ierusalimschy
|
880df57e52
detail (removed unreacheable 'break')
|
9 жил өмнө |
Roberto Ierusalimschy
|
10fffcd80a
'gmatch' keeps its state in a userdata (keeping the same 'MatchState'
|
9 жил өмнө |
Roberto Ierusalimschy
|
8264dbc2bb
implemented counter to abort non-linear behavior in pattern matching
|
9 жил өмнө |
Roberto Ierusalimschy
|
5273477cb9
in 'lua_number2strx', use the call to 'l_sprintf' to add exponent
|
10 жил өмнө |
Roberto Ierusalimschy
|
5aabb7a891
buffer size changed from size_t to int (it is always small) +
|
10 жил өмнө |
Roberto Ierusalimschy
|
19eb6ae580
using 'snprintf' in C99 (both for documentation of buffer sizes
|
10 жил өмнө |
Roberto Ierusalimschy
|
99391e24ea
new configuration macro 'l_mathlim' (simplifies some dependencies
|
10 жил өмнө |
Roberto Ierusalimschy
|
48d0674c2e
more consistent use of locale radix character across Lua
|
10 жил өмнө |
Roberto Ierusalimschy
|
e723c75c02
details (avoid 'lint' warnings)
|
10 жил өмнө |
Roberto Ierusalimschy
|
2a57d2346e
detail
|
10 жил өмнө |