summaryrefslogtreecommitdiff
path: root/usr.bin/lex/libmain.c
blob: 2a1d53fdb741ed35472076195746e7b4daac6ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*	$OpenBSD: libmain.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $	*/

/* libmain - flex run-time support library "main" function */

/* $Header: /cvs/OpenBSD/src/usr.bin/lex/libmain.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $ */

#include <sys/cdefs.h>

int yylex(void);
int main(int, char **);

/* ARGSUSED */
int
main(int argc, char *argv[])
{
	while (yylex() != 0)
		;

	return 0;
}