blob: 000f78ccc7dabed66801cf2ecbb500f2a19e9a85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- lua-5.1.4.orig/src/lparser.c 2007/12/28 15:32:23 2.42.1.3
+++ lua-5.1.4/src/lparser.c 2011/10/17 13:10:43
@@ -374,9 +374,9 @@
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 */
}
|