blob: e602b4062f735b0a17b51054a6a84dcc23dd636a (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/* Generated by re2c */
#line 1 "condition_04.cg.re"
#line 5 "condition_04.cg.c"
{
YYCTYPE yych;
static void *yyctable[2] = {
&&yyc_r1,
&&yyc_r2,
};
goto *yyctable[YYGETCONDITION()];
/* *********************************** */
yyc_r1:
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
if (yych <= '2') {
if (yych <= '0') goto yy3;
if (yych <= '1') goto yy4;
goto yy6;
} else {
if (yych <= '`') goto yy3;
if (yych <= 'a') goto yy8;
if (yych <= 'b') goto yy10;
}
yy3:
yy4:
++YYCURSOR;
#line 3 "condition_04.cg.re"
{ return "1"; }
#line 31 "condition_04.cg.c"
yy6:
++YYCURSOR;
#line 4 "condition_04.cg.re"
{ return "2"; }
#line 36 "condition_04.cg.c"
yy8:
++YYCURSOR;
#line 5 "condition_04.cg.re"
{ return "a"; }
#line 41 "condition_04.cg.c"
yy10:
++YYCURSOR;
#line 6 "condition_04.cg.re"
{ return "b"; }
#line 46 "condition_04.cg.c"
/* *********************************** */
yyc_r2:
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
if (yych <= '2') {
if (yych <= '0') goto yy14;
if (yych <= '1') goto yy15;
goto yy17;
} else {
if (yych == 'b') goto yy19;
}
yy14:
yy15:
++YYCURSOR;
#line 3 "condition_04.cg.re"
{ return "1"; }
#line 63 "condition_04.cg.c"
yy17:
++YYCURSOR;
#line 4 "condition_04.cg.re"
{ return "2"; }
#line 68 "condition_04.cg.c"
yy19:
++YYCURSOR;
#line 6 "condition_04.cg.re"
{ return "b"; }
#line 73 "condition_04.cg.c"
}
#line 8 "condition_04.cg.re"
re2c: warning: line 8: control flow in condition 'r1' is undefined for strings that match '[\x0-\x30\x33-\x60\x63-\xFF]', use default rule '*' [-Wundefined-control-flow]
re2c: warning: line 8: control flow in condition 'r2' is undefined for strings that match '[\x0-\x30\x33-\x61\x63-\xFF]', use default rule '*' [-Wundefined-control-flow]
re2c: warning: line 8: looks like you use hardcoded numbers instead of autogenerated condition names: better add '/*!types:re2c*/' directive or '-t, --type-header' option and don't rely on fixed condition order. [-Wcondition-order]
|