Edinburgh Speech Tools 2.4-release
regerror.c
1#include <stdio.h>
2#include <stdlib.h>
3#include "regexp.h"
4
5void
6hs_regerror(s)
7const char *s;
8{
9#ifdef ERRAVAIL
10 error("regexp: %s", s);
11#else
12 fprintf(stderr, "regexp(3): %s\n", s);
13 exit(1);
14 return; /* let std. egrep handle errors */
15#endif
16 /* NOTREACHED */
17}