aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-06-22 11:41:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-06-22 11:41:48 -0300
commitab6a94952215b1f66436d8eeebded1dad9fa5409 (patch)
treeba66254537defc76602ce351d962b899ddfe1b29 /lundump.c
parent86e8039a72646cd9192fd08a6f1771c90b872ff6 (diff)
parentea39042e13645f63713425c05cc9ee4cfdcf0a40 (diff)
downloadlua-ab6a94952215b1f66436d8eeebded1dad9fa5409.tar.gz
lua-ab6a94952215b1f66436d8eeebded1dad9fa5409.tar.bz2
lua-ab6a94952215b1f66436d8eeebded1dad9fa5409.zip
Merge branch 'master' into nextversion
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lundump.c b/lundump.c
index 3bff463f..1df15e53 100644
--- a/lundump.c
+++ b/lundump.c
@@ -261,6 +261,8 @@ static void loadDebug (LoadState *S, Proto *f) {
261 f->locvars[i].endpc = loadInt(S); 261 f->locvars[i].endpc = loadInt(S);
262 } 262 }
263 n = loadInt(S); 263 n = loadInt(S);
264 if (n != 0) /* does it have debug information? */
265 n = f->sizeupvalues; /* must be this many */
264 for (i = 0; i < n; i++) 266 for (i = 0; i < n; i++)
265 f->upvalues[i].name = loadStringN(S, f); 267 f->upvalues[i].name = loadStringN(S, f);
266} 268}