2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 static char rcsid[]= "$Id: error.c,v 0.3 1994/06/24 10:37:11 ceriel Exp $";
15 error("Parser gives %s",s);
20 error("This was fatal, goodbye!");
27 fatal(s,a,b,c,d) char *s; {
36 error(s,a,b,c,d) char *s; {
38 extern char *filename;
40 fprintf(stderr,"\"%s\", line %d:",filename,lineno);
41 fprintf(stderr,s,a,b,c,d);
47 badassertion(string,file,line) char *string,*file; {
49 fprintf(stderr,"\"%s\", line %d: Assertion failed \"%s\"\n",
55 tabovf(string) char *string; {
57 fatal("%s overflow",string);