summaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lparser.c b/lparser.c
index c565d140..cf0e18d1 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 1.219 2003/09/29 16:41:35 roberto Exp roberto $ 2** $Id: lparser.c,v 1.220 2003/10/03 16:04:24 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -1172,6 +1172,8 @@ static void localfunc (LexState *ls) {
1172 adjustlocalvars(ls, 1); 1172 adjustlocalvars(ls, 1);
1173 body(ls, &b, 0, ls->linenumber); 1173 body(ls, &b, 0, ls->linenumber);
1174 luaK_storevar(fs, &v, &b); 1174 luaK_storevar(fs, &v, &b);
1175 /* debug information will only see the variable after this point! */
1176 getlocvar(fs, fs->nactvar - 1).startpc = fs->pc;
1175} 1177}
1176 1178
1177 1179