File: casing-flags.c

package info (click to toggle)
re2c 4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,512 kB
  • sloc: cpp: 34,160; ml: 8,494; sh: 5,311; makefile: 1,014; haskell: 611; python: 431; ansic: 234; javascript: 113
file content (25 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (3)
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 */
// re2c $INPUT -o $OUTPUT -i --case-insensitive

{
	YYCTYPE yych;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'A':
		case 'a': goto yy2;
		case 'B':
		case 'b': goto yy3;
		default: goto yy1;
	}
yy1:
yy2:
	++YYCURSOR;
	{return 'a';}
yy3:
	++YYCURSOR;
	{return 'b';}
}

}
casing-flags.re:2:0: warning: control flow is undefined for strings that match '[\x0-\x40\x43-\x60\x63-\xFF]', use default rule '*' [-Wundefined-control-flow]