Roberto Ierusalimschy
|
2a506ea9d2
lua_linenumber is initialized in lex.c
|
29 years ago |
Roberto Ierusalimschy
|
e5ec547eb3
"call" returns separate results, instead of a table.
|
29 years ago |
Roberto Ierusalimschy
|
6d383202dc
"dofile" and "dostring" may return values.
|
29 years ago |
Roberto Ierusalimschy
|
5b9fbfa006
"dostring" now stores the prefix of its string, to improve error messages.
|
29 years ago |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 years ago |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
a275d9a25b
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
7e0be1fbde
unused "#include"
|
29 years ago |
Roberto Ierusalimschy
|
e701a86385
"openfile" now returns the file
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
56fb06b6f5
"lua_debug" now is exported through debug interface (luadebug.h)
|
29 years ago |
Roberto Ierusalimschy
|
19290a8e92
"dofile" issues an error when called with non string arguments, and
|
29 years ago |
Roberto Ierusalimschy
|
d845963349
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
|
29 years ago |
Roberto Ierusalimschy
|
a19f9056f3
new function "tostring".
|
29 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |
Roberto Ierusalimschy
|
fa71304e54
"dofile" now accepts NULL as parameter, to run stdin.
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |
Roberto Ierusalimschy
|
28b3017baf
lua function "type" now returns the string "function" both for lua
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
ec79f25286
new lua function "getstack"; new interface to function luaI_reportbug.
|
30 years ago |
Roberto Ierusalimschy
|
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
|
30 years ago |
Roberto Ierusalimschy
|
36b6fdda83
function "type" now returns a second result: the tag of the type,
|
30 years ago |
Waldemar Celes
|
3c67d2595b
error message buffer got a bigger size
|
30 years ago |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 years ago |
Roberto Ierusalimschy
|
3365a35243
new constant LUA_NOOBJECT
|
31 years ago |
Roberto Ierusalimschy
|
5dfd17dd76
new API function 'lua_pushliteral'
|
31 years ago |