Update lua to 5.3.6
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
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -318,6 +318,37 @@ Freely available under the terms of the
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -609,10 +640,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
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -10972,10 +10972,10 @@ and LiteralString, see <a href="#3.1">§3.1</a>.)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/doc/readme.html
@@ -107,7 +107,7 @@ Here are the details.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -328,7 +328,7 @@ For details, see
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -355,10 +355,10 @@ THE SOFTWARE.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/Makefile
@@ -102,7 +102,7 @@ c89:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lapi.c
@@ -1254,13 +1254,12 @@ LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1269,7 +1268,7 @@ LUA_API void *lua_upvalueid (lua_State *L, int fidx, int n) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1286,9 +1285,10 @@ LUA_API void *lua_upvalueid (lua_State *L, int fidx, int n) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lauxlib.c
@@ -1011,8 +1011,13 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/lcode.c
@@ -1061,7 +1061,7 @@ static void codecomp (FuncState *fs, BinOpr opr, expdesc *e1, expdesc *e2) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/ldebug.c
@@ -133,10 +133,11 @@ static const char *upvalname (Proto *p, int uv) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -148,7 +149,7 @@ static const char *findlocal (lua_State *L, CallInfo *ci, int n,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/liolib.c
@@ -277,6 +277,8 @@ static int io_popen (lua_State *L) {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified external/lua/src/llex.c
@@ -244,12 +244,12 @@ static int read_numeral (LexState *ls, SemInfo *seminfo) {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -257,11 +257,14 @@ static int skip_sep (LexState *ls) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -295,8 +298,8 @@ static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -444,9 +447,9 @@ static int llex (LexState *ls, SemInfo *seminfo) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -458,12 +461,12 @@ static int llex (LexState *ls, SemInfo *seminfo) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lobject.c
@@ -266,7 +266,7 @@ static const char *l_str2dloc (const char *s, lua_Number *result, int mode) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lparser.c
@@ -544,6 +544,7 @@ static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1616,6 +1617,7 @@ static void mainfunc (LexState *ls, FuncState *fs) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1634,6 +1636,7 @@ LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/lua/src/lua.h
@@ -1,5 +1,4 @@
|
|
| - | |
|
|
|
|
|
@@ -19,11 +18,11 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -460,7 +459,7 @@ struct lua_Debug {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/lua/src/lundump.c
@@ -85,8 +85,10 @@ static lua_Integer LoadInteger (LoadState *S) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -94,13 +96,17 @@ static TString *LoadString (LoadState *S) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -140,7 +146,7 @@ static void LoadConstants (LoadState *S, Proto *f) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -158,6 +164,7 @@ static void LoadProtos (LoadState *S, Proto *f) {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -189,18 +196,18 @@ static void LoadDebug (LoadState *S, Proto *f) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -271,6 +278,7 @@ LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) {
|
|
|
|
|
|
| + | |
|
|
|
|
|