aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-10-11 13:49:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-10-11 13:49:13 -0300
commit87a9573b2eb3f1da8e438f92ade994160d930b09 (patch)
treea935872e61f23c81b430dd867c98329b8782a907 /ldebug.c
parentdeac067ed39a44c001599c0d15de09872496b2aa (diff)
downloadlua-87a9573b2eb3f1da8e438f92ade994160d930b09.tar.gz
lua-87a9573b2eb3f1da8e438f92ade994160d930b09.tar.bz2
lua-87a9573b2eb3f1da8e438f92ade994160d930b09.zip
Documentation
Better explanation about the guaranties of multiple assignment in the manual.
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldebug.c b/ldebug.c
index 433a8759..dde4669e 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -64,7 +64,7 @@ static int getbaseline (const Proto *f, int pc, int *basepc) {
64 } 64 }
65 else { 65 else {
66 int i = cast_uint(pc) / MAXIWTHABS - 1; /* get an estimate */ 66 int i = cast_uint(pc) / MAXIWTHABS - 1; /* get an estimate */
67 /* estimate must be a lower bond of the correct base */ 67 /* estimate must be a lower bound of the correct base */
68 lua_assert(i < 0 || 68 lua_assert(i < 0 ||
69 (i < f->sizeabslineinfo && f->abslineinfo[i].pc <= pc)); 69 (i < f->sizeabslineinfo && f->abslineinfo[i].pc <= pc));
70 while (i + 1 < f->sizeabslineinfo && pc >= f->abslineinfo[i + 1].pc) 70 while (i + 1 < f->sizeabslineinfo && pc >= f->abslineinfo[i + 1].pc)