diff options
author | sfan5 <sfan5@live.de> | 2018-05-30 16:30:44 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-05-30 16:30:44 +0200 |
commit | ddd03c38a418c9f2ed204bf4fa68fd1d5feac11f (patch) | |
tree | 37b5d8f02fe8f1de111a9d67b4c128edc9d656c5 /lib/lua/src/lparser.c | |
parent | e3e98f935687ba60512889a5ddc62010216aa331 (diff) | |
download | minetest-ddd03c38a418c9f2ed204bf4fa68fd1d5feac11f.tar.gz minetest-ddd03c38a418c9f2ed204bf4fa68fd1d5feac11f.tar.bz2 minetest-ddd03c38a418c9f2ed204bf4fa68fd1d5feac11f.zip |
Update embedded Lua to 5.1.5 (#7387)
Diffstat (limited to 'lib/lua/src/lparser.c')
-rw-r--r-- | lib/lua/src/lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lua/src/lparser.c b/lib/lua/src/lparser.c index 1e2a9a88b..dda7488dc 100644 --- a/lib/lua/src/lparser.c +++ b/lib/lua/src/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 2.42.1.3 2007/12/28 15:32:23 roberto Exp $ +** $Id: lparser.c,v 2.42.1.4 2011/10/21 19:31:42 roberto Exp $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -374,9 +374,9 @@ static void close_func (LexState *ls) { lua_assert(luaG_checkcode(f)); lua_assert(fs->bl == NULL); ls->fs = fs->prev; - L->top -= 2; /* remove table and prototype from the stack */ /* last token read was anchored in defunct function; must reanchor it */ if (fs) anchor_token(ls); + L->top -= 2; /* remove table and prototype from the stack */ } |