summaryrefslogtreecommitdiff
path: root/test/config4f.f.re
blob: 7e0cb78f7dced986dcebd8b31995a8b5b0a9cc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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:indent:top = 1;
*/
/*!getstate:re2c */

	// after getstate

/*!re2c
	re2c:state:abort = 0;
	re2c:state:nextlabel = 0;
	[0-9]+		{ return YYCURSOR; }
	[\000-\377]	{ return NULL; }
*/
}