slow_blink 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/slow_blink/ext_schema_parser/lexer.c +168 -177
- data/ext/slow_blink/ext_schema_parser/lexer.h +1 -1
- data/ext/slow_blink/ext_schema_parser/parser.c +303 -306
- data/ext/slow_blink/ext_schema_parser/parser.h +11 -12
- data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/ext_compact_encoder.c +3 -1
- data/ext/slow_blink/message/ext_compact_encoder/extconf.rb +4 -0
- data/lib/slow_blink/error.rb +1 -1
- data/lib/slow_blink/message/binary.rb +19 -26
- data/lib/slow_blink/message/boolean.rb +17 -17
- data/lib/slow_blink/message/date.rb +24 -0
- data/lib/slow_blink/message/decimal.rb +34 -0
- data/lib/slow_blink/message/enumeration.rb +24 -23
- data/lib/slow_blink/message/field.rb +45 -6
- data/lib/slow_blink/message/fixed.rb +35 -25
- data/lib/slow_blink/message/floating_point.rb +16 -17
- data/lib/slow_blink/message/group.rb +242 -136
- data/lib/slow_blink/message/integer.rb +77 -51
- data/lib/slow_blink/message/model.rb +121 -85
- data/lib/slow_blink/message/sequence.rb +43 -28
- data/lib/slow_blink/message/string.rb +17 -31
- data/lib/slow_blink/message/time.rb +55 -17
- data/lib/slow_blink/message/time_of_day.rb +40 -50
- data/lib/slow_blink/schema.rb +17 -6
- data/lib/slow_blink/version.rb +1 -1
- data/rakefile +12 -7
- data/test/tc_incr_annote.rb +16 -0
- data/test/tc_inputs.rb +2 -2
- data/test/tc_model_dynamic_group.rb +105 -0
- data/test/tc_model_extension.rb +143 -0
- data/test/tc_model_static_group.rb +27 -36
- data/test/tc_model_think_blink.rb +18 -35
- metadata +12 -9
- data/ext/slow_blink/ext_compact_encoder/extconf.rb +0 -4
- /data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/compact_encoder.c +0 -0
- /data/ext/slow_blink/{ext_compact_encoder → message/ext_compact_encoder}/compact_encoder.h +0 -0
@@ -265,10 +265,10 @@ static YYLTYPE yyloc_default
|
|
265
265
|
/* YYFINAL -- State number of the termination state. */
|
266
266
|
#define YYFINAL 49
|
267
267
|
/* YYLAST -- Last index in YYTABLE. */
|
268
|
-
#define YYLAST
|
268
|
+
#define YYLAST 180
|
269
269
|
|
270
270
|
/* YYNTOKENS -- Number of terminals. */
|
271
|
-
#define YYNTOKENS
|
271
|
+
#define YYNTOKENS 49
|
272
272
|
/* YYNNTS -- Number of nonterminals. */
|
273
273
|
#define YYNNTS 46
|
274
274
|
/* YYNRULES -- Number of rules. */
|
@@ -283,7 +283,7 @@ static YYLTYPE yyloc_default
|
|
283
283
|
|
284
284
|
/* YYTRANSLATE(X) -- Bison symbol number corresponding to X. */
|
285
285
|
#define YYUNDEFTOK 2
|
286
|
-
#define YYMAXUTOK
|
286
|
+
#define YYMAXUTOK 290
|
287
287
|
|
288
288
|
#define YYTRANSLATE(YYX) \
|
289
289
|
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
@@ -295,15 +295,15 @@ static const unsigned char yytranslate[] =
|
|
295
295
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
296
296
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
297
297
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
298
|
-
43, 44,
|
299
|
-
2, 2, 2, 2, 2, 2, 2, 2,
|
300
|
-
2,
|
298
|
+
42, 43, 44, 2, 38, 2, 48, 46, 2, 2,
|
299
|
+
2, 2, 2, 2, 2, 2, 2, 2, 37, 2,
|
300
|
+
2, 36, 2, 39, 47, 2, 2, 2, 2, 2,
|
301
301
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
302
302
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
303
|
-
2,
|
303
|
+
2, 40, 2, 41, 2, 2, 2, 2, 2, 2,
|
304
304
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
305
305
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
306
|
-
2, 2, 2, 2,
|
306
|
+
2, 2, 2, 2, 45, 2, 2, 2, 2, 2,
|
307
307
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
308
308
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
309
309
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
@@ -320,26 +320,26 @@ static const unsigned char yytranslate[] =
|
|
320
320
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
321
321
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
322
322
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
323
|
-
35
|
323
|
+
35
|
324
324
|
};
|
325
325
|
|
326
326
|
#if YYDEBUG
|
327
327
|
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
328
328
|
static const unsigned short int yyrline[] =
|
329
329
|
{
|
330
|
-
0,
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
330
|
+
0, 130, 130, 137, 143, 151, 156, 160, 166, 173,
|
331
|
+
179, 185, 189, 196, 204, 210, 218, 226, 234, 240,
|
332
|
+
247, 258, 263, 270, 272, 276, 278, 280, 282, 284,
|
333
|
+
286, 288, 294, 302, 310, 316, 324, 330, 338, 346,
|
334
|
+
351, 358, 364, 372, 378, 384, 390, 396, 402, 408,
|
335
|
+
414, 420, 426, 434, 440, 446, 452, 458, 467, 473,
|
336
|
+
480, 486, 493, 502, 504, 509, 516, 521, 525, 531,
|
337
|
+
537, 545, 547, 554, 562, 564, 569, 576, 584, 589,
|
338
|
+
595, 601, 607, 615, 621, 628, 630, 632, 634, 638,
|
339
|
+
640, 644, 646, 650, 655, 660, 665, 670, 675, 680,
|
340
|
+
685, 690, 695, 700, 705, 710, 715, 720, 725, 730,
|
341
|
+
735, 740, 745, 750, 755, 760, 767, 771, 773, 777,
|
342
|
+
784, 788, 790, 794, 798, 802
|
343
343
|
};
|
344
344
|
#endif
|
345
345
|
|
@@ -353,8 +353,8 @@ static const char *const yytname[] =
|
|
353
353
|
"\"decimal\"", "\"date\"", "\"timeOfDayMilli\"", "\"timeOfDayNano\"",
|
354
354
|
"\"nanotime\"", "\"millitime\"", "\"boolean\"", "\"string\"",
|
355
355
|
"\"object\"", "\"namespace\"", "\"type\"", "\"schema\"", "\"binary\"",
|
356
|
-
"\"
|
357
|
-
"\"
|
356
|
+
"\"fixed\"", "\"<-\"", "\"->\"", "\"hexnum\"", "\"uint\"", "\"int\"",
|
357
|
+
"\"name\"", "\"ncName\"", "\"\\\\ncName\"", "\"cName\"",
|
358
358
|
"\"\\\"<annotation>\\\" or '<annotation>'\"", "'='", "':'", "','", "'?'",
|
359
359
|
"'['", "']'", "'('", "')'", "'*'", "'|'", "'/'", "'@'", "'.'", "$accept",
|
360
360
|
"top", "namespace", "defs", "defList", "def", "define", "groupDef",
|
@@ -367,29 +367,29 @@ static const char *const yytname[] =
|
|
367
367
|
};
|
368
368
|
#endif
|
369
369
|
|
370
|
-
#define YYPACT_NINF -
|
370
|
+
#define YYPACT_NINF -93
|
371
371
|
#define YYTABLE_NINF -62
|
372
372
|
|
373
373
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
374
374
|
STATE-NUM. */
|
375
375
|
static const short int yypact[] =
|
376
376
|
{
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
-
|
381
|
-
-
|
382
|
-
-
|
383
|
-
-
|
384
|
-
-
|
385
|
-
-
|
386
|
-
-
|
387
|
-
|
388
|
-
-
|
389
|
-
-
|
390
|
-
-
|
391
|
-
|
392
|
-
-
|
377
|
+
80, -25, -93, -93, -93, -93, 146, 21, -93, -93,
|
378
|
+
92, -93, -25, 3, -93, -93, -4, -6, -93, -93,
|
379
|
+
96, 47, -93, -93, -93, -93, -93, -93, -93, -93,
|
380
|
+
-93, -93, -93, -93, -93, -93, -93, -93, -93, -93,
|
381
|
+
-93, -93, -93, -93, -93, -93, -93, 12, -93, -93,
|
382
|
+
-93, -93, -93, -93, -18, 5, -93, 76, 30, -16,
|
383
|
+
-93, 22, 3, 75, 36, -17, -93, -93, -93, -93,
|
384
|
+
-93, -93, -93, 76, -93, 13, -93, 22, -93, 24,
|
385
|
+
-93, 20, -93, -93, -93, -93, -93, -93, -93, -93,
|
386
|
+
-93, -93, -93, -93, -93, -93, -93, -93, 33, -93,
|
387
|
+
33, 33, 3, -93, 56, -93, -93, -93, -93, -93,
|
388
|
+
-93, -93, -93, 19, -93, -25, 53, 71, -93, -93,
|
389
|
+
-93, -93, -93, 88, -93, 3, 3, -17, -93, -93,
|
390
|
+
-93, -93, 61, 3, 65, -93, 3, -93, -93, -25,
|
391
|
+
74, 78, -93, 73, 43, -93, -93, 24, 93, -93,
|
392
|
+
-93, -93, -93, -93, -93, -93, -93, -93
|
393
393
|
};
|
394
394
|
|
395
395
|
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
|
@@ -418,11 +418,11 @@ static const unsigned char yydefact[] =
|
|
418
418
|
/* YYPGOTO[NTERM-NUM]. */
|
419
419
|
static const signed char yypgoto[] =
|
420
420
|
{
|
421
|
-
-
|
422
|
-
-
|
423
|
-
-
|
424
|
-
-
|
425
|
-
-
|
421
|
+
-93, -93, -93, 111, -93, 123, -93, -93, -1, 11,
|
422
|
+
-93, 57, -93, -93, -93, -93, -93, -86, -93, -93,
|
423
|
+
-93, -93, -93, -92, -93, -59, -93, -8, -93, -2,
|
424
|
+
-93, -93, -93, -93, 68, -5, -93, -93, -93, 1,
|
425
|
+
-93, 67, -93, 15, -81, 0
|
426
426
|
};
|
427
427
|
|
428
428
|
/* YYDEFGOTO[NTERM-NUM]. */
|
@@ -440,90 +440,88 @@ static const short int yydefgoto[] =
|
|
440
440
|
number is the opposite. If YYTABLE_NINF, syntax error. */
|
441
441
|
static const short int yytable[] =
|
442
442
|
{
|
443
|
-
21, 46, 22, 81, 115, 56, 74, 3, 4,
|
444
|
-
|
445
|
-
21,
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
75,
|
450
|
-
|
443
|
+
21, 46, 22, 81, 115, 56, 74, 3, 4, 62,
|
444
|
+
131, 118, 119, 55, 129, 130, 3, 4, 63, 64,
|
445
|
+
21, 49, 57, 82, 83, 84, 85, 86, 87, 88,
|
446
|
+
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
447
|
+
99, 143, 59, 115, 100, 101, 141, -5, 61, 71,
|
448
|
+
6, 65, 3, 4, 5, 67, 73, 76, 116, 117,
|
449
|
+
75, 123, 125, 154, 133, 71, 81, 139, 3, 4,
|
450
|
+
5, 118, 151, 152, 115, 127, 116, 81, 82, 83,
|
451
451
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
452
|
-
94, 95, 96, 97, 98, 99,
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
55,
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
0, 0, 0, 0, 0, 0, 0, 0, 6
|
452
|
+
94, 95, 96, 97, 98, 99, 132, 135, 136, 100,
|
453
|
+
101, 1, 142, 2, 68, 69, 70, 3, 4, 5,
|
454
|
+
137, 144, 3, 4, 5, 2, 134, 149, -61, 2,
|
455
|
+
102, 150, 6, 6, 3, 4, 5, 6, 3, 4,
|
456
|
+
5, 60, 155, 50, 146, 147, 138, 148, 126, 6,
|
457
|
+
55, 122, 140, 6, 124, 0, 0, 0, 157, 23,
|
458
|
+
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
459
|
+
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
460
|
+
44, 45, 0, 0, 0, 0, 0, 0, 3, 4,
|
461
|
+
5
|
463
462
|
};
|
464
463
|
|
465
464
|
static const short int yycheck[] =
|
466
465
|
{
|
467
|
-
0, 6, 1, 62, 63, 13, 22,
|
468
|
-
|
469
|
-
20, 3, 4, 5, 6, 7, 8, 9,
|
470
|
-
12, 13, 14, 15, 16, 17, 18, 19,
|
471
|
-
|
472
|
-
|
473
|
-
59,
|
474
|
-
|
466
|
+
0, 6, 1, 62, 63, 13, 22, 32, 33, 27,
|
467
|
+
102, 28, 29, 12, 100, 101, 32, 33, 36, 37,
|
468
|
+
20, 0, 26, 3, 4, 5, 6, 7, 8, 9,
|
469
|
+
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
470
|
+
20, 133, 48, 102, 24, 25, 127, 0, 36, 57,
|
471
|
+
47, 46, 32, 33, 34, 55, 26, 35, 63, 64,
|
472
|
+
59, 48, 38, 144, 45, 73, 125, 126, 32, 33,
|
473
|
+
34, 28, 29, 30, 133, 42, 81, 136, 3, 4,
|
475
474
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
476
|
-
15, 16, 17, 18, 19, 20,
|
477
|
-
21,
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
139,
|
475
|
+
15, 16, 17, 18, 19, 20, 40, 44, 27, 24,
|
476
|
+
25, 21, 41, 23, 28, 29, 30, 32, 33, 34,
|
477
|
+
22, 46, 32, 33, 34, 23, 115, 43, 45, 23,
|
478
|
+
45, 43, 47, 47, 32, 33, 34, 47, 32, 33,
|
479
|
+
34, 20, 39, 10, 134, 136, 125, 139, 81, 47,
|
480
|
+
139, 73, 127, 47, 77, -1, -1, -1, 148, 3,
|
482
481
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
483
|
-
14, 15, 16, 17, 18, 19, 20,
|
484
|
-
24, -1,
|
485
|
-
34
|
486
|
-
-1, -1, -1, -1, -1, -1, -1, -1, 48
|
482
|
+
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
483
|
+
24, 25, -1, -1, -1, -1, -1, -1, 32, 33,
|
484
|
+
34
|
487
485
|
};
|
488
486
|
|
489
487
|
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
490
488
|
symbol of state STATE-NUM. */
|
491
489
|
static const unsigned char yystos[] =
|
492
490
|
{
|
493
|
-
0, 21, 23, 33, 34,
|
494
|
-
54,
|
495
|
-
|
491
|
+
0, 21, 23, 32, 33, 34, 47, 50, 51, 52,
|
492
|
+
53, 54, 74, 75, 76, 80, 81, 84, 87, 88,
|
493
|
+
89, 94, 88, 3, 4, 5, 6, 7, 8, 9,
|
496
494
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
497
|
-
20, 21, 22, 23, 24,
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
495
|
+
20, 21, 22, 23, 24, 25, 84, 85, 86, 0,
|
496
|
+
54, 94, 55, 56, 78, 88, 76, 26, 82, 48,
|
497
|
+
52, 36, 27, 36, 37, 46, 79, 94, 28, 29,
|
498
|
+
30, 76, 83, 26, 22, 88, 35, 77, 90, 57,
|
499
|
+
58, 74, 3, 4, 5, 6, 7, 8, 9, 10,
|
502
500
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
503
|
-
24,
|
504
|
-
69, 70, 71, 72,
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
501
|
+
24, 25, 45, 60, 61, 62, 63, 64, 65, 67,
|
502
|
+
68, 69, 70, 71, 72, 74, 84, 84, 28, 29,
|
503
|
+
92, 93, 83, 48, 90, 38, 60, 42, 66, 66,
|
504
|
+
66, 72, 40, 45, 88, 44, 27, 22, 58, 74,
|
505
|
+
92, 93, 41, 72, 46, 73, 94, 57, 78, 43,
|
506
|
+
43, 29, 30, 91, 93, 39, 59, 94
|
509
507
|
};
|
510
508
|
|
511
509
|
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
512
510
|
static const unsigned char yyr1[] =
|
513
511
|
{
|
514
|
-
0, 50, 51, 52, 52, 53, 53, 54,
|
515
|
-
55, 55, 56, 56,
|
516
|
-
59, 60, 60, 61, 61,
|
517
|
-
|
518
|
-
67,
|
519
|
-
|
520
|
-
|
521
|
-
77,
|
522
|
-
|
523
|
-
85,
|
524
|
-
|
525
|
-
|
526
|
-
91,
|
512
|
+
0, 49, 50, 51, 51, 52, 52, 53, 53, 54,
|
513
|
+
54, 54, 55, 55, 56, 56, 56, 56, 57, 57,
|
514
|
+
58, 59, 59, 60, 60, 61, 61, 61, 61, 61,
|
515
|
+
61, 61, 61, 62, 63, 63, 64, 64, 65, 66,
|
516
|
+
66, 67, 67, 68, 68, 68, 68, 68, 68, 68,
|
517
|
+
68, 68, 68, 69, 69, 69, 69, 69, 70, 70,
|
518
|
+
71, 71, 72, 73, 73, 73, 74, 74, 75, 75,
|
519
|
+
76, 77, 77, 78, 79, 79, 79, 80, 81, 81,
|
520
|
+
81, 81, 81, 82, 82, 83, 83, 83, 83, 84,
|
521
|
+
84, 85, 85, 86, 86, 86, 86, 86, 86, 86,
|
522
|
+
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
|
523
|
+
86, 86, 86, 86, 86, 86, 87, 88, 88, 89,
|
524
|
+
90, 91, 91, 92, 93, 94
|
527
525
|
};
|
528
526
|
|
529
527
|
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
|
@@ -616,16 +614,15 @@ static const unsigned char yyconflp[] =
|
|
616
614
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
617
615
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
618
616
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
619
|
-
0, 0, 0, 0, 0, 0, 0,
|
620
|
-
0, 0, 1, 3, 0, 0, 0,
|
621
|
-
0, 0, 0, 0,
|
617
|
+
0, 0, 0, 0, 0, 0, 0, 13, 15, 0,
|
618
|
+
0, 0, 1, 3, 0, 0, 0, 0, 0, 0,
|
619
|
+
0, 0, 0, 0, 5, 7, 0, 0, 9, 11,
|
622
620
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
623
621
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
624
622
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
625
623
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
626
624
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
627
|
-
0
|
628
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0
|
625
|
+
0
|
629
626
|
};
|
630
627
|
|
631
628
|
/* YYCONFL[I] -- lists of conflicting rule numbers, each terminated by
|
@@ -1138,152 +1135,152 @@ yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
|
|
1138
1135
|
switch (yyn)
|
1139
1136
|
{
|
1140
1137
|
case 2:
|
1141
|
-
#line
|
1138
|
+
#line 131 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1142
1139
|
{
|
1143
1140
|
*tree = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1144
1141
|
}
|
1145
|
-
#line
|
1142
|
+
#line 1143 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1146
1143
|
break;
|
1147
1144
|
|
1148
1145
|
case 3:
|
1149
|
-
#line
|
1146
|
+
#line 138 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1150
1147
|
{
|
1151
1148
|
VALUE args[] = {filename, Qnil, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1152
1149
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cNamespace);
|
1153
1150
|
}
|
1154
|
-
#line
|
1151
|
+
#line 1152 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1155
1152
|
break;
|
1156
1153
|
|
1157
1154
|
case 4:
|
1158
|
-
#line
|
1155
|
+
#line 144 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1159
1156
|
{
|
1160
1157
|
VALUE args[] = {filename, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1161
1158
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cNamespace);
|
1162
1159
|
}
|
1163
|
-
#line
|
1160
|
+
#line 1161 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1164
1161
|
break;
|
1165
1162
|
|
1166
1163
|
case 5:
|
1167
|
-
#line
|
1164
|
+
#line 152 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1168
1165
|
{
|
1169
1166
|
((*yyvalp)) = rb_ary_new();
|
1170
1167
|
}
|
1171
|
-
#line
|
1168
|
+
#line 1169 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1172
1169
|
break;
|
1173
1170
|
|
1174
1171
|
case 7:
|
1175
|
-
#line
|
1172
|
+
#line 161 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1176
1173
|
{
|
1177
1174
|
((*yyvalp)) = rb_ary_new();
|
1178
1175
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1179
1176
|
}
|
1180
|
-
#line
|
1177
|
+
#line 1178 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1181
1178
|
break;
|
1182
1179
|
|
1183
1180
|
case 8:
|
1184
|
-
#line
|
1181
|
+
#line 167 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1185
1182
|
{
|
1186
1183
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1187
1184
|
}
|
1188
|
-
#line
|
1185
|
+
#line 1186 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1189
1186
|
break;
|
1190
1187
|
|
1191
1188
|
case 9:
|
1192
|
-
#line
|
1189
|
+
#line 174 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1193
1190
|
{
|
1194
1191
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1195
1192
|
rb_funcall(((*yyvalp)), rb_intern("annote"), 1, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
|
1196
1193
|
}
|
1197
|
-
#line
|
1194
|
+
#line 1195 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1198
1195
|
break;
|
1199
1196
|
|
1200
1197
|
case 10:
|
1201
|
-
#line
|
1198
|
+
#line 180 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1202
1199
|
{
|
1203
1200
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1204
1201
|
rb_funcall(((*yyvalp)), rb_intern("annote"), 1, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval));
|
1205
1202
|
}
|
1206
|
-
#line
|
1203
|
+
#line 1204 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1207
1204
|
break;
|
1208
1205
|
|
1209
1206
|
case 12:
|
1210
|
-
#line
|
1207
|
+
#line 190 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1211
1208
|
{
|
1212
1209
|
VALUE enumArgs[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1213
1210
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), rb_class_new_instance(sizeof(enumArgs)/sizeof(*enumArgs),enumArgs, cENUMERATION), newLocation(filename, &(*yylocp))};
|
1214
1211
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cDefinition);
|
1215
1212
|
}
|
1216
|
-
#line
|
1213
|
+
#line 1214 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1217
1214
|
break;
|
1218
1215
|
|
1219
1216
|
case 13:
|
1220
|
-
#line
|
1217
|
+
#line 197 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1221
1218
|
{
|
1222
1219
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1223
1220
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cDefinition);
|
1224
1221
|
}
|
1225
|
-
#line
|
1222
|
+
#line 1223 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1226
1223
|
break;
|
1227
1224
|
|
1228
1225
|
case 14:
|
1229
|
-
#line
|
1226
|
+
#line 205 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1230
1227
|
{
|
1231
1228
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), Qnil, rb_ary_new(), newLocation(filename, &(*yylocp))};
|
1232
1229
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cGroup);
|
1233
1230
|
}
|
1234
|
-
#line
|
1231
|
+
#line 1232 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1235
1232
|
break;
|
1236
1233
|
|
1237
1234
|
case 15:
|
1238
|
-
#line
|
1235
|
+
#line 211 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1239
1236
|
{
|
1240
1237
|
VALUE refArgs[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), Qfalse, newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yyloc))};
|
1241
1238
|
VALUE ref = rb_class_new_instance(sizeof(refArgs)/sizeof(*refArgs),refArgs, cREF);
|
1242
1239
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), ref, rb_ary_new(), newLocation(filename, &(*yylocp))};
|
1243
1240
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cGroup);
|
1244
1241
|
}
|
1245
|
-
#line
|
1242
|
+
#line 1243 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1246
1243
|
break;
|
1247
1244
|
|
1248
1245
|
case 16:
|
1249
|
-
#line
|
1246
|
+
#line 219 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1250
1247
|
{
|
1251
1248
|
VALUE refArgs[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), Qfalse, newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yyloc))};
|
1252
1249
|
VALUE ref = rb_class_new_instance(sizeof(refArgs)/sizeof(*refArgs),refArgs, cREF);
|
1253
1250
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval), ref, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1254
1251
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cGroup);
|
1255
1252
|
}
|
1256
|
-
#line
|
1253
|
+
#line 1254 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1257
1254
|
break;
|
1258
1255
|
|
1259
1256
|
case 17:
|
1260
|
-
#line
|
1257
|
+
#line 227 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1261
1258
|
{
|
1262
1259
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), Qnil, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1263
1260
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cGroup);
|
1264
1261
|
}
|
1265
|
-
#line
|
1262
|
+
#line 1263 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1266
1263
|
break;
|
1267
1264
|
|
1268
1265
|
case 18:
|
1269
|
-
#line
|
1266
|
+
#line 235 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1270
1267
|
{
|
1271
1268
|
((*yyvalp)) = rb_ary_new();
|
1272
1269
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1273
1270
|
}
|
1274
|
-
#line
|
1271
|
+
#line 1272 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1275
1272
|
break;
|
1276
1273
|
|
1277
1274
|
case 19:
|
1278
|
-
#line
|
1275
|
+
#line 241 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1279
1276
|
{
|
1280
1277
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1281
1278
|
}
|
1282
|
-
#line
|
1279
|
+
#line 1280 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1283
1280
|
break;
|
1284
1281
|
|
1285
1282
|
case 20:
|
1286
|
-
#line
|
1283
|
+
#line 248 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1287
1284
|
{
|
1288
1285
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yyloc))};
|
1289
1286
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args),args, cField);
|
@@ -1291,665 +1288,665 @@ yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
|
|
1291
1288
|
rb_funcall(((*yyvalp)), rb_intern("annote"), 1, (((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval));
|
1292
1289
|
rb_funcall((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), rb_intern("annote"), 1, (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
|
1293
1290
|
}
|
1294
|
-
#line
|
1291
|
+
#line 1292 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1295
1292
|
break;
|
1296
1293
|
|
1297
1294
|
case 21:
|
1298
|
-
#line
|
1295
|
+
#line 259 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1299
1296
|
{
|
1300
1297
|
((*yyvalp)) = Qfalse;
|
1301
1298
|
}
|
1302
|
-
#line
|
1299
|
+
#line 1300 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1303
1300
|
break;
|
1304
1301
|
|
1305
1302
|
case 22:
|
1306
|
-
#line
|
1303
|
+
#line 264 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1307
1304
|
{
|
1308
1305
|
((*yyvalp)) = Qtrue;
|
1309
1306
|
}
|
1310
|
-
#line
|
1307
|
+
#line 1308 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1311
1308
|
break;
|
1312
1309
|
|
1313
1310
|
case 31:
|
1314
|
-
#line
|
1311
|
+
#line 289 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1315
1312
|
{
|
1316
1313
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1317
1314
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cBOOLEAN);
|
1318
1315
|
}
|
1319
|
-
#line
|
1316
|
+
#line 1317 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1320
1317
|
break;
|
1321
1318
|
|
1322
1319
|
case 32:
|
1323
|
-
#line
|
1320
|
+
#line 295 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1324
1321
|
{
|
1325
1322
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1326
1323
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cOBJECT);
|
1327
1324
|
}
|
1328
|
-
#line
|
1325
|
+
#line 1326 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1329
1326
|
break;
|
1330
1327
|
|
1331
1328
|
case 33:
|
1332
|
-
#line
|
1329
|
+
#line 303 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1333
1330
|
{
|
1334
1331
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yyloc))};
|
1335
1332
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cSEQUENCE);
|
1336
1333
|
}
|
1337
|
-
#line
|
1334
|
+
#line 1335 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1338
1335
|
break;
|
1339
1336
|
|
1340
1337
|
case 34:
|
1341
|
-
#line
|
1338
|
+
#line 311 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1342
1339
|
{
|
1343
1340
|
VALUE args[] = {Qnil, newLocation(filename, &(*yylocp))};
|
1344
1341
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cSTRING);
|
1345
1342
|
}
|
1346
|
-
#line
|
1343
|
+
#line 1344 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1347
1344
|
break;
|
1348
1345
|
|
1349
1346
|
case 35:
|
1350
|
-
#line
|
1347
|
+
#line 317 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1351
1348
|
{
|
1352
1349
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1353
1350
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cSTRING);
|
1354
1351
|
}
|
1355
|
-
#line
|
1352
|
+
#line 1353 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1356
1353
|
break;
|
1357
1354
|
|
1358
1355
|
case 36:
|
1359
|
-
#line
|
1356
|
+
#line 325 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1360
1357
|
{
|
1361
1358
|
VALUE args[] = {Qnil, newLocation(filename, &(*yylocp))};
|
1362
1359
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cBINARY);
|
1363
1360
|
}
|
1364
|
-
#line
|
1361
|
+
#line 1362 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1365
1362
|
break;
|
1366
1363
|
|
1367
1364
|
case 37:
|
1368
|
-
#line
|
1365
|
+
#line 331 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1369
1366
|
{
|
1370
1367
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1371
1368
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cBINARY);
|
1372
1369
|
}
|
1373
|
-
#line
|
1370
|
+
#line 1371 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1374
1371
|
break;
|
1375
1372
|
|
1376
1373
|
case 38:
|
1377
|
-
#line
|
1374
|
+
#line 339 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1378
1375
|
{
|
1379
1376
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1380
1377
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cFIXED);
|
1381
1378
|
}
|
1382
|
-
#line
|
1379
|
+
#line 1380 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1383
1380
|
break;
|
1384
1381
|
|
1385
1382
|
case 39:
|
1386
|
-
#line
|
1383
|
+
#line 347 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1387
1384
|
{
|
1388
1385
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval);
|
1389
1386
|
}
|
1390
|
-
#line
|
1387
|
+
#line 1388 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1391
1388
|
break;
|
1392
1389
|
|
1393
1390
|
case 40:
|
1394
|
-
#line
|
1391
|
+
#line 352 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1395
1392
|
{
|
1396
1393
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval);
|
1397
1394
|
}
|
1398
|
-
#line
|
1395
|
+
#line 1396 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1399
1396
|
break;
|
1400
1397
|
|
1401
1398
|
case 41:
|
1402
|
-
#line
|
1399
|
+
#line 359 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1403
1400
|
{
|
1404
1401
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), Qfalse, newLocation(filename, &(*yylocp))};
|
1405
1402
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cREF);
|
1406
1403
|
}
|
1407
|
-
#line
|
1404
|
+
#line 1405 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1408
1405
|
break;
|
1409
1406
|
|
1410
1407
|
case 42:
|
1411
|
-
#line
|
1408
|
+
#line 365 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1412
1409
|
{
|
1413
1410
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), Qtrue, newLocation(filename, &(*yylocp))};
|
1414
1411
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cREF);
|
1415
1412
|
}
|
1416
|
-
#line
|
1413
|
+
#line 1414 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1417
1414
|
break;
|
1418
1415
|
|
1419
1416
|
case 43:
|
1420
|
-
#line
|
1417
|
+
#line 373 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1421
1418
|
{
|
1422
1419
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1423
1420
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cI8);
|
1424
1421
|
}
|
1425
|
-
#line
|
1422
|
+
#line 1423 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1426
1423
|
break;
|
1427
1424
|
|
1428
1425
|
case 44:
|
1429
|
-
#line
|
1426
|
+
#line 379 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1430
1427
|
{
|
1431
1428
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1432
1429
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cI16);
|
1433
1430
|
}
|
1434
|
-
#line
|
1431
|
+
#line 1432 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1435
1432
|
break;
|
1436
1433
|
|
1437
1434
|
case 45:
|
1438
|
-
#line
|
1435
|
+
#line 385 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1439
1436
|
{
|
1440
1437
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1441
1438
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cI32);
|
1442
1439
|
}
|
1443
|
-
#line
|
1440
|
+
#line 1441 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1444
1441
|
break;
|
1445
1442
|
|
1446
1443
|
case 46:
|
1447
|
-
#line
|
1444
|
+
#line 391 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1448
1445
|
{
|
1449
1446
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1450
1447
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cI64);
|
1451
1448
|
}
|
1452
|
-
#line
|
1449
|
+
#line 1450 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1453
1450
|
break;
|
1454
1451
|
|
1455
1452
|
case 47:
|
1456
|
-
#line
|
1453
|
+
#line 397 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1457
1454
|
{
|
1458
1455
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1459
1456
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cU8);
|
1460
1457
|
}
|
1461
|
-
#line
|
1458
|
+
#line 1459 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1462
1459
|
break;
|
1463
1460
|
|
1464
1461
|
case 48:
|
1465
|
-
#line
|
1462
|
+
#line 403 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1466
1463
|
{
|
1467
1464
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1468
1465
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cU16);
|
1469
1466
|
}
|
1470
|
-
#line
|
1467
|
+
#line 1468 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1471
1468
|
break;
|
1472
1469
|
|
1473
1470
|
case 49:
|
1474
|
-
#line
|
1471
|
+
#line 409 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1475
1472
|
{
|
1476
1473
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1477
1474
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cU32);
|
1478
1475
|
}
|
1479
|
-
#line
|
1476
|
+
#line 1477 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1480
1477
|
break;
|
1481
1478
|
|
1482
1479
|
case 50:
|
1483
|
-
#line
|
1480
|
+
#line 415 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1484
1481
|
{
|
1485
1482
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1486
1483
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cU64);
|
1487
1484
|
}
|
1488
|
-
#line
|
1485
|
+
#line 1486 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1489
1486
|
break;
|
1490
1487
|
|
1491
1488
|
case 51:
|
1492
|
-
#line
|
1489
|
+
#line 421 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1493
1490
|
{
|
1494
1491
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1495
1492
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cFLOATING_POINT);
|
1496
1493
|
}
|
1497
|
-
#line
|
1494
|
+
#line 1495 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1498
1495
|
break;
|
1499
1496
|
|
1500
1497
|
case 52:
|
1501
|
-
#line
|
1498
|
+
#line 427 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1502
1499
|
{
|
1503
1500
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1504
1501
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cDECIMAL);
|
1505
1502
|
}
|
1506
|
-
#line
|
1503
|
+
#line 1504 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1507
1504
|
break;
|
1508
1505
|
|
1509
1506
|
case 53:
|
1510
|
-
#line
|
1507
|
+
#line 435 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1511
1508
|
{
|
1512
1509
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1513
1510
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cDATE);
|
1514
1511
|
}
|
1515
|
-
#line
|
1512
|
+
#line 1513 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1516
1513
|
break;
|
1517
1514
|
|
1518
1515
|
case 54:
|
1519
|
-
#line
|
1516
|
+
#line 441 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1520
1517
|
{
|
1521
1518
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1522
1519
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cTIME_OF_DAY_MILLI);
|
1523
1520
|
}
|
1524
|
-
#line
|
1521
|
+
#line 1522 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1525
1522
|
break;
|
1526
1523
|
|
1527
1524
|
case 55:
|
1528
|
-
#line
|
1525
|
+
#line 447 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1529
1526
|
{
|
1530
1527
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1531
1528
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cTIME_OF_DAY_NANO);
|
1532
1529
|
}
|
1533
|
-
#line
|
1530
|
+
#line 1531 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1534
1531
|
break;
|
1535
1532
|
|
1536
1533
|
case 56:
|
1537
|
-
#line
|
1534
|
+
#line 453 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1538
1535
|
{
|
1539
1536
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1540
1537
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cNANO_TIME);
|
1541
1538
|
}
|
1542
|
-
#line
|
1539
|
+
#line 1540 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1543
1540
|
break;
|
1544
1541
|
|
1545
1542
|
case 57:
|
1546
|
-
#line
|
1543
|
+
#line 459 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1547
1544
|
{
|
1548
1545
|
VALUE args[] = {newLocation(filename, &(*yylocp))};
|
1549
1546
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cMILLI_TIME);
|
1550
1547
|
}
|
1551
|
-
#line
|
1548
|
+
#line 1549 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1552
1549
|
break;
|
1553
1550
|
|
1554
1551
|
case 58:
|
1555
|
-
#line
|
1552
|
+
#line 468 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1556
1553
|
{
|
1557
1554
|
((*yyvalp)) = rb_ary_new();
|
1558
1555
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1559
1556
|
}
|
1560
|
-
#line
|
1557
|
+
#line 1558 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1561
1558
|
break;
|
1562
1559
|
|
1563
1560
|
case 59:
|
1564
|
-
#line
|
1561
|
+
#line 474 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1565
1562
|
{
|
1566
1563
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1567
1564
|
}
|
1568
|
-
#line
|
1565
|
+
#line 1566 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1569
1566
|
break;
|
1570
1567
|
|
1571
1568
|
case 60:
|
1572
|
-
#line
|
1569
|
+
#line 481 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1573
1570
|
{
|
1574
1571
|
((*yyvalp)) = rb_ary_new();
|
1575
1572
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1576
1573
|
}
|
1577
|
-
#line
|
1574
|
+
#line 1575 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1578
1575
|
break;
|
1579
1576
|
|
1580
1577
|
case 61:
|
1581
|
-
#line
|
1578
|
+
#line 487 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1582
1579
|
{
|
1583
1580
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1584
1581
|
}
|
1585
|
-
#line
|
1582
|
+
#line 1583 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1586
1583
|
break;
|
1587
1584
|
|
1588
1585
|
case 62:
|
1589
|
-
#line
|
1586
|
+
#line 494 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1590
1587
|
{
|
1591
1588
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yyloc))};
|
1592
1589
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cSym);
|
1593
1590
|
rb_funcall(((*yyvalp)), rb_intern("annote"), 1, (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval));
|
1594
1591
|
}
|
1595
|
-
#line
|
1592
|
+
#line 1593 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1596
1593
|
break;
|
1597
1594
|
|
1598
1595
|
case 64:
|
1599
|
-
#line
|
1596
|
+
#line 505 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1600
1597
|
{
|
1601
1598
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1602
1599
|
}
|
1603
|
-
#line
|
1600
|
+
#line 1601 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1604
1601
|
break;
|
1605
1602
|
|
1606
1603
|
case 65:
|
1607
|
-
#line
|
1604
|
+
#line 510 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1608
1605
|
{
|
1609
1606
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1610
1607
|
}
|
1611
|
-
#line
|
1608
|
+
#line 1609 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1612
1609
|
break;
|
1613
1610
|
|
1614
1611
|
case 66:
|
1615
|
-
#line
|
1612
|
+
#line 517 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1616
1613
|
{
|
1617
1614
|
((*yyvalp)) = rb_ary_new();
|
1618
1615
|
}
|
1619
|
-
#line
|
1616
|
+
#line 1617 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1620
1617
|
break;
|
1621
1618
|
|
1622
1619
|
case 68:
|
1623
|
-
#line
|
1620
|
+
#line 526 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1624
1621
|
{
|
1625
1622
|
((*yyvalp)) = rb_ary_new();
|
1626
1623
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1627
1624
|
}
|
1628
|
-
#line
|
1625
|
+
#line 1626 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1629
1626
|
break;
|
1630
1627
|
|
1631
1628
|
case 69:
|
1632
|
-
#line
|
1629
|
+
#line 532 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1633
1630
|
{
|
1634
1631
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1635
1632
|
}
|
1636
|
-
#line
|
1633
|
+
#line 1634 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1637
1634
|
break;
|
1638
1635
|
|
1639
1636
|
case 70:
|
1640
|
-
#line
|
1637
|
+
#line 538 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1641
1638
|
{
|
1642
1639
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yyloc))};
|
1643
1640
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cAnnotation);
|
1644
1641
|
}
|
1645
|
-
#line
|
1642
|
+
#line 1643 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1646
1643
|
break;
|
1647
1644
|
|
1648
1645
|
case 72:
|
1649
|
-
#line
|
1646
|
+
#line 548 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1650
1647
|
{
|
1651
1648
|
rb_str_append(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1652
1649
|
}
|
1653
|
-
#line
|
1650
|
+
#line 1651 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1654
1651
|
break;
|
1655
1652
|
|
1656
1653
|
case 73:
|
1657
|
-
#line
|
1654
|
+
#line 555 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1658
1655
|
{
|
1659
1656
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1660
1657
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cNameWithID);
|
1661
1658
|
}
|
1662
|
-
#line
|
1659
|
+
#line 1660 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1663
1660
|
break;
|
1664
1661
|
|
1665
1662
|
case 75:
|
1666
|
-
#line
|
1663
|
+
#line 565 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1667
1664
|
{
|
1668
1665
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1669
1666
|
}
|
1670
|
-
#line
|
1667
|
+
#line 1668 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1671
1668
|
break;
|
1672
1669
|
|
1673
1670
|
case 76:
|
1674
|
-
#line
|
1671
|
+
#line 570 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1675
1672
|
{
|
1676
1673
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1677
1674
|
}
|
1678
|
-
#line
|
1675
|
+
#line 1676 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1679
1676
|
break;
|
1680
1677
|
|
1681
1678
|
case 77:
|
1682
|
-
#line
|
1679
|
+
#line 577 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1683
1680
|
{
|
1684
1681
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval), newLocation(filename, &(*yylocp))};
|
1685
1682
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cIncrementalAnnotation);
|
1686
1683
|
}
|
1687
|
-
#line
|
1684
|
+
#line 1685 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1688
1685
|
break;
|
1689
1686
|
|
1690
1687
|
case 78:
|
1691
|
-
#line
|
1688
|
+
#line 585 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1692
1689
|
{
|
1693
1690
|
((*yyvalp)) = rb_class_new_instance(0, NULL, cSchemaRef);
|
1694
1691
|
}
|
1695
|
-
#line
|
1692
|
+
#line 1693 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1696
1693
|
break;
|
1697
1694
|
|
1698
1695
|
case 79:
|
1699
|
-
#line
|
1696
|
+
#line 590 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1700
1697
|
{
|
1701
1698
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1702
1699
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cDefinitionRef);
|
1703
1700
|
}
|
1704
|
-
#line
|
1701
|
+
#line 1702 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1705
1702
|
break;
|
1706
1703
|
|
1707
1704
|
case 80:
|
1708
|
-
#line
|
1705
|
+
#line 596 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1709
1706
|
{
|
1710
1707
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)};
|
1711
1708
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cDefinitionTypeRef);
|
1712
1709
|
}
|
1713
|
-
#line
|
1710
|
+
#line 1711 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1714
1711
|
break;
|
1715
1712
|
|
1716
1713
|
case 81:
|
1717
|
-
#line
|
1714
|
+
#line 602 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1718
1715
|
{
|
1719
1716
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval)};
|
1720
1717
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cFieldRef);
|
1721
1718
|
}
|
1722
|
-
#line
|
1719
|
+
#line 1720 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1723
1720
|
break;
|
1724
1721
|
|
1725
1722
|
case 82:
|
1726
|
-
#line
|
1723
|
+
#line 608 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1727
1724
|
{
|
1728
1725
|
VALUE args[] = {(((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval), (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval)};
|
1729
1726
|
((*yyvalp)) = rb_class_new_instance(sizeof(args)/sizeof(*args), args, cFieldTypeRef);
|
1730
1727
|
}
|
1731
|
-
#line
|
1728
|
+
#line 1729 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1732
1729
|
break;
|
1733
1730
|
|
1734
1731
|
case 83:
|
1735
|
-
#line
|
1732
|
+
#line 616 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1736
1733
|
{
|
1737
1734
|
((*yyvalp)) = rb_ary_new();
|
1738
1735
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1739
1736
|
}
|
1740
|
-
#line
|
1737
|
+
#line 1738 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1741
1738
|
break;
|
1742
1739
|
|
1743
1740
|
case 84:
|
1744
|
-
#line
|
1741
|
+
#line 622 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1745
1742
|
{
|
1746
1743
|
rb_ary_push(((*yyvalp)), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval));
|
1747
1744
|
}
|
1748
|
-
#line
|
1745
|
+
#line 1746 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1749
1746
|
break;
|
1750
1747
|
|
1751
1748
|
case 93:
|
1752
|
-
#line
|
1749
|
+
#line 651 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1753
1750
|
{
|
1754
1751
|
((*yyvalp)) = rb_str_new2("i8");
|
1755
1752
|
}
|
1756
|
-
#line
|
1753
|
+
#line 1754 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1757
1754
|
break;
|
1758
1755
|
|
1759
1756
|
case 94:
|
1760
|
-
#line
|
1757
|
+
#line 656 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1761
1758
|
{
|
1762
1759
|
((*yyvalp)) = rb_str_new2("i16");
|
1763
1760
|
}
|
1764
|
-
#line
|
1761
|
+
#line 1762 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1765
1762
|
break;
|
1766
1763
|
|
1767
1764
|
case 95:
|
1768
|
-
#line
|
1765
|
+
#line 661 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1769
1766
|
{
|
1770
1767
|
((*yyvalp)) = rb_str_new2("i32");
|
1771
1768
|
}
|
1772
|
-
#line
|
1769
|
+
#line 1770 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1773
1770
|
break;
|
1774
1771
|
|
1775
1772
|
case 96:
|
1776
|
-
#line
|
1773
|
+
#line 666 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1777
1774
|
{
|
1778
1775
|
((*yyvalp)) = rb_str_new2("i64");
|
1779
1776
|
}
|
1780
|
-
#line
|
1777
|
+
#line 1778 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1781
1778
|
break;
|
1782
1779
|
|
1783
1780
|
case 97:
|
1784
|
-
#line
|
1781
|
+
#line 671 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1785
1782
|
{
|
1786
1783
|
((*yyvalp)) = rb_str_new2("u8");
|
1787
1784
|
}
|
1788
|
-
#line
|
1785
|
+
#line 1786 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1789
1786
|
break;
|
1790
1787
|
|
1791
1788
|
case 98:
|
1792
|
-
#line
|
1789
|
+
#line 676 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1793
1790
|
{
|
1794
1791
|
((*yyvalp)) = rb_str_new2("u16");
|
1795
1792
|
}
|
1796
|
-
#line
|
1793
|
+
#line 1794 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1797
1794
|
break;
|
1798
1795
|
|
1799
1796
|
case 99:
|
1800
|
-
#line
|
1797
|
+
#line 681 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1801
1798
|
{
|
1802
1799
|
((*yyvalp)) = rb_str_new2("u32");
|
1803
1800
|
}
|
1804
|
-
#line
|
1801
|
+
#line 1802 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1805
1802
|
break;
|
1806
1803
|
|
1807
1804
|
case 100:
|
1808
|
-
#line
|
1805
|
+
#line 686 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1809
1806
|
{
|
1810
1807
|
((*yyvalp)) = rb_str_new2("u64");
|
1811
1808
|
}
|
1812
|
-
#line
|
1809
|
+
#line 1810 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1813
1810
|
break;
|
1814
1811
|
|
1815
1812
|
case 101:
|
1816
|
-
#line
|
1813
|
+
#line 691 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1817
1814
|
{
|
1818
1815
|
((*yyvalp)) = rb_str_new2("f64");
|
1819
1816
|
}
|
1820
|
-
#line
|
1817
|
+
#line 1818 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1821
1818
|
break;
|
1822
1819
|
|
1823
1820
|
case 102:
|
1824
|
-
#line
|
1821
|
+
#line 696 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1825
1822
|
{
|
1826
1823
|
((*yyvalp)) = rb_str_new2("decimal");
|
1827
1824
|
}
|
1828
|
-
#line
|
1825
|
+
#line 1826 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1829
1826
|
break;
|
1830
1827
|
|
1831
1828
|
case 103:
|
1832
|
-
#line
|
1829
|
+
#line 701 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1833
1830
|
{
|
1834
1831
|
((*yyvalp)) = rb_str_new2("date");
|
1835
1832
|
}
|
1836
|
-
#line
|
1833
|
+
#line 1834 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1837
1834
|
break;
|
1838
1835
|
|
1839
1836
|
case 104:
|
1840
|
-
#line
|
1837
|
+
#line 706 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1841
1838
|
{
|
1842
1839
|
((*yyvalp)) = rb_str_new2("timeOfDayMilli");
|
1843
1840
|
}
|
1844
|
-
#line
|
1841
|
+
#line 1842 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1845
1842
|
break;
|
1846
1843
|
|
1847
1844
|
case 105:
|
1848
|
-
#line
|
1845
|
+
#line 711 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1849
1846
|
{
|
1850
1847
|
((*yyvalp)) = rb_str_new2("timeOfDayNano");
|
1851
1848
|
}
|
1852
|
-
#line
|
1849
|
+
#line 1850 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1853
1850
|
break;
|
1854
1851
|
|
1855
1852
|
case 106:
|
1856
|
-
#line
|
1853
|
+
#line 716 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1857
1854
|
{
|
1858
1855
|
((*yyvalp)) = rb_str_new2("nanoTime");
|
1859
1856
|
}
|
1860
|
-
#line
|
1857
|
+
#line 1858 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1861
1858
|
break;
|
1862
1859
|
|
1863
1860
|
case 107:
|
1864
|
-
#line
|
1861
|
+
#line 721 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1865
1862
|
{
|
1866
1863
|
((*yyvalp)) = rb_str_new2("milliTime");
|
1867
1864
|
}
|
1868
|
-
#line
|
1865
|
+
#line 1866 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1869
1866
|
break;
|
1870
1867
|
|
1871
1868
|
case 108:
|
1872
|
-
#line
|
1869
|
+
#line 726 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1873
1870
|
{
|
1874
1871
|
((*yyvalp)) = rb_str_new2("boolean");
|
1875
1872
|
}
|
1876
|
-
#line
|
1873
|
+
#line 1874 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1877
1874
|
break;
|
1878
1875
|
|
1879
1876
|
case 109:
|
1880
|
-
#line
|
1877
|
+
#line 731 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1881
1878
|
{
|
1882
1879
|
((*yyvalp)) = rb_str_new2("string");
|
1883
1880
|
}
|
1884
|
-
#line
|
1881
|
+
#line 1882 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1885
1882
|
break;
|
1886
1883
|
|
1887
1884
|
case 110:
|
1888
|
-
#line
|
1885
|
+
#line 736 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1889
1886
|
{
|
1890
1887
|
((*yyvalp)) = rb_str_new2("binary");
|
1891
1888
|
}
|
1892
|
-
#line
|
1889
|
+
#line 1890 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1893
1890
|
break;
|
1894
1891
|
|
1895
1892
|
case 111:
|
1896
|
-
#line
|
1893
|
+
#line 741 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1897
1894
|
{
|
1898
1895
|
((*yyvalp)) = rb_str_new2("fixed");
|
1899
1896
|
}
|
1900
|
-
#line
|
1897
|
+
#line 1898 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1901
1898
|
break;
|
1902
1899
|
|
1903
1900
|
case 112:
|
1904
|
-
#line
|
1901
|
+
#line 746 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1905
1902
|
{
|
1906
1903
|
((*yyvalp)) = rb_str_new2("object");
|
1907
1904
|
}
|
1908
|
-
#line
|
1905
|
+
#line 1906 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1909
1906
|
break;
|
1910
1907
|
|
1911
1908
|
case 113:
|
1912
|
-
#line
|
1909
|
+
#line 751 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1913
1910
|
{
|
1914
1911
|
((*yyvalp)) = rb_str_new2("namespace");
|
1915
1912
|
}
|
1916
|
-
#line
|
1913
|
+
#line 1914 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1917
1914
|
break;
|
1918
1915
|
|
1919
1916
|
case 114:
|
1920
|
-
#line
|
1917
|
+
#line 756 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1921
1918
|
{
|
1922
1919
|
((*yyvalp)) = rb_str_new2("type");
|
1923
1920
|
}
|
1924
|
-
#line
|
1921
|
+
#line 1922 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1925
1922
|
break;
|
1926
1923
|
|
1927
1924
|
case 115:
|
1928
|
-
#line
|
1925
|
+
#line 761 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1929
1926
|
{
|
1930
1927
|
((*yyvalp)) = rb_str_new2("schema");
|
1931
1928
|
}
|
1932
|
-
#line
|
1929
|
+
#line 1930 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1933
1930
|
break;
|
1934
1931
|
|
1935
1932
|
case 119:
|
1936
|
-
#line
|
1933
|
+
#line 778 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1937
1934
|
{
|
1938
1935
|
((*yyvalp)) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval);
|
1939
1936
|
}
|
1940
|
-
#line
|
1937
|
+
#line 1938 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1941
1938
|
break;
|
1942
1939
|
|
1943
1940
|
case 125:
|
1944
|
-
#line
|
1941
|
+
#line 803 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:783 */
|
1945
1942
|
{
|
1946
1943
|
((*yyvalp)) = Qnil;
|
1947
1944
|
}
|
1948
|
-
#line
|
1945
|
+
#line 1946 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1949
1946
|
break;
|
1950
1947
|
|
1951
1948
|
|
1952
|
-
#line
|
1949
|
+
#line 1950 "ext/slow_blink/ext_schema_parser/parser.c" /* glr.c:783 */
|
1953
1950
|
default: break;
|
1954
1951
|
}
|
1955
1952
|
|
@@ -2047,7 +2044,7 @@ yylhsNonterm (yyRuleNum yyrule)
|
|
2047
2044
|
}
|
2048
2045
|
|
2049
2046
|
#define yypact_value_is_default(Yystate) \
|
2050
|
-
(!!((Yystate) == (-
|
2047
|
+
(!!((Yystate) == (-93)))
|
2051
2048
|
|
2052
2049
|
/** True iff LR state YYSTATE has only a default reduction (regardless
|
2053
2050
|
* of token). */
|
@@ -3722,7 +3719,7 @@ yypdumpstack (yyGLRStack* yystackp)
|
|
3722
3719
|
|
3723
3720
|
|
3724
3721
|
|
3725
|
-
#line
|
3722
|
+
#line 808 "etc/slow_blink/ext_schema_parser/parser.y" /* glr.c:2551 */
|
3726
3723
|
|
3727
3724
|
|
3728
3725
|
/* functions **********************************************************/
|