fix error count on error
This commit is contained in:
parent
291b607f4e
commit
ec5cff92d8
|
@ -1,5 +1,7 @@
|
|||
#include <system.h>
|
||||
|
||||
extern int nerrors;
|
||||
|
||||
error( fmt, argv)
|
||||
char *fmt;
|
||||
int argv;
|
||||
|
@ -7,4 +9,5 @@ int argv;
|
|||
fprint( STDERR, "!! ERROR : ");
|
||||
doprnt( STDERR, fmt, &argv);
|
||||
fprint( STDERR, " !!\n");
|
||||
nerrors++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue