Roberto Ierusalimschy
|
311e9f3ceb
'nresults' is saved in CallInfo from the caller, not the called
|
16 年之前 |
Roberto Ierusalimschy
|
8775f25830
new function 'T.makeCfunc' (for later use)
|
16 年之前 |
Roberto Ierusalimschy
|
70a63fa5ad
first implementation of yieldable 'pcall'
|
16 年之前 |
Roberto Ierusalimschy
|
fffbaede75
detail
|
16 年之前 |
Roberto Ierusalimschy
|
ae9ad6c694
added comment explaining why the 'feof' test when loading a file
|
16 年之前 |
Roberto Ierusalimschy
|
83d2dbb15d
Lua will abort anyway, so 'panic' does not need to.
|
16 年之前 |
Roberto Ierusalimschy
|
4e43741943
in 'lua_call', avoid preparing a continuation when thread cannot yield.
|
16 年之前 |
Roberto Ierusalimschy
|
a274596ecc
avoid making 'lastfree' an invalid pointer
|
16 年之前 |
Roberto Ierusalimschy
|
7e9bc41fe7
'loadlib(lib, "*")' loads 'lib' with global names exported to all
|
16 年之前 |
Roberto Ierusalimschy
|
b1e1c15ced
small bug: EOZ is a valid character to be tested
|
16 年之前 |
Roberto Ierusalimschy
|
3dbf305408
no more support for old-style varargs
|
16 年之前 |
Roberto Ierusalimschy
|
6d0ae11c57
'context' added to suspendable calls
|
16 年之前 |
Roberto Ierusalimschy
|
3ca739b418
'math.random' uses lua_Number to manage its arguments (there is no
|
16 年之前 |
Roberto Ierusalimschy
|
9e613b8583
missing argument to 'assert' raises "assertion failed" error
|
16 年之前 |
Roberto Ierusalimschy
|
9428ec42d0
new optional argument to 'load', to control allowed modes (binary or
|
16 年之前 |
Roberto Ierusalimschy
|
6ffcf21367
ctype 'lalpha' includes '_' (as '_' behaves as a letter from the
|
16 年之前 |
Roberto Ierusalimschy
|
6427c61e7c
added macro 'lisxdigit' (just in case :)
|
16 年之前 |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 年之前 |
Roberto Ierusalimschy
|
f9d015523e
better notes about some opcodes (comments only)
|
16 年之前 |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
16 年之前 |
Roberto Ierusalimschy
|
7837e34e56
new states have a reasonable panic function +
|
16 年之前 |
Roberto Ierusalimschy
|
910310d3ba
if thread has no error handling, try main thread handler before panicking
|
16 年之前 |
Roberto Ierusalimschy
|
facfcd497f
detail
|
16 年之前 |
Roberto Ierusalimschy
|
b403317325
error functions search global space for a name for a function when
|
16 年之前 |
Roberto Ierusalimschy
|
9bf05e7364
code section 'Traceback' moved to the beginning of the file
|
16 年之前 |
Roberto Ierusalimschy
|
e39e758a73
closing a "popen" file returns the process exit status
|
16 年之前 |
Roberto Ierusalimschy
|
5438d77221
global array of ctypes renamed to 'luai_ctype_' (extern names must
|
16 年之前 |
Roberto Ierusalimschy
|
6905ae900b
Lua now uses "homemade" lctype (instead of ctype.h from ANSI C)
|
16 年之前 |
Roberto Ierusalimschy
|
ada82930fd
"homemade" version of ctype.h
|
16 年之前 |
Roberto Ierusalimschy
|
f36e319658
'fputs' changed to 'luai_writestring' + use of 'lua_checkversion'
|
16 年之前 |