diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-10-11 13:49:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-10-11 13:49:13 -0300 |
commit | 87a9573b2eb3f1da8e438f92ade994160d930b09 (patch) | |
tree | a935872e61f23c81b430dd867c98329b8782a907 /ldebug.c | |
parent | deac067ed39a44c001599c0d15de09872496b2aa (diff) | |
download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |