summaryrefslogtreecommitdiff
path: root/test/config11.ei.c
blob: e9f1593faf9af5af8ff76eae6838f99ee3fd0318 (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
25
/* Generated by re2c */
unsigned char scan(const unsigned char *s)
{
	unsigned char* cr;
	unsigned char  ch;

{
	unsigned char ch;
	ch = *cr;
	switch (ch) {
	case 0x81:	goto yy3;
	case 0x82:	goto yy5;
	default:	goto yy2;
	}
yy2:
yy3:
	++cr;
	return 'a';
yy5:
	++cr;
	return 'b';
}

}
re2c: warning: line 16: control flow is undefined for strings that match '[\x0-\x80\x83-\xFF]', use default rule '*' [-Wundefined-control-flow]