contrived_json 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/contrived_json/ext_parser/parser.c +27 -25
- data/lib/contrived_json/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: 73d8f250dcbb1fb0aad688d70e65ffbde3539fb0
|
4
|
+
data.tar.gz: a70684b04398bdabd5e17e6ed06de606b9323de3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7d3610473540af0c114fe53a3a94fe7eb612e613e5c961a732059165ee3666603b91c9544fdce6d63cf71d0e1aac80b1847e7039b5a863a79e7345d3102e815
|
7
|
+
data.tar.gz: bb1281b75ad9201730f07019fafd27cef2e99e8ee119a35434ceaab7f173c22d4a7abc7fb88e217411dcd1878640bf65339cc9deab36b6e2ecc6d40476804a94
|
@@ -68,6 +68,8 @@
|
|
68
68
|
typedef void * yyscan_t;
|
69
69
|
#define YY_TYPEDEF_YY_SCANNER_T
|
70
70
|
|
71
|
+
#define YYMAXDEPTH YYINITDEPTH
|
72
|
+
|
71
73
|
#include <ruby.h>
|
72
74
|
|
73
75
|
#include "parser.h"
|
@@ -76,7 +78,7 @@ typedef void * yyscan_t;
|
|
76
78
|
void yyerror(YYLTYPE *locp, yyscan_t scanner, VALUE *object, char const *msg);
|
77
79
|
|
78
80
|
|
79
|
-
#line
|
81
|
+
#line 82 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:339 */
|
80
82
|
|
81
83
|
# ifndef YY_NULLPTR
|
82
84
|
# if defined __cplusplus && 201103L <= __cplusplus
|
@@ -150,7 +152,7 @@ int yyparse (yyscan_t scanner, VALUE *object);
|
|
150
152
|
|
151
153
|
/* Copy the second part of user declarations. */
|
152
154
|
|
153
|
-
#line
|
155
|
+
#line 156 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:358 */
|
154
156
|
|
155
157
|
#ifdef short
|
156
158
|
# undef short
|
@@ -450,9 +452,9 @@ static const yytype_uint8 yytranslate[] =
|
|
450
452
|
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
|
451
453
|
static const yytype_uint8 yyrline[] =
|
452
454
|
{
|
453
|
-
0,
|
454
|
-
|
455
|
-
|
455
|
+
0, 39, 39, 41, 45, 45, 49, 51, 55, 57,
|
456
|
+
61, 63, 67, 69, 73, 73, 73, 73, 73, 73,
|
457
|
+
73
|
456
458
|
};
|
457
459
|
#endif
|
458
460
|
|
@@ -1343,61 +1345,61 @@ yyreduce:
|
|
1343
1345
|
switch (yyn)
|
1344
1346
|
{
|
1345
1347
|
case 2:
|
1346
|
-
#line
|
1348
|
+
#line 39 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1347
1349
|
{ *object = (yyvsp[0]); }
|
1348
|
-
#line
|
1350
|
+
#line 1351 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1349
1351
|
break;
|
1350
1352
|
|
1351
1353
|
case 6:
|
1352
|
-
#line
|
1354
|
+
#line 49 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1353
1355
|
{ (yyval) = rb_ary_new(); }
|
1354
|
-
#line
|
1356
|
+
#line 1357 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1355
1357
|
break;
|
1356
1358
|
|
1357
1359
|
case 7:
|
1358
|
-
#line
|
1360
|
+
#line 51 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1359
1361
|
{ (yyval) = (yyvsp[-1]); }
|
1360
|
-
#line
|
1362
|
+
#line 1363 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1361
1363
|
break;
|
1362
1364
|
|
1363
1365
|
case 8:
|
1364
|
-
#line
|
1366
|
+
#line 55 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1365
1367
|
{ (yyval) = rb_ary_new(); rb_ary_push((yyval), (yyvsp[0])); }
|
1366
|
-
#line
|
1368
|
+
#line 1369 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1367
1369
|
break;
|
1368
1370
|
|
1369
1371
|
case 9:
|
1370
|
-
#line
|
1372
|
+
#line 57 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1371
1373
|
{ rb_ary_push((yyval), (yyvsp[0])); }
|
1372
|
-
#line
|
1374
|
+
#line 1375 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1373
1375
|
break;
|
1374
1376
|
|
1375
1377
|
case 10:
|
1376
|
-
#line
|
1378
|
+
#line 61 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1377
1379
|
{ (yyval) = rb_hash_new(); }
|
1378
|
-
#line
|
1380
|
+
#line 1381 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1379
1381
|
break;
|
1380
1382
|
|
1381
1383
|
case 11:
|
1382
|
-
#line
|
1384
|
+
#line 63 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1383
1385
|
{ (yyval) = (yyvsp[-1]); }
|
1384
|
-
#line
|
1386
|
+
#line 1387 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1385
1387
|
break;
|
1386
1388
|
|
1387
1389
|
case 12:
|
1388
|
-
#line
|
1390
|
+
#line 67 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1389
1391
|
{ (yyval) = rb_hash_new(); rb_hash_aset((yyval), (yyvsp[-2]), (yyvsp[0])); }
|
1390
|
-
#line
|
1392
|
+
#line 1393 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1391
1393
|
break;
|
1392
1394
|
|
1393
1395
|
case 13:
|
1394
|
-
#line
|
1396
|
+
#line 69 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1646 */
|
1395
1397
|
{ rb_hash_aset((yyval), (yyvsp[-2]), (yyvsp[0])); }
|
1396
|
-
#line
|
1398
|
+
#line 1399 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1397
1399
|
break;
|
1398
1400
|
|
1399
1401
|
|
1400
|
-
#line
|
1402
|
+
#line 1403 "ext/contrived_json/ext_parser/parser.c" /* yacc.c:1646 */
|
1401
1403
|
default: break;
|
1402
1404
|
}
|
1403
1405
|
/* User semantic actions sometimes alter yychar, and that requires
|
@@ -1632,7 +1634,7 @@ yyreturn:
|
|
1632
1634
|
#endif
|
1633
1635
|
return yyresult;
|
1634
1636
|
}
|
1635
|
-
#line
|
1637
|
+
#line 75 "etc/contrived_json/ext_parser/parser.y" /* yacc.c:1906 */
|
1636
1638
|
|
1637
1639
|
|
1638
1640
|
void yyerror(YYLTYPE *locp, yyscan_t scanner, VALUE *object, char const *msg)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contrived_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Harper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.6.
|
91
|
+
rubygems_version: 2.6.11
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: A Flex/Bison based JSON parser
|