Fix lost error count tracking.

This commit is contained in:
Bill Currie 2018-10-11 22:03:14 +09:00
parent a096babb1f
commit 3bc664811e

View file

@ -223,6 +223,8 @@ error (expr_t *e, const char *fmt, ...)
{
va_list args;
pr.error_count++;
report_function (e);
va_start (args, fmt);