Roberto Ierusalimschy
|
6a5d89b39f
detail (using array instead of several variables to keep track of
|
14 lat temu |
Roberto Ierusalimschy
|
beab626061
correct length for LUA_COPYRIGHT (without trailing '\0')
|
14 lat temu |
Roberto Ierusalimschy
|
ee7d0c2649
new macro 'luai_writeline' to print newlines (and flush 'stdout')
|
14 lat temu |
Roberto Ierusalimschy
|
ad2531a0ee
more complete (and hopefuly more correct) handling of 'sizeof(char)'
|
14 lat temu |
Roberto Ierusalimschy
|
682cce3813
macro 'mark' renamed 'EOFMARK' ('mark' is too easy to confict, e.g.
|
14 lat temu |
Roberto Ierusalimschy
|
094a7d0290
detail in 'print_usage'
|
14 lat temu |
Roberto Ierusalimschy
|
ac3afc7cd4
'printf' replaced by 'luai_writestring'
|
14 lat temu |
Roberto Ierusalimschy
|
4590a89b32
corrected warnings from different compilers (mostly casts and small
|
14 lat temu |
Roberto Ierusalimschy
|
a122688091
better error message for 'lua -e -i'
|
15 lat temu |
Roberto Ierusalimschy
|
73b0a3451d
environment variables consulted by Lua may be version-specific
|
15 lat temu |
Roberto Ierusalimschy
|
7631c29b2f
comand-line option '-l' creates global with given name after
|
15 lat temu |
Roberto Ierusalimschy
|
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
|
15 lat temu |
Roberto Ierusalimschy
|
489253d753
better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX
|
15 lat temu |
Roberto Ierusalimschy
|
622e448710
removed useless test (argv[i] cannot be NULL when i<argc)
|
15 lat temu |
Roberto Ierusalimschy
|
4274738e81
new macro 'luai_writestringerror'
|
15 lat temu |
Roberto Ierusalimschy
|
0d7d559dcc
no need to flush either stderr or \n-terminated outputs
|
15 lat temu |
Roberto Ierusalimschy
|
a838b3b496
better usage messages, showing entire offending argument
|
15 lat temu |
Roberto Ierusalimschy
|
4f5f2fe367
new function 'luaL_cpcall'
|
15 lat temu |
Roberto Ierusalimschy
|
c8ab34ab7a
better messages for invalid options
|
15 lat temu |
Roberto Ierusalimschy
|
cc1cbd19a0
'lua_cpcall' is deprecated + other small changes in 'pmain' (comments
|
15 lat temu |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 lat temu |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 lat temu |
Roberto Ierusalimschy
|
adc6a4865b
macro name change: LUA_INIT->LUA_INIT_VAR
|
15 lat temu |
Roberto Ierusalimschy
|
de6fc75d63
several configuration options that do not change often moved out of
|
15 lat temu |
Roberto Ierusalimschy
|
2e51792596
avoid using deprecated macros lua_[gs]etglobal
|
15 lat temu |
Roberto Ierusalimschy
|
2b25489b47
'notail' -> 'noextrachars' ('notail' may confuse with tail calls)
|
15 lat temu |
Roberto Ierusalimschy
|
bc439e21cd
avoid an unprotected call to 'lua_tostring' which theoretically may
|
16 lat temu |
Roberto Ierusalimschy
|
5bff2aaf47
calls with LUA_MULTRET may leave no free slots in the stack
|
16 lat temu |
Roberto Ierusalimschy
|
4a818f068a
'checkversion' implemented in the auxiliary library
|
16 lat temu |
Roberto Ierusalimschy
|
f36e319658
'fputs' changed to 'luai_writestring' + use of 'lua_checkversion'
|
16 lat temu |