Made errors/warnings statistic message visible when there are errors.
This commit is contained in:
@@ -325,7 +325,8 @@ void ListWarnings (FILE* F)
|
|||||||
void ErrorReport (void)
|
void ErrorReport (void)
|
||||||
/* Report errors (called at end of compile) */
|
/* Report errors (called at end of compile) */
|
||||||
{
|
{
|
||||||
Print (stdout, 1, "%u errors, %u warnings\n", ErrorCount, WarningCount);
|
unsigned int V = (ErrorCount != 0 ? 0 : 1);
|
||||||
|
Print (stdout, V, "%u errors and %u warnings generated.\n", ErrorCount, WarningCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user