Documentation

Better explanation about the guaranties of multiple assignment in
the manual.
This commit is contained in:
Roberto Ierusalimschy
2021-10-11 13:49:13 -03:00
parent deac067ed3
commit 87a9573b2e
4 changed files with 13 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ static int getbaseline (const Proto *f, int pc, int *basepc) {
}
else {
int i = cast_uint(pc) / MAXIWTHABS - 1; /* get an estimate */
/* estimate must be a lower bond of the correct base */
/* estimate must be a lower bound of the correct base */
lua_assert(i < 0 ||
(i < f->sizeabslineinfo && f->abslineinfo[i].pc <= pc));
while (i + 1 < f->sizeabslineinfo && pc >= f->abslineinfo[i + 1].pc)