d9494baa34
Change-Id: Ib18171089c7b389f7f2643d7298f9659e882f65c
16 lines
296 B
C
16 lines
296 B
C
#include <stdio.h>
|
|
#include "regexp.h"
|
|
#include "proto.h"
|
|
|
|
void regerror(char *s) {
|
|
#ifndef DOSPORT
|
|
#ifdef ERRAVAIL
|
|
error("regexp: %s", s);
|
|
#else
|
|
fprintf(stderr, "regexp(3): %s", s);
|
|
exit(1);
|
|
#endif
|
|
/* NOTREACHED */
|
|
#endif /* ifdef'd out for less's sake when reporting error inside less */
|
|
}
|