Roberto Ierusalimschy
|
6823a2f57f
better tokens for error messages
|
23 years ago |
Roberto Ierusalimschy
|
313b2fe902
detail
|
23 years ago |
Roberto Ierusalimschy
|
425e5813b0
free prototype in (more or less) the same order it is created by
|
23 years ago |
Roberto Ierusalimschy
|
6505503b49
do not pretend that file is closed when close fails
|
23 years ago |
Roberto Ierusalimschy
|
ec748fcb0a
correct handling of opened files in presence of memory allocation
|
23 years ago |
Roberto Ierusalimschy
|
c196348717
in case of memory allocation errors, sizecode and sizelineinfo can
|
23 years ago |
Roberto Ierusalimschy
|
669129a6d8
io.lines() iterate over the standard input file
|
23 years ago |
Roberto Ierusalimschy
|
46b063ef59
`undump' also uses private buffer
|
23 years ago |
Roberto Ierusalimschy
|
e1d5153a33
details
|
23 years ago |
Roberto Ierusalimschy
|
b3d0682fb9
use of different buffers for scanner and concatenation
|
23 years ago |
Roberto Ierusalimschy
|
02afc892d5
new ANSI C does not assure that realloc(p,0) == free(p)
|
23 years ago |
Roberto Ierusalimschy
|
fa2f1ec7ba
to avoid `strerror', define itself to something else;
|
23 years ago |
Roberto Ierusalimschy
|
829befcc41
small optimization for object comparison
|
23 years ago |
Roberto Ierusalimschy
|
d477e4ffd6
detail
|
23 years ago |
Roberto Ierusalimschy
|
ce09af1e25
easier to define `api_check' using `assert'
|
23 years ago |
Roberto Ierusalimschy
|
98d0b79613
EXIT_SUCCESS may be different from 0
|
23 years ago |
Roberto Ierusalimschy
|
e8f35fc4ff
unification of __index & __gettable (and __newindex & __settable)
|
23 years ago |
Roberto Ierusalimschy
|
6fb0fd5063
avoid `reclearing' weak tables
|
23 years ago |
Roberto Ierusalimschy
|
565e6d74e1
state's buffer is used only for chars
|
23 years ago |
Roberto Ierusalimschy
|
f6bc7884be
new generators for reading a file line by line
|
23 years ago |
Roberto Ierusalimschy
|
32a5d96dfc
`setmetatable' cannot change protected objects
|
23 years ago |
Roberto Ierusalimschy
|
8dae071f42
details
|
23 years ago |
Roberto Ierusalimschy
|
afe1305b1a
avoid luaS_resize (which may need extra memory) during `main' activities
|
23 years ago |
Roberto Ierusalimschy
|
728fa167d2
cannot raise memory error when realloc to smaller block
|
23 years ago |
Roberto Ierusalimschy
|
1bdde38bd2
no more newlines at the end of error messages
|
23 years ago |
Roberto Ierusalimschy
|
b2bc3b44b6
no more reserved word "global"
|
23 years ago |
Roberto Ierusalimschy
|
7c0ccdfd61
avoid the use of "enum" in the API, as they do not have a fixed representation
|
23 years ago |
Roberto Ierusalimschy
|
4964e7c8a0
details
|
23 years ago |
Roberto Ierusalimschy
|
2c670baf24
avoid the use of "obvious" names in header files to avoid conflicts
|
23 years ago |
Roberto Ierusalimschy
|
fdafd4f4a8
new structure for collectable objects, sharing a common header
|
23 years ago |