1 /* $Id: report.c,v 1.7 1994/06/24 12:27:16 ceriel Exp $ */
3 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4 * See the copyright notice in the ACK home directory, in the file "Copyright".
8 extern int err, lineno;
9 extern char *curr_file;
12 report(fmt, arg1, arg2, arg3) char *fmt;
14 fprint(STDERR, "%s (%d) F: ", curr_file, lineno);
15 fprint(STDERR, fmt, arg1, arg2, arg3);
21 warning(fmt, arg1, arg2, arg3) char *fmt, *arg1;
23 fprint(STDERR, "%s (%d) E: ", curr_file, lineno);
24 fprint(STDERR, fmt, arg1, arg2, arg3);
29 fatal(fmt, arg1, arg2, arg3) char *fmt, *arg1;
31 fprint(STDERR, "%s (%d) X: ", curr_file, lineno);
32 fprint(STDERR, fmt, arg1, arg2, arg3);