mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user