Skip to content

Commit db89486

Browse files
committed
Regenerate the Java parser
1 parent ddffd05 commit db89486

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

java/src/json/ext/ParserConfig.java

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ private RaiseException unexpectedToken(ThreadContext context, int absStart, int
301301
return parsingError(context, "unexpected token at '", absStart, absEnd);
302302
}
303303

304-
304+
305305
// line 328 "ParserConfig.rl"
306306

307307

308-
308+
309309
// line 310 "ParserConfig.java"
310310
private static byte[] init__JSON_value_actions_0()
311311
{
@@ -427,14 +427,14 @@ void parseValue(ThreadContext context, ParserResult res, int p, int pe) {
427427
int cs;
428428
IRubyObject result = null;
429429

430-
430+
431431
// line 432 "ParserConfig.java"
432432
{
433433
cs = JSON_value_start;
434434
}
435435

436436
// line 441 "ParserConfig.rl"
437-
437+
438438
// line 439 "ParserConfig.java"
439439
{
440440
int _klen;
@@ -671,7 +671,7 @@ else if ( data[p] > _JSON_value_trans_keys[_mid+1] )
671671
}
672672
}
673673

674-
674+
675675
// line 676 "ParserConfig.java"
676676
private static byte[] init__JSON_integer_actions_0()
677677
{
@@ -733,15 +733,15 @@ private static byte[] init__JSON_integer_index_offsets_0()
733733
private static final byte _JSON_integer_index_offsets[] = init__JSON_integer_index_offsets_0();
734734

735735

736-
private static byte[] init__JSON_integer_indices_0()
736+
private static byte[] init__JSON_integer_indicies_0()
737737
{
738738
return new byte [] {
739739
0, 2, 3, 1, 2, 3, 1, 1, 4, 1, 3, 4,
740740
0
741741
};
742742
}
743743

744-
private static final byte _JSON_integer_indices[] = init__JSON_integer_indices_0();
744+
private static final byte _JSON_integer_indicies[] = init__JSON_integer_indicies_0();
745745

746746

747747
private static byte[] init__JSON_integer_trans_targs_0()
@@ -787,15 +787,15 @@ void parseInteger(ThreadContext context, ParserResult res, int p, int pe) {
787787
int parseIntegerInternal(int p, int pe) {
788788
int cs;
789789

790-
790+
791791
// line 792 "ParserConfig.java"
792792
{
793793
cs = JSON_integer_start;
794794
}
795795

796796
// line 480 "ParserConfig.rl"
797797
int memo = p;
798-
798+
799799
// line 800 "ParserConfig.java"
800800
{
801801
int _klen;
@@ -866,7 +866,7 @@ else if ( data[p] > _JSON_integer_trans_keys[_mid+1] )
866866
}
867867
} while (false);
868868

869-
_trans = _JSON_integer_indices[_trans];
869+
_trans = _JSON_integer_indicies[_trans];
870870
cs = _JSON_integer_trans_targs[_trans];
871871

872872
if ( _JSON_integer_trans_actions[_trans] != 0 ) {
@@ -922,7 +922,7 @@ RubyInteger bytesToInum(Ruby runtime, ByteList num) {
922922
return ConvertBytes.byteListToInum(runtime, num, 10, true);
923923
}
924924

925-
925+
926926
// line 927 "ParserConfig.java"
927927
private static byte[] init__JSON_float_actions_0()
928928
{
@@ -986,7 +986,7 @@ private static byte[] init__JSON_float_index_offsets_0()
986986
private static final byte _JSON_float_index_offsets[] = init__JSON_float_index_offsets_0();
987987

988988

989-
private static byte[] init__JSON_float_indices_0()
989+
private static byte[] init__JSON_float_indicies_0()
990990
{
991991
return new byte [] {
992992
0, 2, 3, 1, 2, 3, 1, 4, 5, 5, 1, 6,
@@ -995,7 +995,7 @@ private static byte[] init__JSON_float_indices_0()
995995
};
996996
}
997997

998-
private static final byte _JSON_float_indices[] = init__JSON_float_indices_0();
998+
private static final byte _JSON_float_indicies[] = init__JSON_float_indicies_0();
999999

10001000

10011001
private static byte[] init__JSON_float_trans_targs_0()
@@ -1043,15 +1043,15 @@ void parseFloat(ThreadContext context, ParserResult res, int p, int pe) {
10431043
int parseFloatInternal(int p, int pe) {
10441044
int cs;
10451045

1046-
1046+
10471047
// line 1048 "ParserConfig.java"
10481048
{
10491049
cs = JSON_float_start;
10501050
}
10511051

10521052
// line 533 "ParserConfig.rl"
10531053
int memo = p;
1054-
1054+
10551055
// line 1056 "ParserConfig.java"
10561056
{
10571057
int _klen;
@@ -1122,7 +1122,7 @@ else if ( data[p] > _JSON_float_trans_keys[_mid+1] )
11221122
}
11231123
} while (false);
11241124

1125-
_trans = _JSON_float_indices[_trans];
1125+
_trans = _JSON_float_indicies[_trans];
11261126
cs = _JSON_float_trans_targs[_trans];
11271127

11281128
if ( _JSON_float_trans_actions[_trans] != 0 ) {
@@ -1168,7 +1168,7 @@ else if ( data[p] > _JSON_float_trans_keys[_mid+1] )
11681168
return p;
11691169
}
11701170

1171-
1171+
11721172
// line 1173 "ParserConfig.java"
11731173
private static byte[] init__JSON_string_actions_0()
11741174
{
@@ -1232,7 +1232,7 @@ private static byte[] init__JSON_string_index_offsets_0()
12321232
private static final byte _JSON_string_index_offsets[] = init__JSON_string_index_offsets_0();
12331233

12341234

1235-
private static byte[] init__JSON_string_indices_0()
1235+
private static byte[] init__JSON_string_indicies_0()
12361236
{
12371237
return new byte [] {
12381238
0, 1, 2, 3, 1, 0, 4, 1, 0, 5, 5, 5,
@@ -1241,7 +1241,7 @@ private static byte[] init__JSON_string_indices_0()
12411241
};
12421242
}
12431243

1244-
private static final byte _JSON_string_indices[] = init__JSON_string_indices_0();
1244+
private static final byte _JSON_string_indicies[] = init__JSON_string_indicies_0();
12451245

12461246

12471247
private static byte[] init__JSON_string_trans_targs_0()
@@ -1278,15 +1278,15 @@ void parseString(ThreadContext context, ParserResult res, int p, int pe) {
12781278
int cs;
12791279
IRubyObject result = null;
12801280

1281-
1281+
12821282
// line 1283 "ParserConfig.java"
12831283
{
12841284
cs = JSON_string_start;
12851285
}
12861286

12871287
// line 581 "ParserConfig.rl"
12881288
int memo = p;
1289-
1289+
12901290
// line 1291 "ParserConfig.java"
12911291
{
12921292
int _klen;
@@ -1357,7 +1357,7 @@ else if ( data[p] > _JSON_string_trans_keys[_mid+1] )
13571357
}
13581358
} while (false);
13591359

1360-
_trans = _JSON_string_indices[_trans];
1360+
_trans = _JSON_string_indicies[_trans];
13611361
cs = _JSON_string_trans_targs[_trans];
13621362

13631363
if ( _JSON_string_trans_actions[_trans] != 0 ) {
@@ -1429,7 +1429,7 @@ else if ( data[p] > _JSON_string_trans_keys[_mid+1] )
14291429
}
14301430
}
14311431

1432-
1432+
14331433
// line 1434 "ParserConfig.java"
14341434
private static byte[] init__JSON_array_actions_0()
14351435
{
@@ -1549,7 +1549,7 @@ private static short[] init__JSON_array_index_offsets_0()
15491549
private static final short _JSON_array_index_offsets[] = init__JSON_array_index_offsets_0();
15501550

15511551

1552-
private static byte[] init__JSON_array_indices_0()
1552+
private static byte[] init__JSON_array_indicies_0()
15531553
{
15541554
return new byte [] {
15551555
0, 1, 0, 0, 2, 2, 3, 2, 2, 2, 4, 2,
@@ -1565,7 +1565,7 @@ private static byte[] init__JSON_array_indices_0()
15651565
};
15661566
}
15671567

1568-
private static final byte _JSON_array_indices[] = init__JSON_array_indices_0();
1568+
private static final byte _JSON_array_indicies[] = init__JSON_array_indicies_0();
15691569

15701570

15711571
private static byte[] init__JSON_array_trans_targs_0()
@@ -1610,14 +1610,14 @@ void parseArray(ThreadContext context, ParserResult res, int p, int pe) {
16101610

16111611
IRubyObject result = RubyArray.newArray(context.runtime);
16121612

1613-
1613+
16141614
// line 1615 "ParserConfig.java"
16151615
{
16161616
cs = JSON_array_start;
16171617
}
16181618

16191619
// line 650 "ParserConfig.rl"
1620-
1620+
16211621
// line 1622 "ParserConfig.java"
16221622
{
16231623
int _klen;
@@ -1660,7 +1660,7 @@ else if ( _widec > _JSON_array_cond_keys[_mid+1] )
16601660
switch ( _JSON_array_cond_spaces[_JSON_array_cond_offsets[cs] + ((_mid - _keys)>>1)] ) {
16611661
case 0: {
16621662
_widec = 65536 + (data[p] - 0);
1663-
if (
1663+
if (
16641664
// line 608 "ParserConfig.rl"
16651665
config.allowTrailingComma ) _widec += 65536;
16661666
break;
@@ -1720,7 +1720,7 @@ else if ( _widec > _JSON_array_trans_keys[_mid+1] )
17201720
}
17211721
} while (false);
17221722

1723-
_trans = _JSON_array_indices[_trans];
1723+
_trans = _JSON_array_indicies[_trans];
17241724
cs = _JSON_array_trans_targs[_trans];
17251725

17261726
if ( _JSON_array_trans_actions[_trans] != 0 ) {
@@ -1779,7 +1779,7 @@ else if ( _widec > _JSON_array_trans_keys[_mid+1] )
17791779
}
17801780
}
17811781

1782-
1782+
17831783
// line 1784 "ParserConfig.java"
17841784
private static byte[] init__JSON_object_actions_0()
17851785
{
@@ -1906,7 +1906,7 @@ private static short[] init__JSON_object_index_offsets_0()
19061906
private static final short _JSON_object_index_offsets[] = init__JSON_object_index_offsets_0();
19071907

19081908

1909-
private static byte[] init__JSON_object_indices_0()
1909+
private static byte[] init__JSON_object_indicies_0()
19101910
{
19111911
return new byte [] {
19121912
0, 1, 0, 0, 2, 3, 4, 0, 1, 5, 5, 6,
@@ -1923,7 +1923,7 @@ private static byte[] init__JSON_object_indices_0()
19231923
};
19241924
}
19251925

1926-
private static final byte _JSON_object_indices[] = init__JSON_object_indices_0();
1926+
private static final byte _JSON_object_indicies[] = init__JSON_object_indicies_0();
19271927

19281928

19291929
private static byte[] init__JSON_object_trans_targs_0()
@@ -1973,14 +1973,14 @@ void parseObject(ThreadContext context, ParserResult res, int p, int pe) {
19731973
// allocator test at OptionsReader#getClass
19741974
IRubyObject result = RubyHash.newHash(context.runtime);
19751975

1976-
1976+
19771977
// line 1978 "ParserConfig.java"
19781978
{
19791979
cs = JSON_object_start;
19801980
}
19811981

19821982
// line 737 "ParserConfig.rl"
1983-
1983+
19841984
// line 1985 "ParserConfig.java"
19851985
{
19861986
int _klen;
@@ -2023,7 +2023,7 @@ else if ( _widec > _JSON_object_cond_keys[_mid+1] )
20232023
switch ( _JSON_object_cond_spaces[_JSON_object_cond_offsets[cs] + ((_mid - _keys)>>1)] ) {
20242024
case 0: {
20252025
_widec = 65536 + (data[p] - 0);
2026-
if (
2026+
if (
20272027
// line 665 "ParserConfig.rl"
20282028
config.allowTrailingComma ) _widec += 65536;
20292029
break;
@@ -2083,7 +2083,7 @@ else if ( _widec > _JSON_object_trans_keys[_mid+1] )
20832083
}
20842084
} while (false);
20852085

2086-
_trans = _JSON_object_indices[_trans];
2086+
_trans = _JSON_object_indicies[_trans];
20872087
cs = _JSON_object_trans_targs[_trans];
20882088

20892089
if ( _JSON_object_trans_actions[_trans] != 0 ) {
@@ -2174,7 +2174,7 @@ else if ( _widec > _JSON_object_trans_keys[_mid+1] )
21742174
res.update(config.onLoad(context, result), p + 1);
21752175
}
21762176

2177-
2177+
21782178
// line 2179 "ParserConfig.java"
21792179
private static byte[] init__JSON_actions_0()
21802180
{
@@ -2238,7 +2238,7 @@ private static byte[] init__JSON_index_offsets_0()
22382238
private static final byte _JSON_index_offsets[] = init__JSON_index_offsets_0();
22392239

22402240

2241-
private static byte[] init__JSON_indices_0()
2241+
private static byte[] init__JSON_indicies_0()
22422242
{
22432243
return new byte [] {
22442244
0, 0, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2,
@@ -2248,7 +2248,7 @@ private static byte[] init__JSON_indices_0()
22482248
};
22492249
}
22502250

2251-
private static final byte _JSON_indices[] = init__JSON_indices_0();
2251+
private static final byte _JSON_indicies[] = init__JSON_indicies_0();
22522252

22532253

22542254
private static byte[] init__JSON_trans_targs_0()
@@ -2287,7 +2287,7 @@ public IRubyObject parseImplementation(ThreadContext context) {
22872287
IRubyObject result = null;
22882288
ParserResult res = new ParserResult();
22892289

2290-
2290+
22912291
// line 2292 "ParserConfig.java"
22922292
{
22932293
cs = JSON_start;
@@ -2296,7 +2296,7 @@ public IRubyObject parseImplementation(ThreadContext context) {
22962296
// line 776 "ParserConfig.rl"
22972297
p = byteList.begin();
22982298
pe = p + byteList.length();
2299-
2299+
23002300
// line 2301 "ParserConfig.java"
23012301
{
23022302
int _klen;
@@ -2367,7 +2367,7 @@ else if ( data[p] > _JSON_trans_keys[_mid+1] )
23672367
}
23682368
} while (false);
23692369

2370-
_trans = _JSON_indices[_trans];
2370+
_trans = _JSON_indicies[_trans];
23712371
cs = _JSON_trans_targs[_trans];
23722372

23732373
if ( _JSON_trans_actions[_trans] != 0 ) {

0 commit comments

Comments
 (0)