renumbers error testers basing on 5000.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
fixed a compiler bug not checking the lower bound of block depth in find_variable_backward_with_word()
This commit is contained in:
@ -409,7 +409,8 @@ HCL_INFO2 (hcl, "CLASS NAMED VAR [%.*js]\n", name->len, name->ptr);
|
||||
/* the current function block accesses temporaries in an outer function block */
|
||||
hcl->c->fnblk.info[hcl->c->fnblk.depth].access_outer = 1;
|
||||
/* temporaries in an outer function block is accessed by the current function block */
|
||||
hcl->c->fnblk.info[i - 1].accessed_by_inner = 1;
|
||||
|
||||
if (i > 0) hcl->c->fnblk.info[i - 1].accessed_by_inner = 1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user