the new compiler is becoming usable. but not complete yet.

added more string copy functions
This commit is contained in:
2021-01-22 14:43:47 +00:00
parent 58165aad49
commit 51e347889d
12 changed files with 447 additions and 199 deletions

View File

@ -1349,7 +1349,7 @@ static void reformat_synerr (hcl_t* hcl)
"%js%s%.*js at line %zu column %zu",
orgmsg,
(synerr.tgt.len > 0? " near ": ""),
synerr.tgt.len, synerr.tgt.ptr,
synerr.tgt.len, synerr.tgt.val,
synerr.loc.line, synerr.loc.colm
);
}