OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [lib/] [yynull.c] - Blame information for rev 158

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
#include <stdio.h>
2
#include <stdlib.h>
3
#ifndef EXPORT
4
#define EXPORT
5
#endif
6
 
7
static char rcsid[] = "$Id: yynull.c,v 1.3 2001/06/07 22:30:09 drh Exp $";
8
 
9
EXPORT void _YYnull(char *file, int line) {
10
        fprintf(stderr, "null pointer dereferenced:");
11
        if (file)
12
                fprintf(stderr, " file %s,", file);
13
        fprintf(stderr, " line %d\n", line);
14
        fflush(stderr);
15
        abort();
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.