URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 4 |
Rev 21 |
#include <stdio.h>
|
#include <stdio.h>
|
#include <stdlib.h>
|
#include <stdlib.h>
|
#ifndef EXPORT
|
#ifndef EXPORT
|
#define EXPORT
|
#define EXPORT
|
#endif
|
#endif
|
|
|
static char rcsid[] = "$Id: yynull.c,v 1.3 2001/06/07 22:30:09 drh Exp $";
|
static char rcsid[] = "$Id: yynull.c,v 1.3 2001/06/07 22:30:09 drh Exp $";
|
|
|
EXPORT void _YYnull(char *file, int line) {
|
EXPORT void _YYnull(char *file, int line) {
|
fprintf(stderr, "null pointer dereferenced:");
|
fprintf(stderr, "null pointer dereferenced:");
|
if (file)
|
if (file)
|
fprintf(stderr, " file %s,", file);
|
fprintf(stderr, " file %s,", file);
|
fprintf(stderr, " line %d\n", line);
|
fprintf(stderr, " line %d\n", line);
|
fflush(stderr);
|
fflush(stderr);
|
abort();
|
abort();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.