39 void error (
const char *format, ...)
42 va_start (argptr, format);
43 fprintf (stderr,
"%s error: ",
prog);
44 (void) vfprintf (stderr, format, argptr);
60 fprintf (stderr,
"%s: %s %s\n",
prog, __DATE__, __TIME__);
88 fprintf (stderr,
"%s: unknown option `-%s'\n",
97 int main (
int argc,
char **argv)
110 fprintf (stderr,
"usage\n %s [-c] [-V] [-s] [-t] [-d[stf]] file\n",
114 else while (--argc > 0)
115 if (**++argv !=
'-' && **argv)
134 fprintf (stderr,
"%s: no files specified\n",
prog);
void dfa_mkstate(struct DFA *)
void dfa_delete(struct DFA **)
struct DFA * dfa_init(void)
int main(int argc, char **argv)
static int lexer_options(int argc, char **argv)
void error(const char *format,...)
int read_file(const char *, struct DFA *)