aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/lib/yynull.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/lib/yynull.c')
-rw-r--r--lcc/lib/yynull.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lcc/lib/yynull.c b/lcc/lib/yynull.c
deleted file mode 100644
index 7dbc968..0000000
--- a/lcc/lib/yynull.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#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();
-}