Roberto Ierusalimschy
063d4e4543
Lua 5.3.5 ported to git
...
This is the first commit for the branch Lua 5.3. All source files
were copied from the official distribution of 5.3.5 in the Lua site.
The test files are the same of 5.3.4. The manual came from the
previous RCS repository, revision 1.167.1.2.
2018-12-17 14:46:37 -02:00
Roberto Ierusalimschy
41964648ee
long strings are created directly in final position when possible
...
(instead of using an auxiliar buffer to first create the string
and then allocate the final string and copy result there)
2015-09-08 12:41:05 -03:00
Roberto Ierusalimschy
eb45f3a9b6
details in 'luaM_reallocvchar'
2014-12-19 15:26:14 -02:00
Roberto Ierusalimschy
6321041058
new macro 'luaM_reallocvchar' to allocate arrays of chars (avoids
...
uneeded tests and respective warnings)
2014-12-19 11:45:40 -02:00
Roberto Ierusalimschy
5a73e3ad9e
simpler way to create messages for errors in escape sequences
2014-01-31 13:14:22 -02:00
Roberto Ierusalimschy
c5069528e1
details ('Type* id' -> 'Type *id')
2013-06-07 11:51:10 -03:00
Roberto Ierusalimschy
559bb554c9
no more 'zungetc' (better not to read next char)
2011-07-15 09:48:03 -03:00
Roberto Ierusalimschy
fd5e810e08
macro 'char2int' replaced by 'cast_uchar' (used by other files)
2011-07-15 09:35:32 -03:00
Roberto Ierusalimschy
7482e8f914
no need of lookahead in Zio
2011-02-23 10:13:10 -03:00
Roberto Ierusalimschy
3c710f056b
small bug: may call reader function again after it returned end
...
of input
2011-02-17 15:34:16 -02:00
Roberto Ierusalimschy
6956331093
new macro 'zungetc'
2009-05-18 14:26:25 -03:00
Roberto Ierusalimschy
67578ec51f
several small details
2005-05-17 16:49:15 -03:00
Roberto Ierusalimschy
8718fda9b2
added LUAI_FUNC to functions not in the API
2005-04-25 16:24:10 -03:00
Roberto Ierusalimschy
7b8504840f
buffer should better use `size_t' for its size
2003-10-03 13:05:34 -03:00
Roberto Ierusalimschy
b27664e0db
simpler manipulation of buffer count in scanner
2003-08-28 11:38:46 -03:00
Roberto Ierusalimschy
4b2e71ddb6
ZIO passes Lua state to chunk reader
2003-08-25 17:00:50 -03:00
Roberto Ierusalimschy
9fcc485176
zio does not keep "source" name (nobody uses it)
2003-08-25 16:51:54 -03:00
Roberto Ierusalimschy
b518d14071
bug: zio mixes a 255 as first char in a buffer with EOZ
2003-03-20 13:00:56 -03:00
Roberto Ierusalimschy
b3d0682fb9
use of different buffers for scanner and concatenation
2002-10-08 15:46:08 -03:00
Roberto Ierusalimschy
0b3d380f9f
internal names
2002-08-05 15:45:02 -03:00
Roberto Ierusalimschy
16f4723398
names & names
2002-06-06 09:40:22 -03:00
Roberto Ierusalimschy
0079e0f57c
core tests whether file is binary
2002-06-03 17:11:07 -03:00
Roberto Ierusalimschy
35a22ed1ab
lua_load* replaced by a simple lua_load
2002-06-03 14:46:34 -03:00
Roberto Ierusalimschy
e68d0df1c6
function `zsopen' is not used
2002-04-29 09:37:41 -03:00
Roberto Ierusalimschy
dd3a63c205
new way to handle `profiles'
2001-03-26 11:31:49 -03:00
Roberto Ierusalimschy
8b88ab07f7
more controled use of `sprintf'
2000-10-20 14:36:32 -02:00
Roberto Ierusalimschy
ef62b340e0
code cleaner for 16 bits.
2000-05-24 10:54:49 -03:00
Roberto Ierusalimschy
c787dccd9b
"const" !!!
1999-08-16 17:52:00 -03:00
Roberto Ierusalimschy
6ac047afc4
details
1998-01-09 12:57:43 -02:00
Roberto Ierusalimschy
03f3f9e707
"zio" now keeps its "name".
1997-12-22 18:57:18 -02:00
Roberto Ierusalimschy
accd7bc253
small modifications (format, small optimizations, etc)
1997-11-21 17:00:46 -02:00
Roberto Ierusalimschy
d600a6b5b3
a generic input stream interface
1997-09-16 16:25:59 -03:00