ioef/lcc/lib/yynull.c
2005-08-26 04:48:05 +00:00

12 lines
254 B
C
Executable file

#include <stdio.h>
#include <stdlib.h>
void _YYnull(char *file, int line) {
fprintf(stderr, "null pointer dereferenced:");
if (file)
fprintf(stderr, " file %s,", file);
fprintf(stderr, " line %d\n", line);
fflush(stderr);
abort();
}