ack/util/ceg/EM_parser/as_EM_pars/error.c

14 lines
187 B
C
Raw Normal View History

1987-11-20 11:12:07 +00:00
#include <system.h>
1988-09-09 11:25:43 +00:00
extern int nerrors;
1987-11-20 11:12:07 +00:00
error( fmt, argv)
char *fmt;
int argv;
{
fprint( STDERR, "!! ERROR : ");
doprnt( STDERR, fmt, &argv);
fprint( STDERR, " !!\n");
1988-09-09 11:25:43 +00:00
nerrors++;
1987-11-20 11:12:07 +00:00
}