File: repeater2.c

package info (click to toggle)
re2c 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 50,052 kB
  • sloc: cpp: 32,477; ml: 8,279; sh: 5,265; makefile: 968; haskell: 612; python: 428; ansic: 227; javascript: 111; java: 3
file content (321 lines) | stat: -rw-r--r-- 5,619 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
/* Generated by re2c */
#line 1 "repeater2.re"
// re2c $INPUT -o $OUTPUT 

#line 6 "repeater2.c"
{
	YYCTYPE yych;
#line 3 "repeater2.re"
	{}
#line 11 "repeater2.c"
}
#line 4 "repeater2.re"



#line 17 "repeater2.c"
{
	YYCTYPE yych;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy3;
		default: goto yy2;
	}
yy2:
yy3:
	++YYCURSOR;
#line 7 "repeater2.re"
	{}
#line 31 "repeater2.c"
}
#line 8 "repeater2.re"



#line 37 "repeater2.c"
{
	YYCTYPE yych;
	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy6;
		default: goto yy5;
	}
yy5:
yy6:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy7;
		default: goto yy5;
	}
yy7:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy8;
		default: goto yy5;
	}
yy8:
	++YYCURSOR;
#line 11 "repeater2.re"
	{}
#line 63 "repeater2.c"
}
#line 12 "repeater2.re"



#line 69 "repeater2.c"
{
	YYCTYPE yych;
	goto yy9;
yy10:
	++YYCURSOR;
yy9:
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy10;
		default: goto yy11;
	}
yy11:
#line 15 "repeater2.re"
	{}
#line 85 "repeater2.c"
}
#line 16 "repeater2.re"



#line 91 "repeater2.c"
{
	YYCTYPE yych;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy14;
		default: goto yy13;
	}
yy13:
yy14:
	++YYCURSOR;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy14;
		default: goto yy15;
	}
yy15:
#line 19 "repeater2.re"
	{}
#line 112 "repeater2.c"
}
#line 20 "repeater2.re"



#line 118 "repeater2.c"
{
	YYCTYPE yych;
	if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy18;
		default: goto yy17;
	}
yy17:
yy18:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy19;
		default: goto yy17;
	}
yy19:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy20;
		default: goto yy17;
	}
yy20:
	++YYCURSOR;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy20;
		default: goto yy21;
	}
yy21:
#line 23 "repeater2.re"
	{}
#line 151 "repeater2.c"
}
#line 24 "repeater2.re"



#line 157 "repeater2.c"
{
	YYCTYPE yych;
#line 27 "repeater2.re"
	{}
#line 162 "repeater2.c"
}
#line 28 "repeater2.re"



#line 168 "repeater2.c"
{
	YYCTYPE yych;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy25;
		default: goto yy24;
	}
yy24:
#line 31 "repeater2.re"
	{}
#line 180 "repeater2.c"
yy25:
	++YYCURSOR;
	goto yy24;
}
#line 32 "repeater2.re"



#line 189 "repeater2.c"
{
	YYCTYPE yych;
	if (YYLIMIT <= YYCURSOR) YYFILL(1);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy28;
		default: goto yy27;
	}
yy27:
yy28:
	++YYCURSOR;
#line 35 "repeater2.re"
	{}
#line 203 "repeater2.c"
}
#line 36 "repeater2.re"



#line 209 "repeater2.c"
{
	YYCTYPE yych;
	if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy31;
		default: goto yy30;
	}
yy30:
yy31:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy32;
		default: goto yy30;
	}
yy32:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy34;
		default: goto yy33;
	}
yy33:
#line 39 "repeater2.re"
	{}
#line 234 "repeater2.c"
yy34:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy35;
		default: goto yy33;
	}
yy35:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy36;
		default: goto yy33;
	}
yy36:
	++YYCURSOR;
	goto yy33;
}
#line 40 "repeater2.re"



#line 255 "repeater2.c"
{
	YYCTYPE yych;
	if ((YYLIMIT - YYCURSOR) < 5) YYFILL(5);
	yych = *YYCURSOR;
	switch (yych) {
		case 'a': goto yy39;
		default: goto yy38;
	}
yy38:
yy39:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy40;
		default: goto yy38;
	}
yy40:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy41;
		default: goto yy38;
	}
yy41:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy42;
		default: goto yy38;
	}
yy42:
	yych = *++YYCURSOR;
	switch (yych) {
		case 'a': goto yy43;
		default: goto yy38;
	}
yy43:
	++YYCURSOR;
#line 43 "repeater2.re"
	{}
#line 293 "repeater2.c"
}
#line 44 "repeater2.re"

repeater2.re:6:0: warning: control flow is undefined for strings that match '[\x0-\x60\x62-\xFF]', use default rule '*' [-Wundefined-control-flow]
repeater2.re:10:0: warning: control flow is undefined for strings that match 
	'[\x0-\x60\x62-\xFF]'
	'\x61 [\x0-\x60\x62-\xFF]'
	'\x61 \x61 [\x0-\x60\x62-\xFF]'
, use default rule '*' [-Wundefined-control-flow]
repeater2.re:15:9: warning: rule matches empty string [-Wmatch-empty-string]
repeater2.re:18:0: warning: control flow is undefined for strings that match '[\x0-\x60\x62-\xFF]', use default rule '*' [-Wundefined-control-flow]
repeater2.re:22:0: warning: control flow is undefined for strings that match 
	'[\x0-\x60\x62-\xFF]'
	'\x61 [\x0-\x60\x62-\xFF]'
	'\x61 \x61 [\x0-\x60\x62-\xFF]'
, use default rule '*' [-Wundefined-control-flow]
repeater2.re:31:10: warning: rule matches empty string [-Wmatch-empty-string]
repeater2.re:34:0: warning: control flow is undefined for strings that match '[\x0-\x60\x62-\xFF]', use default rule '*' [-Wundefined-control-flow]
repeater2.re:38:0: warning: control flow is undefined for strings that match 
	'[\x0-\x60\x62-\xFF]'
	'\x61 [\x0-\x60\x62-\xFF]'
, use default rule '*' [-Wundefined-control-flow]
repeater2.re:42:0: warning: control flow is undefined for strings that match 
	'[\x0-\x60\x62-\xFF]'
	'\x61 [\x0-\x60\x62-\xFF]'
	'\x61 \x61 [\x0-\x60\x62-\xFF]'
	'\x61 \x61 \x61 [\x0-\x60\x62-\xFF]'
	'\x61 \x61 \x61 \x61 [\x0-\x60\x62-\xFF]'
, use default rule '*' [-Wundefined-control-flow]