mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Made errors/warnings statistic message visible when there are errors.
This commit is contained in:
parent
44e3080ea9
commit
99ac1c46da
@ -325,7 +325,8 @@ void ListWarnings (FILE* F)
|
||||
void ErrorReport (void)
|
||||
/* 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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user