aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-03 11:36:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-03 11:36:42 -0300
commit2c68e66570206aa1496f9c76fcf2a1a0f550d692 (patch)
treebcc6fd7939b12ef3a636d88ce0ac38da036660d8 /ldebug.c
parent7d0f41df41e9c513e7282356541b54beaf9ed20d (diff)
downloadlua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.gz
lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.tar.bz2
lua-2c68e66570206aa1496f9c76fcf2a1a0f550d692.zip
Details
Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like)
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 6cd4e071..acaa653a 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -373,6 +373,7 @@ static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar,
373 ar->ftransfer = ci->u2.transferinfo.ftransfer; 373 ar->ftransfer = ci->u2.transferinfo.ftransfer;
374 ar->ntransfer = ci->u2.transferinfo.ntransfer; 374 ar->ntransfer = ci->u2.transferinfo.ntransfer;
375 } 375 }
376 break;
376 } 377 }
377 case 'L': 378 case 'L':
378 case 'f': /* handled by lua_getinfo */ 379 case 'f': /* handled by lua_getinfo */
@@ -525,8 +526,8 @@ static const char *gxf (const Proto *p, int pc, Instruction i, int isup) {
525} 526}
526 527
527 528
528 const char *getobjname (const Proto *p, int lastpc, int reg, 529static const char *getobjname (const Proto *p, int lastpc, int reg,
529 const char **name) { 530 const char **name) {
530 int pc; 531 int pc;
531 *name = luaF_getlocalname(p, reg + 1, lastpc); 532 *name = luaF_getlocalname(p, reg + 1, lastpc);
532 if (*name) /* is a local? */ 533 if (*name) /* is a local? */