summaryrefslogtreecommitdiff
path: root/test/config4c.f.re
blob: cc10e3691a20598c47ff1b47d3aca8b5e1ead038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define	NULL		((char*) 0)
#define	YYCTYPE		char
#define	YYCURSOR	p
#define	YYLIMIT		p
#define	YYMARKER	q
#define	YYFILL(n)

char *scan(char *p)
{
	char *q;
/*!re2c
	re2c:startlabel = "start";
	re2c:state:abort = 0;
	[0-9]+		{ return YYCURSOR; }
	[\000-\377]	{ return NULL; }
*/
}