changed hcl_seterrxxx() functions

This commit is contained in:
2018-04-06 14:37:40 +00:00
parent 4ff11f147c
commit 8726768be2
3 changed files with 11 additions and 13 deletions

View File

@ -2407,7 +2407,7 @@ int hcl_unreadchar (hcl_t* hcl, const hcl_iolxc_t* c)
{
if (hcl->c->nungots >= HCL_COUNTOF(hcl->c->ungot))
{
hcl_seterrnum (hcl, HCL_EBUFFULL);
hcl_seterrbfmt (hcl, HCL_EBUFFULL, "character unread buffer full");
return -1;
}