X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/04781c84bdab91b4a1a05115be75830841359bc9..27bdc5ab5b1f2a90b06fc924346f014e1b272c65:/error.c diff --git a/error.c b/error.c index 879d081..0330e76 100644 --- a/error.c +++ b/error.c @@ -249,6 +249,14 @@ static void do_error(int code, va_list ap) { " than body width %d", i, j); flags = FILEPOS; break; + case err_htmlver: + fpos = *va_arg(ap, filepos *); + wsp = va_arg(ap, wchar_t *); + sp = utoa_locale_dup(wsp); + sprintf(error, "unrecognised HTML version keyword `%.200s'", sp); + sfree(sp); + flags = FILEPOS; + break; case err_whatever: sp = va_arg(ap, char *); vsprintf(error, sp, ap);