Convert usages of errx to h_platform_errx
This BSD call will have to be implemented on windows. Right now we have a stub that just exits the process.
This commit is contained in:
parent
c8726244ae
commit
0c35525e30
10 changed files with 63 additions and 12 deletions
|
|
@ -246,7 +246,7 @@ static HParseResult* parse_length_value(void *env, HParseState *state) {
|
|||
if (!len)
|
||||
return NULL;
|
||||
if (len->ast->token_type != TT_UINT)
|
||||
errx(1, "Length parser must return an unsigned integer");
|
||||
h_platform_errx(1, "Length parser must return an unsigned integer");
|
||||
// TODO: allocate this using public functions
|
||||
HRepeat repeat = {
|
||||
.p = lv->value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue