lua: update to 5.4.4
modified external/lua/Makefile
@@ -46,7 +46,7 @@ TO_MAN= lua.1 luac.1
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/README
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/contents.html
@@ -32,7 +32,7 @@ For a complete introduction to Lua programming, see the book
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -396,6 +396,7 @@ Freely available under the terms of the
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -663,10 +664,10 @@ Freely available under the terms of the
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/manual.html
@@ -19,7 +19,7 @@ by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -143,6 +143,11 @@ The type <em>boolean</em> has two values, <b>false</b> and <b>true</b>.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -434,7 +439,7 @@ under certain events.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -901,7 +906,7 @@ For an object (table or userdata) to be finalized when collected,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -956,11 +961,8 @@ these marks have no effect.
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1631,8 +1633,10 @@ before the adjustment
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1657,6 +1661,14 @@ cyclically permutes the values of <code>x</code>, <code>y</code>, and <code>z</c
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1992,16 +2004,8 @@ they are closed in the reverse order that they were declared.
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -2419,16 +2423,21 @@ character is one byte.)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2439,12 +2448,9 @@ The table <code>{10, 20, 30, nil, 50}</code> has two borders (3 and 5),
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -2462,7 +2468,7 @@ the memory addresses of its non-numeric keys.)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3763,6 +3769,29 @@ will probably need to close states as soon as they are not needed.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -3959,6 +3988,10 @@ For more details about these options,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -4657,11 +4690,7 @@ except that it allows the called function to yield (see <a href="#4.5">§4.5
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -5140,10 +5169,12 @@ and then pops the top element.
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -5466,28 +5497,24 @@ otherwise, returns <code>NULL</code>.
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -5495,7 +5522,7 @@ Note that, both in case of errors and of a regular return,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -5919,7 +5946,10 @@ information about a function or an activation record.
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -6096,11 +6126,25 @@ you can write the following code:
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -6108,9 +6152,6 @@ fills in the fields <code>source</code>, <code>short_src</code>,
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -6118,25 +6159,13 @@ fills in the fields <code>source</code>, <code>short_src</code>,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -6494,7 +6523,7 @@ Adds the byte <code>c</code> to the buffer <code>B</code>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -6548,7 +6577,7 @@ to the buffer <code>B</code>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -6702,7 +6731,7 @@ Note that any addition to the buffer may invalidate this address.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -6740,7 +6769,7 @@ Equivalent to the sequence
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -7543,6 +7572,11 @@ on top of the library table.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -7905,6 +7939,10 @@ See <a href="#2.5">§2.5</a> for more details about garbage collection
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -7922,7 +7960,7 @@ to its caller.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -8097,9 +8135,8 @@ use a numerical <b>for</b>.)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -8145,7 +8182,7 @@ This means that any error inside <code>f</code> is not propagated;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -8398,7 +8435,9 @@ that is,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -8423,7 +8462,7 @@ an object with type <code>"thread"</code>.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -8467,7 +8506,7 @@ If there is any error,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9005,7 +9044,7 @@ otherwise, it returns <b>fail</b>.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9030,8 +9069,10 @@ following the description given in its first argument,
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -9055,7 +9096,7 @@ may produce the string:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9960,23 +10001,23 @@ from <code>list[1]</code> to <code>list[#list]</code>.
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -10346,7 +10387,7 @@ or <b>fail</b> if <code>x</code> is not a number.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -11908,10 +11949,10 @@ and LiteralString, see <a href="#3.1">§3.1</a>.)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/readme.html
@@ -110,7 +110,7 @@ Here are the details.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -303,7 +303,7 @@ For details, see
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -330,10 +330,10 @@ THE SOFTWARE.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/Makefile
@@ -67,7 +67,7 @@ $(LUAC_T): $(LUAC_O) $(LUA_A)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -79,7 +79,7 @@ echo:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -108,6 +108,8 @@ c89:
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lapi.c
@@ -39,7 +39,7 @@ const char lua_ident[] =
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53,6 +53,10 @@ const char lua_ident[] =
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -70,21 +74,28 @@ static TValue *index2value (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,7 +183,7 @@ LUA_API int lua_gettop (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -187,9 +198,26 @@ LUA_API void lua_settop (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -200,7 +228,7 @@ LUA_API void lua_settop (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -420,7 +448,7 @@ LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -612,7 +640,7 @@ LUA_API int lua_pushthread (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -629,11 +657,21 @@ static int auxgetstr (lua_State *L, const TValue *t, const char *k) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -677,7 +715,7 @@ LUA_API int lua_geti (lua_State *L, int idx, lua_Integer n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -811,10 +849,10 @@ static void auxsetstr (lua_State *L, const TValue *t, const char *k) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -861,12 +899,10 @@ LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1063,8 +1099,7 @@ LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data,
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1101,18 +1136,19 @@ LUA_API int lua_status (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1131,8 +1167,8 @@ LUA_API int lua_gc (lua_State *L, int what, ...) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1142,7 +1178,7 @@ LUA_API int lua_gc (lua_State *L, int what, ...) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1160,7 +1196,7 @@ LUA_API int lua_gc (lua_State *L, int what, ...) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1240,8 +1276,7 @@ LUA_API void lua_toclose (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lapi.h
@@ -42,6 +42,8 @@
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
modified external/lua/src/lauxlib.c
@@ -190,7 +190,7 @@ LUALIB_API int luaL_argerror (lua_State *L, int arg, const char *extramsg) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -378,7 +378,7 @@ LUALIB_API int luaL_checkoption (lua_State *L, int arg, const char *def,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -388,20 +388,20 @@ LUALIB_API void luaL_checkstack (lua_State *L, int space, const char *msg) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -420,7 +420,7 @@ LUALIB_API const char *luaL_optlstring (lua_State *L, int arg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -442,7 +442,7 @@ static void interror (lua_State *L, int arg) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -475,7 +475,7 @@ static void *resizebox (lua_State *L, int idx, size_t newsize) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -516,12 +516,21 @@ static void newbox (lua_State *L) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -531,10 +540,11 @@ static size_t newbuffsize (luaL_Buffer *B, size_t sz) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -545,10 +555,9 @@ static char *prepbuffsize (luaL_Buffer *B, size_t sz, int boxidx) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -583,11 +592,11 @@ LUALIB_API void luaL_addstring (luaL_Buffer *B, const char *s) {
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -622,6 +631,7 @@ LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -639,10 +649,14 @@ LUALIB_API char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -650,9 +664,16 @@ LUALIB_API int luaL_ref (lua_State *L, int t) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -668,6 +689,7 @@ LUALIB_API void luaL_unref (lua_State *L, int t, int ref) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -851,7 +873,7 @@ LUALIB_API lua_Integer luaL_len (lua_State *L, int idx) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -859,6 +881,7 @@ LUALIB_API lua_Integer luaL_len (lua_State *L, int idx) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1064,7 +1087,7 @@ static void warnfon (void *ud, const char *message, int tocont) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lauxlib.h
@@ -12,6 +12,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -101,7 +102,7 @@ LUALIB_API lua_State *(luaL_newstate) (void);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,10 +131,10 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -153,11 +154,35 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lbaselib.c
@@ -138,7 +138,7 @@ static int luaB_setmetatable (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -182,11 +182,20 @@ static int luaB_rawset (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -199,12 +208,14 @@ static int luaB_collectgarbage (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -212,11 +223,13 @@ static int luaB_collectgarbage (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -233,10 +246,13 @@ static int luaB_collectgarbage (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -260,6 +276,11 @@ static int luaB_next (lua_State *L) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -269,7 +290,7 @@ static int luaB_pairs (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -279,7 +300,8 @@ static int luaB_pairs (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -299,7 +321,7 @@ static int luaB_ipairs (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -355,7 +377,7 @@ static const char *generic_reader (lua_State *L, void *ud, size_t *size) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -393,7 +415,7 @@ static int dofilecont (lua_State *L, int d1, lua_KContext d2) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -401,7 +423,7 @@ static int luaB_dofile (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -437,7 +459,7 @@ static int luaB_select (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lcode.c
@@ -10,6 +10,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -314,15 +315,6 @@ void luaK_patchtohere (FuncState *fs, int list) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -337,13 +329,13 @@ void luaK_patchtohere (FuncState *fs, int list) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -545,11 +537,14 @@ static void freeexps (FuncState *fs, expdesc *e1, expdesc *e2) {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -563,7 +558,8 @@ static int addk (FuncState *fs, TValue *key, TValue *v) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -585,24 +581,41 @@ static int stringK (FuncState *fs, TString *s) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -763,7 +776,7 @@ void luaK_dischargevars (FuncState *fs, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1036,7 +1049,7 @@ void luaK_storevar (FuncState *fs, expdesc *var, expdesc *ex) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1276,7 +1289,7 @@ void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1303,7 +1316,8 @@ static int validop (int op, TValue *v1, TValue *v2) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lcorolib.c
@@ -31,14 +31,14 @@ static lua_State *getco (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -57,7 +57,7 @@ static int luaB_coresume (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -73,10 +73,13 @@ static int luaB_coresume (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -176,7 +179,7 @@ static int luaB_close (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ldblib.c
@@ -33,7 +33,7 @@ static const char *const HOOKKEY = "_HOOKKEY";
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -152,6 +152,7 @@ static int db_getinfo (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -212,7 +213,7 @@ static int db_getlocal (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -237,7 +238,7 @@ static int db_setlocal (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -377,7 +378,7 @@ static int db_sethook (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -420,7 +421,7 @@ static int db_debug (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ldebug.c
@@ -33,11 +33,9 @@
|
|
|
|
|
|
| - | |
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -48,10 +46,16 @@ static int currentpc (CallInfo *ci) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -59,20 +63,12 @@ static int getbaseline (const Proto *f, int pc, int *basepc) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -305,8 +301,15 @@ static void collectvalidlines (lua_State *L, Closure *f) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -314,15 +317,9 @@ static void collectvalidlines (lua_State *L, Closure *f) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -594,16 +591,10 @@ static const char *getobjname (const Proto *p, int lastpc, int reg,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -629,12 +620,10 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -642,19 +631,43 @@ static const char *funcnamefromcode (lua_State *L, CallInfo *ci,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -677,9 +690,21 @@ static const char *getupvalname (CallInfo *ci, const TValue *o,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -687,13 +712,40 @@ static const char *varinfo (lua_State *L, const TValue *o) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -722,7 +774,7 @@ l_noret luaG_opinterror (lua_State *L, const TValue *p1,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -780,16 +832,30 @@ l_noret luaG_runerror (lua_State *L, const char *fmt, ...) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -797,20 +863,19 @@ static int changedline (const Proto *p, int oldpc, int newpc) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -826,15 +891,16 @@ int luaG_traceexec (lua_State *L, const Instruction *pc) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ldebug.h
@@ -26,11 +26,22 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/ldo.c
@@ -98,11 +98,12 @@ void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -118,17 +119,13 @@ l_noret luaD_throw (lua_State *L, int errcode) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -163,9 +160,8 @@ int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) {
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
|
|
|
|
|
@@ -181,19 +177,35 @@ static void correctstack (lua_State *L, StkId oldstack, StkId newstack) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -206,7 +218,7 @@ int luaD_reallocstack (lua_State *L, int newsize, int raiseerror) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -222,7 +234,7 @@ int luaD_growstack (lua_State *L, int n, int raiseerror) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -297,8 +309,8 @@ void luaD_hook (lua_State *L, int event, int line,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -308,8 +320,10 @@ void luaD_hook (lua_State *L, int event, int line,
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -331,38 +345,40 @@ void luaD_hook (lua_State *L, int event, int line,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -371,15 +387,18 @@ static StkId rethook (lua_State *L, CallInfo *ci, StkId firstres, int nres) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -389,7 +408,7 @@ void luaD_tryfuncTM (lua_State *L, StkId func) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -399,27 +418,34 @@ static void moveresults (lua_State *L, StkId res, int nres, int wanted) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -428,15 +454,21 @@ static void moveresults (lua_State *L, StkId res, int nres, int wanted) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -444,27 +476,81 @@ void luaD_poscall (lua_State *L, CallInfo *ci, int nres) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -477,35 +563,14 @@ void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -513,20 +578,16 @@ CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -538,10 +599,10 @@ CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -568,27 +629,74 @@ void luaD_callnoyield (lua_State *L, StkId func, int nResults) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -596,18 +704,14 @@ static void finishCcall (lua_State *L, int status) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -631,28 +735,6 @@ static CallInfo *findpcall (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -678,13 +760,14 @@ static void resume (lua_State *L, void *ud) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -698,6 +781,26 @@ static void resume (lua_State *L, void *ud) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -711,15 +814,15 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -745,22 +848,22 @@ LUA_API int lua_yieldk (lua_State *L, int nresults, lua_KContext ctx,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -770,6 +873,45 @@ LUA_API int lua_yieldk (lua_State *L, int nresults, lua_KContext ctx,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -782,13 +924,11 @@ int luaD_pcall (lua_State *L, Pfunc func, void *u,
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ldo.h
@@ -23,7 +23,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -58,11 +58,12 @@ LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lfunc.c
@@ -100,115 +100,83 @@ UpVal *luaF_findupval (lua_State *L, StkId level) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -220,18 +188,16 @@ void luaF_unlinkupval (UpVal *uv) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -239,7 +205,35 @@ int luaF_close (lua_State *L, StkId level, int status) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lfunc.h
@@ -42,15 +42,9 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -59,7 +53,8 @@ LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals);
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lgc.c
@@ -906,18 +906,18 @@ static void GCTM (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1011,7 +1011,8 @@ static void correctpointers (global_State *g, GCObject *o) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1502,12 +1503,13 @@ static void deletelist (lua_State *L, GCObject *p, GCObject *limit) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1575,52 +1577,64 @@ static int sweepstep (lua_State *L, global_State *g,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -1635,6 +1649,7 @@ void luaC_runtilstate (lua_State *L, int statesmask) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1666,7 +1681,7 @@ static void incstep (lua_State *L, global_State *g) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lgc.h
@@ -148,6 +148,16 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/liolib.c
@@ -52,12 +52,6 @@ static int l_checkmode (const char *mode) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -70,6 +64,12 @@ static int l_checkmode (const char *mode) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -83,6 +83,12 @@ static int l_checkmode (const char *mode) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -180,7 +186,7 @@ static int f_tostring (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -255,7 +261,7 @@ static LStream *newfile (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -303,7 +309,7 @@ static FILE *getiofile (lua_State *L, const char *findex) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -430,7 +436,7 @@ typedef struct {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -493,8 +499,8 @@ static int read_number (lua_State *L, FILE *f) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -670,7 +676,8 @@ static int g_write (lua_State *L, FILE *f, int arg) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -697,7 +704,7 @@ static int f_seek (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/llex.c
@@ -122,26 +122,29 @@ l_noret luaX_syntaxerror (LexState *ls, const char *msg) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified external/lua/src/llimits.h
@@ -150,35 +150,33 @@ typedef LUAI_UACINT l_uacInt;
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -363,7 +361,7 @@ typedef l_uint32 Instruction;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lmathlib.c
@@ -73,7 +73,7 @@ static int math_atan (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,7 +175,8 @@ static int math_log (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -474,7 +475,7 @@ static lua_Number I2d (Rand64 x) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -485,7 +486,7 @@ static lua_Number I2d (Rand64 x) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lmem.c
@@ -24,12 +24,12 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,7 +83,7 @@ void *luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -138,15 +138,17 @@ void luaM_free_ (lua_State *L, void *block, size_t osize) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -156,17 +158,14 @@ static void *tryagain (lua_State *L, void *block,
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -179,7 +178,7 @@ void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -191,7 +190,7 @@ void *luaM_malloc_ (lua_State *L, size_t size, int tag) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/loadlib.c
@@ -132,14 +132,16 @@ static void lsys_unloadlib (void *lib) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -410,7 +412,7 @@ static int ll_loadlib (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -523,14 +525,14 @@ static const char *findfile (lua_State *L, const char *name,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -623,13 +625,14 @@ static void findloader (lua_State *L, const char *name) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lobject.c
@@ -164,7 +164,7 @@ static int isneg (const char **s) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -174,7 +174,7 @@ static lua_Number lua_strx2number (const char *s, char **endptr) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -184,14 +184,14 @@ static lua_Number lua_strx2number (const char *s, char **endptr) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200,7 +200,7 @@ static lua_Number lua_strx2number (const char *s, char **endptr) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lobject.h
@@ -68,7 +68,7 @@ typedef struct TValue {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -112,7 +112,7 @@ typedef struct TValue {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -136,10 +136,19 @@ typedef struct TValue {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -570,10 +579,11 @@ typedef struct Proto {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lopcodes.h
@@ -190,7 +190,8 @@ enum OpMode {iABC, iABx, iAsBx, iAx, isJ}; /* basic instruction formats */
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -203,7 +204,7 @@ OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -225,13 +226,13 @@ OP_SELF,/* A B C R[A+1] := R[B]; R[A] := R[B][RK(C):string] */
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -254,7 +255,7 @@ OP_BXOR,/* A B C R[A] := R[B] ~ R[C] */
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -280,7 +281,7 @@ OP_GTI,/* A sB k if ((R[A] > sB) ~= k) then pc++ */
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -315,6 +316,18 @@ OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/loslib.c
@@ -170,7 +170,7 @@ static int os_tmpname (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -208,7 +208,7 @@ static int os_clock (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -253,9 +253,9 @@ static int getfield (lua_State *L, const char *key, int d, int delta) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lparser.c
@@ -128,7 +128,7 @@ static void checknext (LexState *ls, int c) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -222,26 +222,26 @@ static Vardesc *getlocalvardesc (FuncState *fs, int vidx) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -267,7 +267,7 @@ static void init_var (FuncState *fs, expdesc *e, int vidx) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -310,12 +310,12 @@ static void check_readonly (LexState *ls, expdesc *e) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -366,7 +366,7 @@ static int newupvalue (FuncState *fs, TString *name, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -417,6 +417,17 @@ static void markupval (FuncState *fs, int level) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -517,7 +528,7 @@ static void solvegoto (LexState *ls, int g, Labeldesc *label) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -620,7 +631,7 @@ static void movegotosout (FuncState *fs, BlockCnt *bl) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -661,7 +672,7 @@ static void leaveblock (FuncState *fs) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1330,13 +1341,13 @@ static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1346,7 +1357,7 @@ static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1411,7 +1422,7 @@ static void gotostat (LexState *ls) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1435,7 +1446,7 @@ static void breakstat (LexState *ls) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1488,7 +1499,7 @@ static void repeatstat (LexState *ls, int line) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1520,7 +1531,7 @@ static void fixforjump (FuncState *fs, int pc, int dest, int back) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1599,7 +1610,7 @@ static void forlist (LexState *ls, TString *indexname) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1703,12 +1714,10 @@ static int getlocalattribute (LexState *ls) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1751,7 +1760,7 @@ static void localstat (LexState *ls) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1776,6 +1785,7 @@ static void funcstat (LexState *ls, int line) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lparser.h
@@ -35,7 +35,7 @@ typedef enum {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -77,7 +77,7 @@ typedef struct expdesc {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -97,7 +97,7 @@ typedef union Vardesc {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lstate.c
@@ -166,13 +166,13 @@ void luaE_checkcstack (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -181,6 +181,7 @@ static void stack_init (lua_State *L1, lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -213,24 +214,19 @@ static void freestack (lua_State *L) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -240,8 +236,8 @@ static void f_luaopen (lua_State *L, void *ud) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -256,6 +252,7 @@ static void preinit_thread (lua_State *L, global_State *g) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -271,10 +268,14 @@ static void preinit_thread (lua_State *L, global_State *g) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -299,7 +300,6 @@ LUA_API lua_State *lua_newthread (lua_State *L) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -316,7 +316,7 @@ LUA_API lua_State *lua_newthread (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -324,23 +324,29 @@ void luaE_freethread (lua_State *L, lua_State *L1) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -360,7 +366,6 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -368,13 +373,14 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lstate.h
@@ -156,6 +156,18 @@ typedef struct stringtable {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -176,6 +188,7 @@ typedef struct CallInfo {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -191,17 +204,34 @@ typedef struct CallInfo {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -230,9 +260,10 @@ typedef struct global_State {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -281,6 +312,7 @@ struct lua_State {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -297,6 +329,12 @@ struct lua_State {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -359,6 +397,7 @@ LUAI_FUNC void luaE_checkcstack (lua_State *L);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lstring.c
@@ -89,7 +89,7 @@ void luaS_resize (lua_State *L, int nsize) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,7 +172,7 @@ void luaS_remove (lua_State *L, TString *ts) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -223,7 +223,7 @@ TString *luaS_newlstr (lua_State *L, const char *str, size_t l) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -259,7 +259,7 @@ Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lstrlib.c
@@ -152,8 +152,9 @@ static int str_rep (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -181,7 +182,7 @@ static int str_byte (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -235,7 +236,7 @@ static int str_dump (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -275,7 +276,8 @@ static int tonum (lua_State *L, int arg) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -383,7 +385,8 @@ static const char *match (MatchState *ms, const char *s, const char *p);
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -400,14 +403,14 @@ static int capture_to_close (MatchState *ms) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -482,7 +485,7 @@ static int singlematch (MatchState *ms, const char *s, const char *p,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -565,7 +568,7 @@ static const char *match_capture (MatchState *ms, const char *s, int l) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -599,7 +602,7 @@ static const char *match (MatchState *ms, const char *s, const char *p) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -699,7 +702,7 @@ static const char *lmemfind (const char *s1, size_t l1,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -707,7 +710,7 @@ static size_t get_onecapture (MatchState *ms, int i, const char *s,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -926,7 +929,7 @@ static int add_value (MatchState *ms, luaL_Buffer *b, const char *s,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1058,7 +1061,7 @@ static int lua_number2strx (lua_State *L, char *buff, int sz,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1087,13 +1090,31 @@ static int lua_number2strx (lua_State *L, char *buff, int sz,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1186,25 +1207,53 @@ static void addliteral (lua_State *L, luaL_Buffer *b, int arg) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1227,6 +1276,7 @@ static int str_format (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1236,25 +1286,35 @@ static int str_format (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1265,12 +1325,14 @@ static int str_format (lua_State *L) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1291,7 +1353,8 @@ static int str_format (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1349,25 +1412,6 @@ static const union {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -1384,7 +1428,9 @@ typedef struct Header {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1419,7 +1465,7 @@ static int getnum (const char **fmt, int df) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1440,6 +1486,8 @@ static void initheader (lua_State *L, Header *h) {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -1453,14 +1501,14 @@ static KOption getoption (Header *h, const char **fmt, int *size) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1470,7 +1518,11 @@ static KOption getoption (Header *h, const char **fmt, int *size) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1499,7 +1551,7 @@ static KOption getdetails (Header *h, size_t totalsize,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1580,15 +1632,27 @@ static int str_pack (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1679,7 +1743,7 @@ static lua_Integer unpackint (lua_State *L, const char *str,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1714,13 +1778,21 @@ static int str_unpack (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ltable.c
@@ -68,20 +68,23 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -96,6 +99,20 @@ static const Node dummynode_ = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -129,39 +146,50 @@ static int l_hashfloat (lua_Number n) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -307,7 +335,7 @@ static unsigned int findindex (lua_State *L, Table *t, TValue *key,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -485,7 +513,7 @@ static void reinsert (lua_State *L, Table *ot, Table *t) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -541,7 +569,7 @@ void luaH_resize (lua_State *L, Table *t, unsigned int newasize,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -632,10 +660,10 @@ static Node *getfreepos (Table *t) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -644,9 +672,11 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -654,10 +684,11 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -682,7 +713,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -770,28 +801,39 @@ const TValue *luaH_get (Table *t, const TValue *key) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ltable.h
@@ -41,8 +41,12 @@ LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/ltablib.c
@@ -59,8 +59,9 @@ static void checktab (lua_State *L, int arg, int what) {
|
|
|
|
|
|
| - | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -145,9 +146,9 @@ static int tmove (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -196,7 +197,8 @@ static int tunpack (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -300,14 +302,14 @@ static IdxT partition (lua_State *L, IdxT lo, IdxT up) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ltm.c
@@ -147,7 +147,7 @@ static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +166,8 @@ void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lua.c
@@ -37,6 +37,26 @@ static lua_State *globalL = NULL;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -55,7 +75,7 @@ static void lstop (lua_State *L, lua_Debug *ar) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,14 +89,15 @@ static void print_usage (const char *badoption) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -135,9 +156,9 @@ static int docall (lua_State *L, int narg, int nres) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -187,16 +208,22 @@ static int dostring (lua_State *L, const char *s, const char *name) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -307,7 +334,7 @@ static int runargs (lua_State *L, char **argv, int n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lua.h
@@ -18,14 +18,14 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -347,7 +347,8 @@ LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s);
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -491,7 +492,7 @@ struct lua_Debug {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/luac.c
@@ -155,6 +155,7 @@ static const Proto* combine(lua_State* L, int n)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -600,11 +601,11 @@ static void PrintCode(const Proto* f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -619,7 +620,7 @@ static void PrintCode(const Proto* f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/luaconf.h
@@ -16,13 +16,13 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -81,27 +81,13 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -121,7 +107,31 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -132,26 +142,21 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -373,14 +378,13 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -473,10 +477,7 @@
|
|
|
|
|
|
| - | |
| - | |
|
|
| - | |
|
|
|
|
|
@@ -484,7 +485,6 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -505,9 +505,6 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -659,6 +656,34 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lualib.h
@@ -49,10 +49,4 @@ LUAMOD_API int (luaopen_package) (lua_State *L);
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
modified external/lua/src/lutf8lib.c
@@ -224,14 +224,11 @@ static int byteoffset (lua_State *L) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lvm.c
@@ -235,11 +235,11 @@ static int forprep (lua_State *L, StkId ra) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -292,7 +292,7 @@ void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -337,10 +337,7 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -349,7 +346,7 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -409,7 +406,7 @@ static int l_strcmp (const TString *ls, const TString *rs) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -426,7 +423,7 @@ static int LTintfloat (lua_Integer i, lua_Number f) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -443,7 +440,7 @@ static int LEintfloat (lua_Integer i, lua_Number f) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -460,7 +457,7 @@ static int LTfloatint (lua_Number f, lua_Integer i) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -476,7 +473,7 @@ static int LEfloatint (lua_Number f, lua_Integer i) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -498,7 +495,7 @@ static int LTnum (const TValue *l, const TValue *r) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -571,8 +568,13 @@ int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -654,7 +656,7 @@ void luaV_concat (lua_State *L, int total) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -698,7 +700,7 @@ void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -714,7 +716,7 @@ void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -734,7 +736,7 @@ lua_Integer luaV_idiv (lua_State *L, lua_Integer m, lua_Integer n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -764,7 +766,8 @@ lua_Number luaV_modf (lua_State *L, lua_Number m, lua_Number n) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -845,6 +848,19 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -920,7 +936,7 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -949,7 +965,7 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1048,7 +1064,8 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1092,7 +1109,7 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1106,7 +1123,7 @@ void luaV_finishOp (lua_State *L) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1134,7 +1151,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1149,6 +1166,10 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1527,7 +1548,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1616,13 +1637,13 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1632,29 +1653,18 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -1663,9 +1673,10 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1677,23 +1688,23 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1707,8 +1718,8 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1811,7 +1822,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lvm.h
@@ -60,12 +60,14 @@ typedef enum {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|