aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-13 16:35:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-10-13 16:35:42 -0300
commit6e415e9387611cf4d4408ea028899d83921904f9 (patch)
treeb83a92b0b453f6ea3d18b8f5532ef769127f3052
parentb114c99a60cd87f7a7b2e5608b9492235b499d80 (diff)
downloadlua-6e415e9387611cf4d4408ea028899d83921904f9.tar.gz
lua-6e415e9387611cf4d4408ea028899d83921904f9.tar.bz2
lua-6e415e9387611cf4d4408ea028899d83921904f9.zip
local function definition does not need to correct debug information
-rw-r--r--lparser.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lparser.c b/lparser.c
index a16de740..5bf79952 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 2.68 2009/09/30 15:38:37 roberto Exp roberto $ 2** $Id: lparser.c,v 2.69 2009/10/11 20:02:19 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*/
@@ -1209,8 +1209,6 @@ static void localfunc (LexState *ls) {
1209 adjustlocalvars(ls, 1); 1209 adjustlocalvars(ls, 1);
1210 body(ls, &b, 0, ls->linenumber); 1210 body(ls, &b, 0, ls->linenumber);
1211 luaK_storevar(fs, &v, &b); 1211 luaK_storevar(fs, &v, &b);
1212 /* debug information will only see the variable after this point! */
1213 getlocvar(fs, fs->nactvar - 1)->startpc = fs->pc;
1214} 1212}
1215 1213
1216 1214