summaryrefslogtreecommitdiff
path: root/test/rlhc.d/case/cppscan6_cs.cs-A-T0--var-backend.in
blob: a273fd6df6d1799969efcc7f8efcd07682ce2650 (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
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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
host( "working/cppscan6_cs.rl", 1 ) @{/*
	* @@LANG: csharp
	* @@GENERATED: true
	*/
	
	using System;
	// Disables lots of warnings that appear in the test suite
	#pragma warning disable 0168, 0169, 0219, 0162, 0414
	namespace Test {
		class Test
		{
			int ts;
			int te;
			int act;
			int token;
			
			
			
			
		}@
		array s8 _scanner_actions( 0, 45 ) = { 0, 1, 2, 1, 3, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 1, 15, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 21, 1, 22, 1, 23, 1, 24, 1, 25, 1, 26, 1, 27, 1, 28, 1, 29, 1, 30, 1, 31, 1, 32, 1, 33, 1, 34, 1, 35, 1, 36, 1, 37, 1, 38, 1, 39, 1, 40, 1, 41, 1, 42, 1, 43, 1, 44, 1, 45, 2, 0, 1, 2, 3, 4, 2, 3, 5, 2, 3, 6, 2, 3, 7, 0 };
		
		array s16 _scanner_key_offsets( 0, 145 ) = { 0, 0, 3, 3, 6, 6, 7, 11, 13, 14, 16, 17, 23, 54, 56, 57, 58, 60, 61, 63, 66, 67, 71, 79, 85, 88, 98, 107, 117, 126, 127, 128, 135, 144, 145, 0 };
		
		array char _scanner_trans_keys( 0, 126 ) = { c(10), c(34), c(92), c(10), c(39), c(92), c(46), c(43), c(45), c(48), c(57), c(48), c(57), c(33), c(33), c(47), c(10), c(48), c(57), c(65), c(70), c(97), c(102), c(33), c(34), c(37), c(38), c(39), c(42), c(43), c(45), c(46), c(47), c(48), c(58), c(61), c(76), c(94), c(95), c(124), c(35), c(44), c(49), c(57), c(59), c(64), c(65), c(90), c(91), c(96), c(97), c(122), c(123), c(126), c(33), c(126), c(61), c(61), c(38), c(61), c(61), c(43), c(61), c(45), c(61), c(62), c(42), c(42), c(46), c(48), c(57), c(69), c(70), c(76), c(101), c(102), c(108), c(48), c(57), c(70), c(76), c(102), c(108), c(48), c(57), c(33), c(47), c(61), c(46), c(69), c(76), c(85), c(101), c(108), c(117), c(120), c(48), c(57), c(46), c(69), c(76), c(85), c(101), c(108), c(117), c(48), c(57), c(76), c(85), c(108), c(117), c(48), c(57), c(65), c(70), c(97), c(102), c(46), c(69), c(76), c(85), c(101), c(108), c(117), c(48), c(57), c(58), c(61), c(95), c(48), c(57), c(65), c(90), c(97), c(122), c(34), c(39), c(95), c(48), c(57), c(65), c(90), c(97), c(122), c(61), c(61), c(124), c(0) };
		
		array s8 _scanner_single_lengths( 0, 17 ) = { 0, 3, 0, 3, 0, 1, 2, 0, 1, 2, 1, 0, 17, 0, 1, 1, 2, 1, 2, 3, 1, 2, 6, 4, 3, 8, 7, 4, 7, 1, 1, 1, 3, 1, 2, 0 };
		
		array s8 _scanner_range_lengths( 0, 7 ) = { 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 3, 7, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 3, 1, 0, 0, 3, 3, 0, 0, 0 };
		
		array s16 _scanner_index_offsets( 0, 150 ) = { 0, 0, 4, 5, 9, 10, 12, 16, 18, 20, 23, 25, 29, 54, 56, 58, 60, 63, 65, 68, 72, 74, 78, 86, 92, 96, 106, 115, 123, 132, 134, 136, 141, 148, 150, 0 };
		
		array s8 _scanner_trans_cond_spaces( -1, 0 ) = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0 };
		
		array s16 _scanner_trans_offsets( 0, 185 ) = { 0, 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, 0 };
		
		array s8 _scanner_trans_lengths( 0, 1 ) = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 };
		
		array s8 _scanner_cond_keys( 0, 0 ) = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
		
		array s8 _scanner_cond_targs( 0, 34 ) = { 12, 12, 2, 1, 1, 12, 12, 4, 3, 3, 12, 12, 7, 7, 23, 12, 23, 12, 9, 8, 9, 12, 8, 12, 10, 27, 27, 27, 12, 14, 1, 15, 16, 3, 17, 18, 19, 21, 24, 25, 29, 30, 32, 33, 31, 34, 12, 28, 12, 31, 12, 31, 12, 13, 12, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 20, 12, 12, 12, 12, 5, 22, 12, 6, 12, 12, 6, 12, 12, 22, 12, 12, 12, 12, 12, 23, 12, 8, 10, 12, 12, 22, 6, 12, 12, 6, 12, 12, 11, 26, 12, 22, 6, 12, 12, 6, 12, 12, 26, 12, 12, 12, 12, 12, 27, 27, 27, 12, 22, 6, 12, 12, 6, 12, 12, 28, 12, 12, 12, 12, 12, 31, 31, 31, 31, 12, 1, 3, 31, 31, 31, 31, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0 };
		
		array s8 _scanner_cond_actions( 0, 93 ) = { 79, 7, 0, 0, 0, 79, 5, 0, 0, 0, 51, 77, 0, 0, 0, 79, 0, 79, 0, 0, 0, 55, 0, 57, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 90, 0, 0, 84, 0, 0, 0, 53, 90, 53, 0, 53, 0, 53, 0, 73, 0, 21, 71, 31, 71, 23, 37, 71, 27, 71, 43, 33, 71, 45, 35, 0, 71, 47, 69, 49, 0, 87, 71, 0, 9, 9, 0, 9, 9, 87, 61, 9, 9, 9, 9, 0, 61, 0, 0, 29, 71, 87, 0, 11, 11, 0, 11, 11, 0, 93, 63, 87, 0, 13, 13, 0, 13, 13, 93, 65, 15, 15, 15, 15, 0, 0, 0, 67, 87, 0, 11, 11, 0, 11, 11, 90, 63, 17, 71, 19, 71, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 59, 39, 71, 41, 25, 71, 79, 79, 79, 79, 77, 79, 79, 77, 77, 77, 75, 73, 71, 71, 71, 71, 71, 71, 69, 71, 61, 61, 71, 63, 65, 67, 63, 71, 71, 59, 59, 71, 71, 0 };
		
		array s8 _scanner_to_state_actions( 0, 81 ) = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
		
		array s8 _scanner_from_state_actions( 0, 1 ) = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
		
		array s8 _scanner_eof_trans_indexed( 0, 46 ) = { 0, 12, 12, 12, 12, 15, 12, 12, 15, 15, 15, 19, 0, 21, 22, 22, 22, 22, 22, 22, 32, 22, 35, 35, 22, 38, 40, 42, 38, 22, 22, 46, 46, 22, 22, 0 };
		
		array s16 _scanner_eof_trans_direct( 0, 186 ) = { 0, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 0, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 0 };
		
		array s8 _scanner_nfa_targs( 0, 0 ) = { 0, 0 };
		
		array s8 _scanner_nfa_offsets( 0, 0 ) = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
		
		array s8 _scanner_nfa_push_actions( 0, 0 ) = { 0, 0 };
		
		array s8 _scanner_nfa_pop_trans( 0, 0 ) = { 0, 0 };
		
		value int scanner_start = 12;
		value int scanner_first_final = 12;
		value int scanner_error = 0;
		
		value int scanner_en_main = 12;
		
		host( "working/cppscan6_cs.rl", 150 ) @{
			int cs;
			
			void init()
			{
			}@
			{
				cs = cast(int)scanner_start;
				ts = nil;
				te = nil;
				act = 0;
			}
			host( "working/cppscan6_cs.rl", 155 ) @{
			}
			
			void exec( char[] data, int len )
			{
				int p = 0;
				int pe = len;
				int eof = len;
				string _s;
				char [] buffer = new char [1024];
				int blen = 0;
			}@
			{
				int _klen;
				uint _trans = 0;
				uint _cond = 0;
				uint _have = 0;
				uint _cont = 1;
				index s8 _acts;
				uint _nacts;
				index char _keys;
				index s8 _ckeys;
				int _cpc;
				while ( _cont == 1 ) {
					
					if ( cs == 0 )
					_cont = 0;
					_have = 0;
					if ( p == pe ) {
						if ( p == eof )
						{
							if ( _scanner_eof_trans_direct[cs] > 0 ) {
								_trans = cast(uint)_scanner_eof_trans_direct[cs] - 1;
								_cond = cast(uint)_scanner_trans_offsets[_trans];
								_have = 1;
							}
							if ( _have == 0 ) {
							}
						}
						
						if ( _have == 0 )
						_cont = 0;
					}
					if ( _cont == 1 ) {
						if ( _have == 0 ) {
							_acts = offset( _scanner_actions, _scanner_from_state_actions[cs] );
							_nacts = cast(uint)deref( _scanner_actions, _acts );
							_acts += 1;
							while ( _nacts > 0 ) {
								switch ( deref( _scanner_actions, _acts ) ) {
									case 2 {
										host( "NONE", 1 ) ${${ts = p;}$}$
									}
								}
								_nacts -= 1;
								_acts += 1;
							}
							
							_keys = offset( _scanner_trans_keys, _scanner_key_offsets[cs] );
							_trans = cast(uint)_scanner_index_offsets[cs];
							_have = 0;
							
							_klen = cast(int)_scanner_single_lengths[cs];
							if ( _klen > 0 ) {
								index char _lower;
								index char _mid;
								index char _upper;
								_lower = _keys;
								_upper = _keys + _klen - 1;
								while ( _upper >= _lower && _have == 0 ) {
									_mid = _lower + ((_upper-_lower) >> 1);
									if ( ( deref( data, p )) < deref( _scanner_trans_keys, _mid ) )
									_upper = _mid - 1;
									else if ( ( deref( data, p )) > deref( _scanner_trans_keys, _mid ) )
									_lower = _mid + 1;
									else {
										_trans += cast(uint)(_mid - _keys);
										_have = 1;
									}
								}
								if ( _have == 0 ) {
									_keys += _klen;
									_trans += cast(uint)_klen;
								}
							}
							
							if ( _have == 0 ) {
								_klen = cast(int)_scanner_range_lengths[cs];
								if ( _klen > 0 ) {
									index char _lower;
									index char _mid;
									index char _upper;
									_lower = _keys;
									_upper = _keys + (_klen<<1) - 2;
									while ( _have == 0 && _lower <= _upper ) {
										_mid = _lower + (((_upper-_lower) >> 1) & ~1);
										if ( ( deref( data, p )) < deref( _scanner_trans_keys, _mid ) )
										_upper = _mid - 2;
										else if ( ( deref( data, p )) > deref( _scanner_trans_keys, _mid + 1 ) )
										_lower = _mid + 2;
										else {
											_trans += cast(uint)((_mid - _keys)>>1);
											_have = 1;
										}
									}
									if ( _have == 0 )
									_trans += cast(uint)_klen;
								}
							}
							
							_ckeys = offset( _scanner_cond_keys, _scanner_trans_offsets[_trans] );
							_klen = cast(int)_scanner_trans_lengths[_trans];
							_cond = cast(uint)_scanner_trans_offsets[_trans];
							_have = 0;
							
							_cpc = 0;
							{
								index s8 _lower;
								index s8 _mid;
								index s8 _upper;
								_lower = _ckeys;
								_upper = _ckeys + _klen - 1;
								while ( _have == 0 && _lower <= _upper ) {
									_mid = _lower + ((_upper-_lower) >> 1);
									if ( _cpc < cast(int)deref( _scanner_cond_keys, _mid ) )
									_upper = _mid - 1;
									else if ( _cpc > cast(int)deref( _scanner_cond_keys, _mid ) )
									_lower = _mid + 1;
									else {
										_cond += cast(uint)(_mid - _ckeys);
										_have = 1;
									}
								}
								if ( _have == 0 ) {
									cs = 0;
									_cont = 0;
								}
							}
						}
						if ( _cont == 1 ) {
							cs = cast(int)_scanner_cond_targs[_cond];
							
							if ( _scanner_cond_actions[_cond] != 0 ) {
								_acts = offset( _scanner_actions, _scanner_cond_actions[_cond] );
								_nacts = cast(uint)deref( _scanner_actions, _acts );
								_acts += 1;
								while ( _nacts > 0 )
								{
									switch ( deref( _scanner_actions, _acts ) )
									{
										case 3 {
											host( "NONE", 1 ) ${${te = p+1;}$}$
										}
										case 4 {
											host( "working/cppscan6_cs.rl", 39 ) ${${act = 3;}$}$
										}
										case 5 {
											host( "working/cppscan6_cs.rl", 50 ) ${${act = 4;}$}$
										}
										case 6 {
											host( "working/cppscan6_cs.rl", 56 ) ${${act = 5;}$}$
										}
										case 7 {
											host( "working/cppscan6_cs.rl", 62 ) ${${act = 6;}$}$
										}
										case 8 {
											host( "working/cppscan6_cs.rl", 29 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 29 ) ${token = 193;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 9 {
											host( "working/cppscan6_cs.rl", 33 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 33 ) ${token = 192;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 10 {
											host( "working/cppscan6_cs.rl", 50 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 50 ) ${token = 194;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 11 {
											host( "working/cppscan6_cs.rl", 56 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 56 ) ${token = 218;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 12 {
											host( "working/cppscan6_cs.rl", 62 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 62 ) ${token = 219;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 13 {
											host( "working/cppscan6_cs.rl", 68 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 68 ) ${token = 220;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 14 {
											host( "working/cppscan6_cs.rl", 73 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 73 ) ${token = 197;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 15 {
											host( "working/cppscan6_cs.rl", 76 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 76 ) ${token = 223;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 16 {
											host( "working/cppscan6_cs.rl", 79 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 79 ) ${token = 224;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 17 {
											host( "working/cppscan6_cs.rl", 82 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 82 ) ${token = 225;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 18 {
											host( "working/cppscan6_cs.rl", 85 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 85 ) ${token = 226;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 19 {
											host( "working/cppscan6_cs.rl", 88 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 88 ) ${token = 227;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 20 {
											host( "working/cppscan6_cs.rl", 91 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 91 ) ${token = 228;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 21 {
											host( "working/cppscan6_cs.rl", 94 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 94 ) ${token = 229;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 22 {
											host( "working/cppscan6_cs.rl", 97 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 97 ) ${token = 230;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 23 {
											host( "working/cppscan6_cs.rl", 100 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 100 ) ${token = 231;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 24 {
											host( "working/cppscan6_cs.rl", 103 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 103 ) ${token = 232;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 25 {
											host( "working/cppscan6_cs.rl", 106 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 106 ) ${token = 233;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 26 {
											host( "working/cppscan6_cs.rl", 109 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 109 ) ${token = 234;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 27 {
											host( "working/cppscan6_cs.rl", 112 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 112 ) ${token = 212;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 28 {
											host( "working/cppscan6_cs.rl", 115 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 115 ) ${token = 213;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 29 {
											host( "working/cppscan6_cs.rl", 121 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 121 ) ${token = 214;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 30 {
											host( "working/cppscan6_cs.rl", 124 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 124 ) ${token = 215;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 31 {
											host( "working/cppscan6_cs.rl", 129 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 129 ) ${token = 240;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 32 {
											host( "working/cppscan6_cs.rl", 134 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 134 ) ${token = ( int ) ( data[ts] )
														;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 33 {
											host( "working/cppscan6_cs.rl", 20 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 20 ) ${token = 242;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 34 {
											host( "working/cppscan6_cs.rl", 20 ) ${${te = p+1;host( "working/cppscan6_cs.rl", 20 ) ${token = 242;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 35 {
											host( "working/cppscan6_cs.rl", 39 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 39 ) ${token = 195;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 36 {
											host( "working/cppscan6_cs.rl", 50 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 50 ) ${token = 194;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 37 {
											host( "working/cppscan6_cs.rl", 56 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 56 ) ${token = 218;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 38 {
											host( "working/cppscan6_cs.rl", 62 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 62 ) ${token = 219;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 39 {
											host( "working/cppscan6_cs.rl", 68 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 68 ) ${token = 220;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 40 {
											host( "working/cppscan6_cs.rl", 118 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 118 ) ${token = 211;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 41 {
											host( "working/cppscan6_cs.rl", 134 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 134 ) ${token = ( int ) ( data[ts] )
														;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 42 {
											host( "working/cppscan6_cs.rl", 142 ) ${${te = p;p = p - 1;host( "working/cppscan6_cs.rl", 142 ) ${token = 241;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 43 {
											host( "working/cppscan6_cs.rl", 56 ) ${${p = ((te))-1;
													host( "working/cppscan6_cs.rl", 56 ) ${token = 218;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 44 {
											host( "working/cppscan6_cs.rl", 134 ) ${${p = ((te))-1;
													host( "working/cppscan6_cs.rl", 134 ) ${token = ( int ) ( data[ts] )
														;
														Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
														Console.Write( "\n" );}$}$}$
										}
										case 45 {
											host( "NONE", 1 ) ${${switch( act ) {
														case 0 {
															host( "NONE", 1 ) ${${cs = 0;}$}$ }
														case 3 {
															p = ((te))-1;
															host( "working/cppscan6_cs.rl", 39 ) ${token = 195;
																Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
																Console.Write( "\n" );}$ }
														case 4 {
															p = ((te))-1;
															host( "working/cppscan6_cs.rl", 50 ) ${token = 194;
																Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
																Console.Write( "\n" );}$ }
														case 5 {
															p = ((te))-1;
															host( "working/cppscan6_cs.rl", 56 ) ${token = 218;
																Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
																Console.Write( "\n" );}$ }
														case 6 {
															p = ((te))-1;
															host( "working/cppscan6_cs.rl", 62 ) ${token = 219;
																Console.Write( "<" );Console.Write( token );Console.Write( "> " );Console.Write( new String( data , ts , te - ts ) );
																Console.Write( "\n" );}$ }
													}}$
											}$
										}
									}
									_nacts -= 1;
									_acts += 1;
								}
							}
							
							_acts = offset( _scanner_actions, _scanner_to_state_actions[cs] );
							_nacts = cast(uint)deref( _scanner_actions, _acts );
							_acts += 1;
							while ( _nacts > 0 ) {
								switch ( deref( _scanner_actions, _acts ) ) {
									case 0 {
										host( "NONE", 1 ) ${${ts = nil;}$}$
									}
									case 1 {
										host( "NONE", 1 ) ${${act = 0;}$}$
									}
								}
								_nacts -= 1;
								_acts += 1;
							}
							
							if ( cs == 0 )
							_cont = 0;
							if ( _cont == 1 )
							p += 1;
							
						}
					}
				}
			}
			host( "working/cppscan6_cs.rl", 166 ) @{
			}
			
			void finish( )
			{
				if ( cs >= scanner_first_final )
				Console.WriteLine( "ACCEPT" );
				else
				Console.WriteLine( "FAIL" );
			}
			
			static readonly string[] inp = {
				"\"\\\"hi\" /!\n!/\n44 .44\n44. 44\n44 . 44\n44.44\n_hithere22",
				"'\\''\"\\n\\d'\\\"\"\nhi\n99\n.99\n99e-4\n->*\n||\n0x98\n0x\n//\n/! * !/",
				"'\n'\n",
			};
			
			
			static readonly int inplen = 3;
			
			public static void Main (string[] args)
			{
				Test machine = new Test();
				for ( int i = 0; i < inplen; i++ ) {
					machine.init();
					machine.exec( inp[i].ToCharArray(), inp[i].Length );
					machine.finish();
				}
			}
		}
	}
}@