slow_blink 0.0.8 → 0.0.9
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 +7 -7
- data/ext/slow_blink/ext_schema_parser/parser.c +384 -347
- data/ext/slow_blink/ext_schema_parser/parser.h +9 -1
- data/ext/slow_blink/message/ext_compact_encoder/ext_compact_encoder.c +2 -12
- data/lib/slow_blink/schema.rb +9 -2
- data/lib/slow_blink/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0d0ed1941333712f2316adbb214d1db2b2792f1
|
4
|
+
data.tar.gz: 82d98d7611410d5b83e41deb10a97d9a6cd3e6ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac2a3a8c31db5c9c4428339ea2af2a180bf8f22b139a8f93f411b7b22fdc225e112622455e35427cc2ebafac7a3b4ca082e674eb5a704737433dd01a9c31538a
|
7
|
+
data.tar.gz: f4f70d51d268e301d27dec7f25e72d2107f8b76a4dde7533b53ed516eab4fb0203633327ebbe00ec3ed2aed2053bfa370bcd9fb5f3ae5ffac7f691f7ce0cf53b
|
@@ -3293,7 +3293,7 @@ case 4:
|
|
3293
3293
|
case 5:
|
3294
3294
|
YY_RULE_SETUP
|
3295
3295
|
#line 31 "etc/slow_blink/ext_schema_parser/parser.l"
|
3296
|
-
{ *yylval = rb_str_new(&yytext[1], yyleng-2); return TOK_LITERAL; }
|
3296
|
+
{ *yylval = rb_str_new(&yytext[1], yyleng-2); rb_ary_push(crefs, *yylval); return TOK_LITERAL; }
|
3297
3297
|
YY_BREAK
|
3298
3298
|
case 6:
|
3299
3299
|
#line 34 "etc/slow_blink/ext_schema_parser/parser.l"
|
@@ -3452,32 +3452,32 @@ YY_RULE_SETUP
|
|
3452
3452
|
case 44:
|
3453
3453
|
YY_RULE_SETUP
|
3454
3454
|
#line 74 "etc/slow_blink/ext_schema_parser/parser.l"
|
3455
|
-
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 1, UINT2NUM(16U)); return TOK_HEX; }
|
3455
|
+
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 1, UINT2NUM(16U)); rb_ary_push(crefs, *yylval); return TOK_HEX; }
|
3456
3456
|
YY_BREAK
|
3457
3457
|
case 45:
|
3458
3458
|
YY_RULE_SETUP
|
3459
3459
|
#line 75 "etc/slow_blink/ext_schema_parser/parser.l"
|
3460
|
-
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 0); return TOK_UINT; }
|
3460
|
+
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 0); rb_ary_push(crefs, *yylval); return TOK_UINT; }
|
3461
3461
|
YY_BREAK
|
3462
3462
|
case 46:
|
3463
3463
|
YY_RULE_SETUP
|
3464
3464
|
#line 76 "etc/slow_blink/ext_schema_parser/parser.l"
|
3465
|
-
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 0); return TOK_INT; }
|
3465
|
+
{ *yylval = rb_funcall(rb_str_new(yytext, yyleng), rb_intern("to_i"), 0); rb_ary_push(crefs, *yylval); return TOK_INT; }
|
3466
3466
|
YY_BREAK
|
3467
3467
|
case 47:
|
3468
3468
|
YY_RULE_SETUP
|
3469
3469
|
#line 78 "etc/slow_blink/ext_schema_parser/parser.l"
|
3470
|
-
{ *yylval = rb_str_new(yytext, yyleng); return TOK_C_NAME; }
|
3470
|
+
{ *yylval = rb_str_new(yytext, yyleng); rb_ary_push(crefs, *yylval); return TOK_C_NAME; }
|
3471
3471
|
YY_BREAK
|
3472
3472
|
case 48:
|
3473
3473
|
YY_RULE_SETUP
|
3474
3474
|
#line 79 "etc/slow_blink/ext_schema_parser/parser.l"
|
3475
|
-
{ *yylval = rb_str_new(yytext, yyleng); return TOK_NC_NAME; }
|
3475
|
+
{ *yylval = rb_str_new(yytext, yyleng); rb_ary_push(crefs, *yylval); return TOK_NC_NAME; }
|
3476
3476
|
YY_BREAK
|
3477
3477
|
case 49:
|
3478
3478
|
YY_RULE_SETUP
|
3479
3479
|
#line 80 "etc/slow_blink/ext_schema_parser/parser.l"
|
3480
|
-
{ *yylval = rb_str_new(&yytext[1], yyleng-1); return TOK_ESCAPED_NC_NAME; }
|
3480
|
+
{ *yylval = rb_str_new(&yytext[1], yyleng-1); rb_ary_push(crefs, *yylval); return TOK_ESCAPED_NC_NAME; }
|
3481
3481
|
YY_BREAK
|
3482
3482
|
case 50:
|
3483
3483
|
YY_RULE_SETUP
|