fixed the lvalue check in the assignment list in read.c
All checks were successful
continuous-integration/drone/push Build is passing

touched up fnblk handling in comp.c
updated more code in hcl-x.c
This commit is contained in:
2024-04-18 23:06:28 +09:00
parent 2dad89e2e9
commit f9bf37f8bf
8 changed files with 191 additions and 148 deletions

View File

@ -397,6 +397,13 @@ void hcl_reset (hcl_t* hcl)
hcl_gc (hcl, 1);
}
void hcl_clearcode (hcl_t* hcl)
{
/* clear the code buffer and the literal frame only */
hcl->code.bc.len = 0;
hcl->code.lit.len = 0;
}
static int dup_str_opt (hcl_t* hcl, const hcl_ooch_t* value, hcl_oocs_t* tmp)
{
if (value)