mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-11 05:11:29 +00:00
13 lines
242 B
C
13 lines
242 B
C
|
#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();
|
||
|
}
|