adamh-hpricot 0.6.210 → 0.6.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/hpricot_scan/hpricot_css.c +2112 -2116
- data/ext/hpricot_scan/hpricot_scan.c +147 -132
- data/ext/hpricot_scan/hpricot_scan.rl +14 -1
- metadata +1 -1
@@ -120,6 +120,19 @@ void rb_yield_tokens(VALUE sym, VALUE tag, VALUE attr, VALUE raw, int taint)
|
|
120
120
|
rb_yield(ary);
|
121
121
|
}
|
122
122
|
|
123
|
+
/* rb_hash_lookup() is only in Ruby 1.8.7 */
|
124
|
+
static VALUE
|
125
|
+
our_rb_hash_lookup(VALUE hash, VALUE key)
|
126
|
+
{
|
127
|
+
VALUE val;
|
128
|
+
|
129
|
+
if (!st_lookup(RHASH(hash)->tbl, key, &val)) {
|
130
|
+
return Qnil; /* without Hash#default */
|
131
|
+
}
|
132
|
+
|
133
|
+
return val;
|
134
|
+
}
|
135
|
+
|
123
136
|
static void
|
124
137
|
rb_hpricot_add(VALUE focus, VALUE ele)
|
125
138
|
{
|
@@ -288,7 +301,7 @@ rb_hpricot_token(hpricot_state *S, VALUE sym, VALUE tag, VALUE attr, char *raw,
|
|
288
301
|
|
289
302
|
if (TYPE(hee->EC) == T_HASH)
|
290
303
|
{
|
291
|
-
VALUE has =
|
304
|
+
VALUE has = our_rb_hash_lookup(hee->EC, INT2NUM(he->name));
|
292
305
|
if (has != Qnil) {
|
293
306
|
if (has == Qtrue) {
|
294
307
|
if (match == Qnil)
|
@@ -382,8 +395,10 @@ rb_hpricot_token(hpricot_state *S, VALUE sym, VALUE tag, VALUE attr, char *raw,
|
|
382
395
|
VALUE match = rb_funcall(tag, rb_intern("match"), 1, reProcInsParse);
|
383
396
|
tag = rb_reg_nth_match(1, match);
|
384
397
|
attr = rb_reg_nth_match(2, match);
|
385
|
-
|
386
|
-
|
398
|
+
{
|
399
|
+
H_ELE(cProcIns);
|
400
|
+
rb_hpricot_add(S->focus, ele);
|
401
|
+
}
|
387
402
|
} else if (sym == sym_text) {
|
388
403
|
// TODO: add raw_string as well?
|
389
404
|
if (!NIL_P(S->last) && RBASIC(S->last)->klass == cText) {
|
@@ -431,8 +446,8 @@ VALUE hpricot_scan(int argc, VALUE *argv, VALUE self)
|
|
431
446
|
|
432
447
|
if (!rb_block_given_p())
|
433
448
|
{
|
434
|
-
S = ALLOC(hpricot_state);
|
435
449
|
hpricot_ele *he = ALLOC(hpricot_ele);
|
450
|
+
S = ALLOC(hpricot_state);
|
436
451
|
MEMZERO(he, hpricot_ele, 1);
|
437
452
|
he->tag = he->attr = he->etag = he->parent = he->children = Qnil;
|
438
453
|
S->doc = Data_Wrap_Struct(cDoc, hpricot_ele_mark, hpricot_ele_free, he);
|
@@ -458,14 +473,14 @@ VALUE hpricot_scan(int argc, VALUE *argv, VALUE self)
|
|
458
473
|
buf = ALLOC_N(char, buffer_size);
|
459
474
|
|
460
475
|
|
461
|
-
#line
|
476
|
+
#line 477 "hpricot_scan.c"
|
462
477
|
{
|
463
478
|
cs = hpricot_scan_start;
|
464
479
|
ts = 0;
|
465
480
|
te = 0;
|
466
481
|
act = 0;
|
467
482
|
}
|
468
|
-
#line
|
483
|
+
#line 509 "hpricot_scan.rl"
|
469
484
|
|
470
485
|
while ( !done ) {
|
471
486
|
VALUE str;
|
@@ -518,7 +533,7 @@ VALUE hpricot_scan(int argc, VALUE *argv, VALUE self)
|
|
518
533
|
|
519
534
|
pe = p + len;
|
520
535
|
|
521
|
-
#line
|
536
|
+
#line 537 "hpricot_scan.c"
|
522
537
|
{
|
523
538
|
if ( p == pe )
|
524
539
|
goto _test_eof;
|
@@ -685,7 +700,7 @@ st204:
|
|
685
700
|
case 204:
|
686
701
|
#line 1 "hpricot_scan.rl"
|
687
702
|
{ts = p;}
|
688
|
-
#line
|
703
|
+
#line 704 "hpricot_scan.c"
|
689
704
|
switch( (*p) ) {
|
690
705
|
case 10: goto tr412;
|
691
706
|
case 60: goto tr413;
|
@@ -713,7 +728,7 @@ st205:
|
|
713
728
|
if ( ++p == pe )
|
714
729
|
goto _test_eof205;
|
715
730
|
case 205:
|
716
|
-
#line
|
731
|
+
#line 732 "hpricot_scan.c"
|
717
732
|
switch( (*p) ) {
|
718
733
|
case 33: goto st0;
|
719
734
|
case 47: goto st59;
|
@@ -821,7 +836,7 @@ st10:
|
|
821
836
|
if ( ++p == pe )
|
822
837
|
goto _test_eof10;
|
823
838
|
case 10:
|
824
|
-
#line
|
839
|
+
#line 840 "hpricot_scan.c"
|
825
840
|
switch( (*p) ) {
|
826
841
|
case 32: goto tr13;
|
827
842
|
case 62: goto tr15;
|
@@ -852,7 +867,7 @@ st11:
|
|
852
867
|
if ( ++p == pe )
|
853
868
|
goto _test_eof11;
|
854
869
|
case 11:
|
855
|
-
#line
|
870
|
+
#line 871 "hpricot_scan.c"
|
856
871
|
switch( (*p) ) {
|
857
872
|
case 32: goto st11;
|
858
873
|
case 62: goto tr18;
|
@@ -949,7 +964,7 @@ st20:
|
|
949
964
|
if ( ++p == pe )
|
950
965
|
goto _test_eof20;
|
951
966
|
case 20:
|
952
|
-
#line
|
967
|
+
#line 968 "hpricot_scan.c"
|
953
968
|
switch( (*p) ) {
|
954
969
|
case 9: goto st20;
|
955
970
|
case 34: goto tr33;
|
@@ -982,7 +997,7 @@ st21:
|
|
982
997
|
if ( ++p == pe )
|
983
998
|
goto _test_eof21;
|
984
999
|
case 21:
|
985
|
-
#line
|
1000
|
+
#line 1001 "hpricot_scan.c"
|
986
1001
|
switch( (*p) ) {
|
987
1002
|
case 32: goto st22;
|
988
1003
|
case 62: goto tr18;
|
@@ -1020,7 +1035,7 @@ st24:
|
|
1020
1035
|
if ( ++p == pe )
|
1021
1036
|
goto _test_eof24;
|
1022
1037
|
case 24:
|
1023
|
-
#line
|
1038
|
+
#line 1039 "hpricot_scan.c"
|
1024
1039
|
if ( (*p) == 34 )
|
1025
1040
|
goto tr41;
|
1026
1041
|
goto st24;
|
@@ -1038,7 +1053,7 @@ st25:
|
|
1038
1053
|
if ( ++p == pe )
|
1039
1054
|
goto _test_eof25;
|
1040
1055
|
case 25:
|
1041
|
-
#line
|
1056
|
+
#line 1057 "hpricot_scan.c"
|
1042
1057
|
switch( (*p) ) {
|
1043
1058
|
case 32: goto st25;
|
1044
1059
|
case 62: goto tr18;
|
@@ -1055,7 +1070,7 @@ st26:
|
|
1055
1070
|
if ( ++p == pe )
|
1056
1071
|
goto _test_eof26;
|
1057
1072
|
case 26:
|
1058
|
-
#line
|
1073
|
+
#line 1074 "hpricot_scan.c"
|
1059
1074
|
if ( (*p) == 93 )
|
1060
1075
|
goto st27;
|
1061
1076
|
goto st26;
|
@@ -1085,7 +1100,7 @@ st29:
|
|
1085
1100
|
if ( ++p == pe )
|
1086
1101
|
goto _test_eof29;
|
1087
1102
|
case 29:
|
1088
|
-
#line
|
1103
|
+
#line 1104 "hpricot_scan.c"
|
1089
1104
|
if ( (*p) == 39 )
|
1090
1105
|
goto tr41;
|
1091
1106
|
goto st29;
|
@@ -1122,7 +1137,7 @@ st31:
|
|
1122
1137
|
if ( ++p == pe )
|
1123
1138
|
goto _test_eof31;
|
1124
1139
|
case 31:
|
1125
|
-
#line
|
1140
|
+
#line 1141 "hpricot_scan.c"
|
1126
1141
|
switch( (*p) ) {
|
1127
1142
|
case 9: goto st31;
|
1128
1143
|
case 39: goto tr49;
|
@@ -1172,7 +1187,7 @@ st32:
|
|
1172
1187
|
if ( ++p == pe )
|
1173
1188
|
goto _test_eof32;
|
1174
1189
|
case 32:
|
1175
|
-
#line
|
1190
|
+
#line 1191 "hpricot_scan.c"
|
1176
1191
|
switch( (*p) ) {
|
1177
1192
|
case 9: goto st33;
|
1178
1193
|
case 32: goto st33;
|
@@ -1239,7 +1254,7 @@ st34:
|
|
1239
1254
|
if ( ++p == pe )
|
1240
1255
|
goto _test_eof34;
|
1241
1256
|
case 34:
|
1242
|
-
#line
|
1257
|
+
#line 1258 "hpricot_scan.c"
|
1243
1258
|
switch( (*p) ) {
|
1244
1259
|
case 9: goto tr52;
|
1245
1260
|
case 32: goto tr52;
|
@@ -1272,7 +1287,7 @@ st35:
|
|
1272
1287
|
if ( ++p == pe )
|
1273
1288
|
goto _test_eof35;
|
1274
1289
|
case 35:
|
1275
|
-
#line
|
1290
|
+
#line 1291 "hpricot_scan.c"
|
1276
1291
|
switch( (*p) ) {
|
1277
1292
|
case 9: goto st35;
|
1278
1293
|
case 32: goto st35;
|
@@ -1305,7 +1320,7 @@ st36:
|
|
1305
1320
|
if ( ++p == pe )
|
1306
1321
|
goto _test_eof36;
|
1307
1322
|
case 36:
|
1308
|
-
#line
|
1323
|
+
#line 1324 "hpricot_scan.c"
|
1309
1324
|
switch( (*p) ) {
|
1310
1325
|
case 32: goto st36;
|
1311
1326
|
case 34: goto st37;
|
@@ -1333,7 +1348,7 @@ st38:
|
|
1333
1348
|
if ( ++p == pe )
|
1334
1349
|
goto _test_eof38;
|
1335
1350
|
case 38:
|
1336
|
-
#line
|
1351
|
+
#line 1352 "hpricot_scan.c"
|
1337
1352
|
switch( (*p) ) {
|
1338
1353
|
case 34: goto tr70;
|
1339
1354
|
case 39: goto tr71;
|
@@ -1357,7 +1372,7 @@ st39:
|
|
1357
1372
|
if ( ++p == pe )
|
1358
1373
|
goto _test_eof39;
|
1359
1374
|
case 39:
|
1360
|
-
#line
|
1375
|
+
#line 1376 "hpricot_scan.c"
|
1361
1376
|
switch( (*p) ) {
|
1362
1377
|
case 32: goto st39;
|
1363
1378
|
case 39: goto tr41;
|
@@ -1385,7 +1400,7 @@ st206:
|
|
1385
1400
|
if ( ++p == pe )
|
1386
1401
|
goto _test_eof206;
|
1387
1402
|
case 206:
|
1388
|
-
#line
|
1403
|
+
#line 1404 "hpricot_scan.c"
|
1389
1404
|
if ( (*p) == 39 )
|
1390
1405
|
goto tr41;
|
1391
1406
|
goto st29;
|
@@ -1397,7 +1412,7 @@ st40:
|
|
1397
1412
|
if ( ++p == pe )
|
1398
1413
|
goto _test_eof40;
|
1399
1414
|
case 40:
|
1400
|
-
#line
|
1415
|
+
#line 1416 "hpricot_scan.c"
|
1401
1416
|
switch( (*p) ) {
|
1402
1417
|
case 39: goto tr73;
|
1403
1418
|
case 93: goto st42;
|
@@ -1411,7 +1426,7 @@ st41:
|
|
1411
1426
|
if ( ++p == pe )
|
1412
1427
|
goto _test_eof41;
|
1413
1428
|
case 41:
|
1414
|
-
#line
|
1429
|
+
#line 1430 "hpricot_scan.c"
|
1415
1430
|
switch( (*p) ) {
|
1416
1431
|
case 32: goto st41;
|
1417
1432
|
case 62: goto tr76;
|
@@ -1430,7 +1445,7 @@ st207:
|
|
1430
1445
|
if ( ++p == pe )
|
1431
1446
|
goto _test_eof207;
|
1432
1447
|
case 207:
|
1433
|
-
#line
|
1448
|
+
#line 1449 "hpricot_scan.c"
|
1434
1449
|
if ( (*p) == 93 )
|
1435
1450
|
goto st27;
|
1436
1451
|
goto st26;
|
@@ -1460,7 +1475,7 @@ st43:
|
|
1460
1475
|
if ( ++p == pe )
|
1461
1476
|
goto _test_eof43;
|
1462
1477
|
case 43:
|
1463
|
-
#line
|
1478
|
+
#line 1479 "hpricot_scan.c"
|
1464
1479
|
switch( (*p) ) {
|
1465
1480
|
case 32: goto st43;
|
1466
1481
|
case 34: goto tr41;
|
@@ -1480,7 +1495,7 @@ st208:
|
|
1480
1495
|
if ( ++p == pe )
|
1481
1496
|
goto _test_eof208;
|
1482
1497
|
case 208:
|
1483
|
-
#line
|
1498
|
+
#line 1499 "hpricot_scan.c"
|
1484
1499
|
if ( (*p) == 34 )
|
1485
1500
|
goto tr41;
|
1486
1501
|
goto st24;
|
@@ -1513,7 +1528,7 @@ st46:
|
|
1513
1528
|
if ( ++p == pe )
|
1514
1529
|
goto _test_eof46;
|
1515
1530
|
case 46:
|
1516
|
-
#line
|
1531
|
+
#line 1532 "hpricot_scan.c"
|
1517
1532
|
switch( (*p) ) {
|
1518
1533
|
case 32: goto tr81;
|
1519
1534
|
case 39: goto tr38;
|
@@ -1531,7 +1546,7 @@ st47:
|
|
1531
1546
|
if ( ++p == pe )
|
1532
1547
|
goto _test_eof47;
|
1533
1548
|
case 47:
|
1534
|
-
#line
|
1549
|
+
#line 1550 "hpricot_scan.c"
|
1535
1550
|
switch( (*p) ) {
|
1536
1551
|
case 9: goto st47;
|
1537
1552
|
case 39: goto tr82;
|
@@ -1652,7 +1667,7 @@ st60:
|
|
1652
1667
|
if ( ++p == pe )
|
1653
1668
|
goto _test_eof60;
|
1654
1669
|
case 60:
|
1655
|
-
#line
|
1670
|
+
#line 1671 "hpricot_scan.c"
|
1656
1671
|
switch( (*p) ) {
|
1657
1672
|
case 32: goto tr95;
|
1658
1673
|
case 62: goto tr97;
|
@@ -1682,7 +1697,7 @@ st61:
|
|
1682
1697
|
if ( ++p == pe )
|
1683
1698
|
goto _test_eof61;
|
1684
1699
|
case 61:
|
1685
|
-
#line
|
1700
|
+
#line 1701 "hpricot_scan.c"
|
1686
1701
|
switch( (*p) ) {
|
1687
1702
|
case 32: goto st61;
|
1688
1703
|
case 62: goto tr99;
|
@@ -1698,7 +1713,7 @@ st62:
|
|
1698
1713
|
if ( ++p == pe )
|
1699
1714
|
goto _test_eof62;
|
1700
1715
|
case 62:
|
1701
|
-
#line
|
1716
|
+
#line 1717 "hpricot_scan.c"
|
1702
1717
|
switch( (*p) ) {
|
1703
1718
|
case 32: goto tr100;
|
1704
1719
|
case 47: goto tr102;
|
@@ -1726,7 +1741,7 @@ st63:
|
|
1726
1741
|
if ( ++p == pe )
|
1727
1742
|
goto _test_eof63;
|
1728
1743
|
case 63:
|
1729
|
-
#line
|
1744
|
+
#line 1745 "hpricot_scan.c"
|
1730
1745
|
switch( (*p) ) {
|
1731
1746
|
case 32: goto st63;
|
1732
1747
|
case 47: goto st66;
|
@@ -1776,7 +1791,7 @@ st64:
|
|
1776
1791
|
if ( ++p == pe )
|
1777
1792
|
goto _test_eof64;
|
1778
1793
|
case 64:
|
1779
|
-
#line
|
1794
|
+
#line 1795 "hpricot_scan.c"
|
1780
1795
|
switch( (*p) ) {
|
1781
1796
|
case 32: goto tr108;
|
1782
1797
|
case 47: goto tr110;
|
@@ -1821,7 +1836,7 @@ st65:
|
|
1821
1836
|
if ( ++p == pe )
|
1822
1837
|
goto _test_eof65;
|
1823
1838
|
case 65:
|
1824
|
-
#line
|
1839
|
+
#line 1840 "hpricot_scan.c"
|
1825
1840
|
switch( (*p) ) {
|
1826
1841
|
case 32: goto st65;
|
1827
1842
|
case 47: goto tr115;
|
@@ -1864,7 +1879,7 @@ st66:
|
|
1864
1879
|
if ( ++p == pe )
|
1865
1880
|
goto _test_eof66;
|
1866
1881
|
case 66:
|
1867
|
-
#line
|
1882
|
+
#line 1883 "hpricot_scan.c"
|
1868
1883
|
if ( (*p) == 62 )
|
1869
1884
|
goto tr118;
|
1870
1885
|
goto tr39;
|
@@ -1876,7 +1891,7 @@ st67:
|
|
1876
1891
|
if ( ++p == pe )
|
1877
1892
|
goto _test_eof67;
|
1878
1893
|
case 67:
|
1879
|
-
#line
|
1894
|
+
#line 1895 "hpricot_scan.c"
|
1880
1895
|
switch( (*p) ) {
|
1881
1896
|
case 13: goto tr120;
|
1882
1897
|
case 32: goto tr120;
|
@@ -1900,7 +1915,7 @@ st68:
|
|
1900
1915
|
if ( ++p == pe )
|
1901
1916
|
goto _test_eof68;
|
1902
1917
|
case 68:
|
1903
|
-
#line
|
1918
|
+
#line 1919 "hpricot_scan.c"
|
1904
1919
|
switch( (*p) ) {
|
1905
1920
|
case 13: goto tr126;
|
1906
1921
|
case 32: goto tr126;
|
@@ -1935,7 +1950,7 @@ st69:
|
|
1935
1950
|
if ( ++p == pe )
|
1936
1951
|
goto _test_eof69;
|
1937
1952
|
case 69:
|
1938
|
-
#line
|
1953
|
+
#line 1954 "hpricot_scan.c"
|
1939
1954
|
switch( (*p) ) {
|
1940
1955
|
case 32: goto st69;
|
1941
1956
|
case 47: goto tr115;
|
@@ -1976,7 +1991,7 @@ st70:
|
|
1976
1991
|
if ( ++p == pe )
|
1977
1992
|
goto _test_eof70;
|
1978
1993
|
case 70:
|
1979
|
-
#line
|
1994
|
+
#line 1995 "hpricot_scan.c"
|
1980
1995
|
switch( (*p) ) {
|
1981
1996
|
case 13: goto tr126;
|
1982
1997
|
case 32: goto tr126;
|
@@ -2037,7 +2052,7 @@ st71:
|
|
2037
2052
|
if ( ++p == pe )
|
2038
2053
|
goto _test_eof71;
|
2039
2054
|
case 71:
|
2040
|
-
#line
|
2055
|
+
#line 2056 "hpricot_scan.c"
|
2041
2056
|
switch( (*p) ) {
|
2042
2057
|
case 13: goto tr134;
|
2043
2058
|
case 32: goto tr134;
|
@@ -2083,7 +2098,7 @@ st72:
|
|
2083
2098
|
if ( ++p == pe )
|
2084
2099
|
goto _test_eof72;
|
2085
2100
|
case 72:
|
2086
|
-
#line
|
2101
|
+
#line 2102 "hpricot_scan.c"
|
2087
2102
|
switch( (*p) ) {
|
2088
2103
|
case 13: goto tr140;
|
2089
2104
|
case 32: goto tr140;
|
@@ -2182,7 +2197,7 @@ st73:
|
|
2182
2197
|
if ( ++p == pe )
|
2183
2198
|
goto _test_eof73;
|
2184
2199
|
case 73:
|
2185
|
-
#line
|
2200
|
+
#line 2201 "hpricot_scan.c"
|
2186
2201
|
switch( (*p) ) {
|
2187
2202
|
case 13: goto tr126;
|
2188
2203
|
case 32: goto tr126;
|
@@ -2208,7 +2223,7 @@ st74:
|
|
2208
2223
|
if ( ++p == pe )
|
2209
2224
|
goto _test_eof74;
|
2210
2225
|
case 74:
|
2211
|
-
#line
|
2226
|
+
#line 2227 "hpricot_scan.c"
|
2212
2227
|
switch( (*p) ) {
|
2213
2228
|
case 13: goto tr143;
|
2214
2229
|
case 32: goto tr143;
|
@@ -2241,7 +2256,7 @@ st75:
|
|
2241
2256
|
if ( ++p == pe )
|
2242
2257
|
goto _test_eof75;
|
2243
2258
|
case 75:
|
2244
|
-
#line
|
2259
|
+
#line 2260 "hpricot_scan.c"
|
2245
2260
|
switch( (*p) ) {
|
2246
2261
|
case 13: goto tr148;
|
2247
2262
|
case 32: goto tr148;
|
@@ -2285,7 +2300,7 @@ st76:
|
|
2285
2300
|
if ( ++p == pe )
|
2286
2301
|
goto _test_eof76;
|
2287
2302
|
case 76:
|
2288
|
-
#line
|
2303
|
+
#line 2304 "hpricot_scan.c"
|
2289
2304
|
switch( (*p) ) {
|
2290
2305
|
case 13: goto tr143;
|
2291
2306
|
case 32: goto tr143;
|
@@ -2339,7 +2354,7 @@ st78:
|
|
2339
2354
|
if ( ++p == pe )
|
2340
2355
|
goto _test_eof78;
|
2341
2356
|
case 78:
|
2342
|
-
#line
|
2357
|
+
#line 2358 "hpricot_scan.c"
|
2343
2358
|
switch( (*p) ) {
|
2344
2359
|
case 13: goto tr161;
|
2345
2360
|
case 32: goto tr161;
|
@@ -2389,7 +2404,7 @@ st79:
|
|
2389
2404
|
if ( ++p == pe )
|
2390
2405
|
goto _test_eof79;
|
2391
2406
|
case 79:
|
2392
|
-
#line
|
2407
|
+
#line 2408 "hpricot_scan.c"
|
2393
2408
|
switch( (*p) ) {
|
2394
2409
|
case 32: goto st79;
|
2395
2410
|
case 34: goto tr169;
|
@@ -2419,7 +2434,7 @@ st80:
|
|
2419
2434
|
if ( ++p == pe )
|
2420
2435
|
goto _test_eof80;
|
2421
2436
|
case 80:
|
2422
|
-
#line
|
2437
|
+
#line 2438 "hpricot_scan.c"
|
2423
2438
|
switch( (*p) ) {
|
2424
2439
|
case 34: goto tr169;
|
2425
2440
|
case 92: goto st81;
|
@@ -2433,7 +2448,7 @@ st81:
|
|
2433
2448
|
if ( ++p == pe )
|
2434
2449
|
goto _test_eof81;
|
2435
2450
|
case 81:
|
2436
|
-
#line
|
2451
|
+
#line 2452 "hpricot_scan.c"
|
2437
2452
|
switch( (*p) ) {
|
2438
2453
|
case 34: goto tr174;
|
2439
2454
|
case 92: goto st81;
|
@@ -2475,7 +2490,7 @@ st82:
|
|
2475
2490
|
if ( ++p == pe )
|
2476
2491
|
goto _test_eof82;
|
2477
2492
|
case 82:
|
2478
|
-
#line
|
2493
|
+
#line 2494 "hpricot_scan.c"
|
2479
2494
|
switch( (*p) ) {
|
2480
2495
|
case 32: goto tr175;
|
2481
2496
|
case 34: goto tr169;
|
@@ -2522,7 +2537,7 @@ st83:
|
|
2522
2537
|
if ( ++p == pe )
|
2523
2538
|
goto _test_eof83;
|
2524
2539
|
case 83:
|
2525
|
-
#line
|
2540
|
+
#line 2541 "hpricot_scan.c"
|
2526
2541
|
switch( (*p) ) {
|
2527
2542
|
case 32: goto st83;
|
2528
2543
|
case 34: goto tr169;
|
@@ -2571,7 +2586,7 @@ st84:
|
|
2571
2586
|
if ( ++p == pe )
|
2572
2587
|
goto _test_eof84;
|
2573
2588
|
case 84:
|
2574
|
-
#line
|
2589
|
+
#line 2590 "hpricot_scan.c"
|
2575
2590
|
switch( (*p) ) {
|
2576
2591
|
case 34: goto tr169;
|
2577
2592
|
case 62: goto tr182;
|
@@ -2703,7 +2718,7 @@ st209:
|
|
2703
2718
|
if ( ++p == pe )
|
2704
2719
|
goto _test_eof209;
|
2705
2720
|
case 209:
|
2706
|
-
#line
|
2721
|
+
#line 2722 "hpricot_scan.c"
|
2707
2722
|
switch( (*p) ) {
|
2708
2723
|
case 34: goto tr169;
|
2709
2724
|
case 92: goto st81;
|
@@ -2717,7 +2732,7 @@ st85:
|
|
2717
2732
|
if ( ++p == pe )
|
2718
2733
|
goto _test_eof85;
|
2719
2734
|
case 85:
|
2720
|
-
#line
|
2735
|
+
#line 2736 "hpricot_scan.c"
|
2721
2736
|
switch( (*p) ) {
|
2722
2737
|
case 13: goto tr183;
|
2723
2738
|
case 32: goto tr183;
|
@@ -2742,7 +2757,7 @@ st86:
|
|
2742
2757
|
if ( ++p == pe )
|
2743
2758
|
goto _test_eof86;
|
2744
2759
|
case 86:
|
2745
|
-
#line
|
2760
|
+
#line 2761 "hpricot_scan.c"
|
2746
2761
|
switch( (*p) ) {
|
2747
2762
|
case 13: goto tr188;
|
2748
2763
|
case 32: goto tr188;
|
@@ -2776,7 +2791,7 @@ st87:
|
|
2776
2791
|
if ( ++p == pe )
|
2777
2792
|
goto _test_eof87;
|
2778
2793
|
case 87:
|
2779
|
-
#line
|
2794
|
+
#line 2795 "hpricot_scan.c"
|
2780
2795
|
switch( (*p) ) {
|
2781
2796
|
case 13: goto tr188;
|
2782
2797
|
case 32: goto tr188;
|
@@ -2821,7 +2836,7 @@ st88:
|
|
2821
2836
|
if ( ++p == pe )
|
2822
2837
|
goto _test_eof88;
|
2823
2838
|
case 88:
|
2824
|
-
#line
|
2839
|
+
#line 2840 "hpricot_scan.c"
|
2825
2840
|
switch( (*p) ) {
|
2826
2841
|
case 13: goto tr191;
|
2827
2842
|
case 32: goto tr191;
|
@@ -2857,7 +2872,7 @@ st89:
|
|
2857
2872
|
if ( ++p == pe )
|
2858
2873
|
goto _test_eof89;
|
2859
2874
|
case 89:
|
2860
|
-
#line
|
2875
|
+
#line 2876 "hpricot_scan.c"
|
2861
2876
|
switch( (*p) ) {
|
2862
2877
|
case 13: goto tr153;
|
2863
2878
|
case 32: goto tr153;
|
@@ -2914,7 +2929,7 @@ st90:
|
|
2914
2929
|
if ( ++p == pe )
|
2915
2930
|
goto _test_eof90;
|
2916
2931
|
case 90:
|
2917
|
-
#line
|
2932
|
+
#line 2933 "hpricot_scan.c"
|
2918
2933
|
switch( (*p) ) {
|
2919
2934
|
case 13: goto tr161;
|
2920
2935
|
case 32: goto tr161;
|
@@ -2977,7 +2992,7 @@ st91:
|
|
2977
2992
|
if ( ++p == pe )
|
2978
2993
|
goto _test_eof91;
|
2979
2994
|
case 91:
|
2980
|
-
#line
|
2995
|
+
#line 2996 "hpricot_scan.c"
|
2981
2996
|
switch( (*p) ) {
|
2982
2997
|
case 13: goto tr200;
|
2983
2998
|
case 32: goto tr200;
|
@@ -3025,7 +3040,7 @@ st92:
|
|
3025
3040
|
if ( ++p == pe )
|
3026
3041
|
goto _test_eof92;
|
3027
3042
|
case 92:
|
3028
|
-
#line
|
3043
|
+
#line 3044 "hpricot_scan.c"
|
3029
3044
|
switch( (*p) ) {
|
3030
3045
|
case 13: goto tr206;
|
3031
3046
|
case 32: goto tr206;
|
@@ -3126,7 +3141,7 @@ st93:
|
|
3126
3141
|
if ( ++p == pe )
|
3127
3142
|
goto _test_eof93;
|
3128
3143
|
case 93:
|
3129
|
-
#line
|
3144
|
+
#line 3145 "hpricot_scan.c"
|
3130
3145
|
switch( (*p) ) {
|
3131
3146
|
case 13: goto tr161;
|
3132
3147
|
case 32: goto tr161;
|
@@ -3150,7 +3165,7 @@ st94:
|
|
3150
3165
|
if ( ++p == pe )
|
3151
3166
|
goto _test_eof94;
|
3152
3167
|
case 94:
|
3153
|
-
#line
|
3168
|
+
#line 3169 "hpricot_scan.c"
|
3154
3169
|
switch( (*p) ) {
|
3155
3170
|
case 13: goto tr161;
|
3156
3171
|
case 32: goto tr161;
|
@@ -3178,7 +3193,7 @@ st95:
|
|
3178
3193
|
if ( ++p == pe )
|
3179
3194
|
goto _test_eof95;
|
3180
3195
|
case 95:
|
3181
|
-
#line
|
3196
|
+
#line 3197 "hpricot_scan.c"
|
3182
3197
|
switch( (*p) ) {
|
3183
3198
|
case 13: goto tr191;
|
3184
3199
|
case 32: goto tr191;
|
@@ -3223,7 +3238,7 @@ st97:
|
|
3223
3238
|
if ( ++p == pe )
|
3224
3239
|
goto _test_eof97;
|
3225
3240
|
case 97:
|
3226
|
-
#line
|
3241
|
+
#line 3242 "hpricot_scan.c"
|
3227
3242
|
switch( (*p) ) {
|
3228
3243
|
case 13: goto tr220;
|
3229
3244
|
case 32: goto tr220;
|
@@ -3268,7 +3283,7 @@ st98:
|
|
3268
3283
|
if ( ++p == pe )
|
3269
3284
|
goto _test_eof98;
|
3270
3285
|
case 98:
|
3271
|
-
#line
|
3286
|
+
#line 3287 "hpricot_scan.c"
|
3272
3287
|
switch( (*p) ) {
|
3273
3288
|
case 32: goto st98;
|
3274
3289
|
case 34: goto tr228;
|
@@ -3299,7 +3314,7 @@ st99:
|
|
3299
3314
|
if ( ++p == pe )
|
3300
3315
|
goto _test_eof99;
|
3301
3316
|
case 99:
|
3302
|
-
#line
|
3317
|
+
#line 3318 "hpricot_scan.c"
|
3303
3318
|
switch( (*p) ) {
|
3304
3319
|
case 34: goto tr228;
|
3305
3320
|
case 39: goto tr174;
|
@@ -3346,7 +3361,7 @@ st100:
|
|
3346
3361
|
if ( ++p == pe )
|
3347
3362
|
goto _test_eof100;
|
3348
3363
|
case 100:
|
3349
|
-
#line
|
3364
|
+
#line 3365 "hpricot_scan.c"
|
3350
3365
|
switch( (*p) ) {
|
3351
3366
|
case 32: goto st100;
|
3352
3367
|
case 39: goto tr169;
|
@@ -3376,7 +3391,7 @@ st101:
|
|
3376
3391
|
if ( ++p == pe )
|
3377
3392
|
goto _test_eof101;
|
3378
3393
|
case 101:
|
3379
|
-
#line
|
3394
|
+
#line 3395 "hpricot_scan.c"
|
3380
3395
|
switch( (*p) ) {
|
3381
3396
|
case 39: goto tr169;
|
3382
3397
|
case 92: goto st102;
|
@@ -3390,7 +3405,7 @@ st102:
|
|
3390
3405
|
if ( ++p == pe )
|
3391
3406
|
goto _test_eof102;
|
3392
3407
|
case 102:
|
3393
|
-
#line
|
3408
|
+
#line 3409 "hpricot_scan.c"
|
3394
3409
|
switch( (*p) ) {
|
3395
3410
|
case 39: goto tr228;
|
3396
3411
|
case 92: goto st102;
|
@@ -3432,7 +3447,7 @@ st103:
|
|
3432
3447
|
if ( ++p == pe )
|
3433
3448
|
goto _test_eof103;
|
3434
3449
|
case 103:
|
3435
|
-
#line
|
3450
|
+
#line 3451 "hpricot_scan.c"
|
3436
3451
|
switch( (*p) ) {
|
3437
3452
|
case 32: goto tr239;
|
3438
3453
|
case 39: goto tr169;
|
@@ -3479,7 +3494,7 @@ st104:
|
|
3479
3494
|
if ( ++p == pe )
|
3480
3495
|
goto _test_eof104;
|
3481
3496
|
case 104:
|
3482
|
-
#line
|
3497
|
+
#line 3498 "hpricot_scan.c"
|
3483
3498
|
switch( (*p) ) {
|
3484
3499
|
case 32: goto st104;
|
3485
3500
|
case 39: goto tr169;
|
@@ -3528,7 +3543,7 @@ st105:
|
|
3528
3543
|
if ( ++p == pe )
|
3529
3544
|
goto _test_eof105;
|
3530
3545
|
case 105:
|
3531
|
-
#line
|
3546
|
+
#line 3547 "hpricot_scan.c"
|
3532
3547
|
switch( (*p) ) {
|
3533
3548
|
case 39: goto tr169;
|
3534
3549
|
case 62: goto tr246;
|
@@ -3660,7 +3675,7 @@ st210:
|
|
3660
3675
|
if ( ++p == pe )
|
3661
3676
|
goto _test_eof210;
|
3662
3677
|
case 210:
|
3663
|
-
#line
|
3678
|
+
#line 3679 "hpricot_scan.c"
|
3664
3679
|
switch( (*p) ) {
|
3665
3680
|
case 39: goto tr169;
|
3666
3681
|
case 92: goto st102;
|
@@ -3674,7 +3689,7 @@ st106:
|
|
3674
3689
|
if ( ++p == pe )
|
3675
3690
|
goto _test_eof106;
|
3676
3691
|
case 106:
|
3677
|
-
#line
|
3692
|
+
#line 3693 "hpricot_scan.c"
|
3678
3693
|
switch( (*p) ) {
|
3679
3694
|
case 13: goto tr248;
|
3680
3695
|
case 32: goto tr248;
|
@@ -3699,7 +3714,7 @@ st107:
|
|
3699
3714
|
if ( ++p == pe )
|
3700
3715
|
goto _test_eof107;
|
3701
3716
|
case 107:
|
3702
|
-
#line
|
3717
|
+
#line 3718 "hpricot_scan.c"
|
3703
3718
|
switch( (*p) ) {
|
3704
3719
|
case 13: goto tr255;
|
3705
3720
|
case 32: goto tr255;
|
@@ -3751,7 +3766,7 @@ st108:
|
|
3751
3766
|
if ( ++p == pe )
|
3752
3767
|
goto _test_eof108;
|
3753
3768
|
case 108:
|
3754
|
-
#line
|
3769
|
+
#line 3770 "hpricot_scan.c"
|
3755
3770
|
switch( (*p) ) {
|
3756
3771
|
case 13: goto tr255;
|
3757
3772
|
case 32: goto tr255;
|
@@ -3814,7 +3829,7 @@ st109:
|
|
3814
3829
|
if ( ++p == pe )
|
3815
3830
|
goto _test_eof109;
|
3816
3831
|
case 109:
|
3817
|
-
#line
|
3832
|
+
#line 3833 "hpricot_scan.c"
|
3818
3833
|
switch( (*p) ) {
|
3819
3834
|
case 13: goto tr263;
|
3820
3835
|
case 32: goto tr263;
|
@@ -3862,7 +3877,7 @@ st110:
|
|
3862
3877
|
if ( ++p == pe )
|
3863
3878
|
goto _test_eof110;
|
3864
3879
|
case 110:
|
3865
|
-
#line
|
3880
|
+
#line 3881 "hpricot_scan.c"
|
3866
3881
|
switch( (*p) ) {
|
3867
3882
|
case 13: goto tr269;
|
3868
3883
|
case 32: goto tr269;
|
@@ -3963,7 +3978,7 @@ st111:
|
|
3963
3978
|
if ( ++p == pe )
|
3964
3979
|
goto _test_eof111;
|
3965
3980
|
case 111:
|
3966
|
-
#line
|
3981
|
+
#line 3982 "hpricot_scan.c"
|
3967
3982
|
switch( (*p) ) {
|
3968
3983
|
case 13: goto tr255;
|
3969
3984
|
case 32: goto tr255;
|
@@ -3987,7 +4002,7 @@ st112:
|
|
3987
4002
|
if ( ++p == pe )
|
3988
4003
|
goto _test_eof112;
|
3989
4004
|
case 112:
|
3990
|
-
#line
|
4005
|
+
#line 4006 "hpricot_scan.c"
|
3991
4006
|
switch( (*p) ) {
|
3992
4007
|
case 13: goto tr255;
|
3993
4008
|
case 32: goto tr255;
|
@@ -4015,7 +4030,7 @@ st113:
|
|
4015
4030
|
if ( ++p == pe )
|
4016
4031
|
goto _test_eof113;
|
4017
4032
|
case 113:
|
4018
|
-
#line
|
4033
|
+
#line 4034 "hpricot_scan.c"
|
4019
4034
|
switch( (*p) ) {
|
4020
4035
|
case 13: goto tr272;
|
4021
4036
|
case 32: goto tr272;
|
@@ -4049,7 +4064,7 @@ st114:
|
|
4049
4064
|
if ( ++p == pe )
|
4050
4065
|
goto _test_eof114;
|
4051
4066
|
case 114:
|
4052
|
-
#line
|
4067
|
+
#line 4068 "hpricot_scan.c"
|
4053
4068
|
switch( (*p) ) {
|
4054
4069
|
case 13: goto tr277;
|
4055
4070
|
case 32: goto tr277;
|
@@ -4094,7 +4109,7 @@ st115:
|
|
4094
4109
|
if ( ++p == pe )
|
4095
4110
|
goto _test_eof115;
|
4096
4111
|
case 115:
|
4097
|
-
#line
|
4112
|
+
#line 4113 "hpricot_scan.c"
|
4098
4113
|
switch( (*p) ) {
|
4099
4114
|
case 13: goto tr272;
|
4100
4115
|
case 32: goto tr272;
|
@@ -4166,7 +4181,7 @@ st117:
|
|
4166
4181
|
if ( ++p == pe )
|
4167
4182
|
goto _test_eof117;
|
4168
4183
|
case 117:
|
4169
|
-
#line
|
4184
|
+
#line 4185 "hpricot_scan.c"
|
4170
4185
|
switch( (*p) ) {
|
4171
4186
|
case 13: goto tr220;
|
4172
4187
|
case 32: goto tr220;
|
@@ -4230,7 +4245,7 @@ st118:
|
|
4230
4245
|
if ( ++p == pe )
|
4231
4246
|
goto _test_eof118;
|
4232
4247
|
case 118:
|
4233
|
-
#line
|
4248
|
+
#line 4249 "hpricot_scan.c"
|
4234
4249
|
switch( (*p) ) {
|
4235
4250
|
case 13: goto tr285;
|
4236
4251
|
case 32: goto tr285;
|
@@ -4283,7 +4298,7 @@ st119:
|
|
4283
4298
|
if ( ++p == pe )
|
4284
4299
|
goto _test_eof119;
|
4285
4300
|
case 119:
|
4286
|
-
#line
|
4301
|
+
#line 4302 "hpricot_scan.c"
|
4287
4302
|
switch( (*p) ) {
|
4288
4303
|
case 32: goto st119;
|
4289
4304
|
case 34: goto tr228;
|
@@ -4343,7 +4358,7 @@ st120:
|
|
4343
4358
|
if ( ++p == pe )
|
4344
4359
|
goto _test_eof120;
|
4345
4360
|
case 120:
|
4346
|
-
#line
|
4361
|
+
#line 4362 "hpricot_scan.c"
|
4347
4362
|
switch( (*p) ) {
|
4348
4363
|
case 32: goto tr293;
|
4349
4364
|
case 34: goto tr228;
|
@@ -4393,7 +4408,7 @@ st121:
|
|
4393
4408
|
if ( ++p == pe )
|
4394
4409
|
goto _test_eof121;
|
4395
4410
|
case 121:
|
4396
|
-
#line
|
4411
|
+
#line 4412 "hpricot_scan.c"
|
4397
4412
|
switch( (*p) ) {
|
4398
4413
|
case 34: goto tr228;
|
4399
4414
|
case 39: goto tr174;
|
@@ -4526,7 +4541,7 @@ st211:
|
|
4526
4541
|
if ( ++p == pe )
|
4527
4542
|
goto _test_eof211;
|
4528
4543
|
case 211:
|
4529
|
-
#line
|
4544
|
+
#line 4545 "hpricot_scan.c"
|
4530
4545
|
switch( (*p) ) {
|
4531
4546
|
case 34: goto tr228;
|
4532
4547
|
case 39: goto tr174;
|
@@ -4541,7 +4556,7 @@ st122:
|
|
4541
4556
|
if ( ++p == pe )
|
4542
4557
|
goto _test_eof122;
|
4543
4558
|
case 122:
|
4544
|
-
#line
|
4559
|
+
#line 4560 "hpricot_scan.c"
|
4545
4560
|
switch( (*p) ) {
|
4546
4561
|
case 34: goto tr299;
|
4547
4562
|
case 39: goto tr299;
|
@@ -4556,7 +4571,7 @@ st123:
|
|
4556
4571
|
if ( ++p == pe )
|
4557
4572
|
goto _test_eof123;
|
4558
4573
|
case 123:
|
4559
|
-
#line
|
4574
|
+
#line 4575 "hpricot_scan.c"
|
4560
4575
|
switch( (*p) ) {
|
4561
4576
|
case 13: goto tr300;
|
4562
4577
|
case 32: goto tr300;
|
@@ -4581,7 +4596,7 @@ st124:
|
|
4581
4596
|
if ( ++p == pe )
|
4582
4597
|
goto _test_eof124;
|
4583
4598
|
case 124:
|
4584
|
-
#line
|
4599
|
+
#line 4600 "hpricot_scan.c"
|
4585
4600
|
switch( (*p) ) {
|
4586
4601
|
case 13: goto tr305;
|
4587
4602
|
case 32: goto tr305;
|
@@ -4615,7 +4630,7 @@ st125:
|
|
4615
4630
|
if ( ++p == pe )
|
4616
4631
|
goto _test_eof125;
|
4617
4632
|
case 125:
|
4618
|
-
#line
|
4633
|
+
#line 4634 "hpricot_scan.c"
|
4619
4634
|
switch( (*p) ) {
|
4620
4635
|
case 13: goto tr305;
|
4621
4636
|
case 32: goto tr305;
|
@@ -4660,7 +4675,7 @@ st126:
|
|
4660
4675
|
if ( ++p == pe )
|
4661
4676
|
goto _test_eof126;
|
4662
4677
|
case 126:
|
4663
|
-
#line
|
4678
|
+
#line 4679 "hpricot_scan.c"
|
4664
4679
|
switch( (*p) ) {
|
4665
4680
|
case 13: goto tr308;
|
4666
4681
|
case 32: goto tr308;
|
@@ -4696,7 +4711,7 @@ st127:
|
|
4696
4711
|
if ( ++p == pe )
|
4697
4712
|
goto _test_eof127;
|
4698
4713
|
case 127:
|
4699
|
-
#line
|
4714
|
+
#line 4715 "hpricot_scan.c"
|
4700
4715
|
switch( (*p) ) {
|
4701
4716
|
case 13: goto tr211;
|
4702
4717
|
case 32: goto tr211;
|
@@ -4797,7 +4812,7 @@ st128:
|
|
4797
4812
|
if ( ++p == pe )
|
4798
4813
|
goto _test_eof128;
|
4799
4814
|
case 128:
|
4800
|
-
#line
|
4815
|
+
#line 4816 "hpricot_scan.c"
|
4801
4816
|
switch( (*p) ) {
|
4802
4817
|
case 13: goto tr220;
|
4803
4818
|
case 32: goto tr220;
|
@@ -4822,7 +4837,7 @@ st129:
|
|
4822
4837
|
if ( ++p == pe )
|
4823
4838
|
goto _test_eof129;
|
4824
4839
|
case 129:
|
4825
|
-
#line
|
4840
|
+
#line 4841 "hpricot_scan.c"
|
4826
4841
|
switch( (*p) ) {
|
4827
4842
|
case 13: goto tr220;
|
4828
4843
|
case 32: goto tr220;
|
@@ -4847,7 +4862,7 @@ st130:
|
|
4847
4862
|
if ( ++p == pe )
|
4848
4863
|
goto _test_eof130;
|
4849
4864
|
case 130:
|
4850
|
-
#line
|
4865
|
+
#line 4866 "hpricot_scan.c"
|
4851
4866
|
switch( (*p) ) {
|
4852
4867
|
case 13: goto tr211;
|
4853
4868
|
case 32: goto tr211;
|
@@ -4883,7 +4898,7 @@ st131:
|
|
4883
4898
|
if ( ++p == pe )
|
4884
4899
|
goto _test_eof131;
|
4885
4900
|
case 131:
|
4886
|
-
#line
|
4901
|
+
#line 4902 "hpricot_scan.c"
|
4887
4902
|
switch( (*p) ) {
|
4888
4903
|
case 32: goto tr315;
|
4889
4904
|
case 34: goto tr316;
|
@@ -4914,7 +4929,7 @@ st132:
|
|
4914
4929
|
if ( ++p == pe )
|
4915
4930
|
goto _test_eof132;
|
4916
4931
|
case 132:
|
4917
|
-
#line
|
4932
|
+
#line 4933 "hpricot_scan.c"
|
4918
4933
|
switch( (*p) ) {
|
4919
4934
|
case 32: goto tr315;
|
4920
4935
|
case 34: goto tr322;
|
@@ -4949,7 +4964,7 @@ st133:
|
|
4949
4964
|
if ( ++p == pe )
|
4950
4965
|
goto _test_eof133;
|
4951
4966
|
case 133:
|
4952
|
-
#line
|
4967
|
+
#line 4968 "hpricot_scan.c"
|
4953
4968
|
switch( (*p) ) {
|
4954
4969
|
case 13: goto tr308;
|
4955
4970
|
case 32: goto tr308;
|
@@ -4986,7 +5001,7 @@ st134:
|
|
4986
5001
|
if ( ++p == pe )
|
4987
5002
|
goto _test_eof134;
|
4988
5003
|
case 134:
|
4989
|
-
#line
|
5004
|
+
#line 5005 "hpricot_scan.c"
|
4990
5005
|
switch( (*p) ) {
|
4991
5006
|
case 13: goto tr323;
|
4992
5007
|
case 32: goto tr323;
|
@@ -5023,7 +5038,7 @@ st135:
|
|
5023
5038
|
if ( ++p == pe )
|
5024
5039
|
goto _test_eof135;
|
5025
5040
|
case 135:
|
5026
|
-
#line
|
5041
|
+
#line 5042 "hpricot_scan.c"
|
5027
5042
|
switch( (*p) ) {
|
5028
5043
|
case 13: goto tr326;
|
5029
5044
|
case 32: goto tr326;
|
@@ -5068,7 +5083,7 @@ st137:
|
|
5068
5083
|
if ( ++p == pe )
|
5069
5084
|
goto _test_eof137;
|
5070
5085
|
case 137:
|
5071
|
-
#line
|
5086
|
+
#line 5087 "hpricot_scan.c"
|
5072
5087
|
switch( (*p) ) {
|
5073
5088
|
case 32: goto tr330;
|
5074
5089
|
case 39: goto tr331;
|
@@ -5098,7 +5113,7 @@ st138:
|
|
5098
5113
|
if ( ++p == pe )
|
5099
5114
|
goto _test_eof138;
|
5100
5115
|
case 138:
|
5101
|
-
#line
|
5116
|
+
#line 5117 "hpricot_scan.c"
|
5102
5117
|
switch( (*p) ) {
|
5103
5118
|
case 13: goto tr277;
|
5104
5119
|
case 32: goto tr277;
|
@@ -5123,7 +5138,7 @@ st139:
|
|
5123
5138
|
if ( ++p == pe )
|
5124
5139
|
goto _test_eof139;
|
5125
5140
|
case 139:
|
5126
|
-
#line
|
5141
|
+
#line 5142 "hpricot_scan.c"
|
5127
5142
|
switch( (*p) ) {
|
5128
5143
|
case 32: goto tr336;
|
5129
5144
|
case 34: goto tr331;
|
@@ -5200,7 +5215,7 @@ st144:
|
|
5200
5215
|
if ( ++p == pe )
|
5201
5216
|
goto _test_eof144;
|
5202
5217
|
case 144:
|
5203
|
-
#line
|
5218
|
+
#line 5219 "hpricot_scan.c"
|
5204
5219
|
switch( (*p) ) {
|
5205
5220
|
case 13: goto tr148;
|
5206
5221
|
case 32: goto tr148;
|
@@ -5239,7 +5254,7 @@ st146:
|
|
5239
5254
|
if ( ++p == pe )
|
5240
5255
|
goto _test_eof146;
|
5241
5256
|
case 146:
|
5242
|
-
#line
|
5257
|
+
#line 5258 "hpricot_scan.c"
|
5243
5258
|
switch( (*p) ) {
|
5244
5259
|
case 32: goto st212;
|
5245
5260
|
case 63: goto st146;
|
@@ -5277,7 +5292,7 @@ st147:
|
|
5277
5292
|
if ( ++p == pe )
|
5278
5293
|
goto _test_eof147;
|
5279
5294
|
case 147:
|
5280
|
-
#line
|
5295
|
+
#line 5296 "hpricot_scan.c"
|
5281
5296
|
switch( (*p) ) {
|
5282
5297
|
case 32: goto st212;
|
5283
5298
|
case 63: goto st146;
|
@@ -5356,7 +5371,7 @@ st213:
|
|
5356
5371
|
if ( ++p == pe )
|
5357
5372
|
goto _test_eof213;
|
5358
5373
|
case 213:
|
5359
|
-
#line
|
5374
|
+
#line 5375 "hpricot_scan.c"
|
5360
5375
|
switch( (*p) ) {
|
5361
5376
|
case 32: goto tr348;
|
5362
5377
|
case 118: goto st150;
|
@@ -5455,7 +5470,7 @@ st159:
|
|
5455
5470
|
if ( ++p == pe )
|
5456
5471
|
goto _test_eof159;
|
5457
5472
|
case 159:
|
5458
|
-
#line
|
5473
|
+
#line 5474 "hpricot_scan.c"
|
5459
5474
|
switch( (*p) ) {
|
5460
5475
|
case 34: goto tr360;
|
5461
5476
|
case 95: goto st159;
|
@@ -5480,7 +5495,7 @@ st160:
|
|
5480
5495
|
if ( ++p == pe )
|
5481
5496
|
goto _test_eof160;
|
5482
5497
|
case 160:
|
5483
|
-
#line
|
5498
|
+
#line 5499 "hpricot_scan.c"
|
5484
5499
|
switch( (*p) ) {
|
5485
5500
|
case 32: goto st161;
|
5486
5501
|
case 62: goto tr363;
|
@@ -5600,7 +5615,7 @@ st173:
|
|
5600
5615
|
if ( ++p == pe )
|
5601
5616
|
goto _test_eof173;
|
5602
5617
|
case 173:
|
5603
|
-
#line
|
5618
|
+
#line 5619 "hpricot_scan.c"
|
5604
5619
|
switch( (*p) ) {
|
5605
5620
|
case 34: goto tr378;
|
5606
5621
|
case 95: goto st173;
|
@@ -5625,7 +5640,7 @@ st174:
|
|
5625
5640
|
if ( ++p == pe )
|
5626
5641
|
goto _test_eof174;
|
5627
5642
|
case 174:
|
5628
|
-
#line
|
5643
|
+
#line 5644 "hpricot_scan.c"
|
5629
5644
|
switch( (*p) ) {
|
5630
5645
|
case 32: goto st175;
|
5631
5646
|
case 62: goto tr363;
|
@@ -5750,7 +5765,7 @@ st188:
|
|
5750
5765
|
if ( ++p == pe )
|
5751
5766
|
goto _test_eof188;
|
5752
5767
|
case 188:
|
5753
|
-
#line
|
5768
|
+
#line 5769 "hpricot_scan.c"
|
5754
5769
|
if ( (*p) == 111 )
|
5755
5770
|
goto st189;
|
5756
5771
|
goto tr349;
|
@@ -5769,7 +5784,7 @@ st190:
|
|
5769
5784
|
if ( ++p == pe )
|
5770
5785
|
goto _test_eof190;
|
5771
5786
|
case 190:
|
5772
|
-
#line
|
5787
|
+
#line 5788 "hpricot_scan.c"
|
5773
5788
|
switch( (*p) ) {
|
5774
5789
|
case 32: goto st190;
|
5775
5790
|
case 62: goto tr363;
|
@@ -5786,7 +5801,7 @@ st191:
|
|
5786
5801
|
if ( ++p == pe )
|
5787
5802
|
goto _test_eof191;
|
5788
5803
|
case 191:
|
5789
|
-
#line
|
5804
|
+
#line 5805 "hpricot_scan.c"
|
5790
5805
|
if ( (*p) == 101 )
|
5791
5806
|
goto st192;
|
5792
5807
|
goto tr349;
|
@@ -5814,7 +5829,7 @@ st194:
|
|
5814
5829
|
if ( ++p == pe )
|
5815
5830
|
goto _test_eof194;
|
5816
5831
|
case 194:
|
5817
|
-
#line
|
5832
|
+
#line 5833 "hpricot_scan.c"
|
5818
5833
|
if ( (*p) == 111 )
|
5819
5834
|
goto st195;
|
5820
5835
|
goto tr349;
|
@@ -5833,7 +5848,7 @@ st196:
|
|
5833
5848
|
if ( ++p == pe )
|
5834
5849
|
goto _test_eof196;
|
5835
5850
|
case 196:
|
5836
|
-
#line
|
5851
|
+
#line 5852 "hpricot_scan.c"
|
5837
5852
|
if ( (*p) == 101 )
|
5838
5853
|
goto st197;
|
5839
5854
|
goto tr349;
|
@@ -5862,7 +5877,7 @@ st199:
|
|
5862
5877
|
if ( ++p == pe )
|
5863
5878
|
goto _test_eof199;
|
5864
5879
|
case 199:
|
5865
|
-
#line
|
5880
|
+
#line 5881 "hpricot_scan.c"
|
5866
5881
|
switch( (*p) ) {
|
5867
5882
|
case 39: goto tr378;
|
5868
5883
|
case 95: goto st199;
|
@@ -5905,7 +5920,7 @@ st201:
|
|
5905
5920
|
if ( ++p == pe )
|
5906
5921
|
goto _test_eof201;
|
5907
5922
|
case 201:
|
5908
|
-
#line
|
5923
|
+
#line 5924 "hpricot_scan.c"
|
5909
5924
|
switch( (*p) ) {
|
5910
5925
|
case 39: goto tr360;
|
5911
5926
|
case 95: goto st201;
|
@@ -5954,7 +5969,7 @@ st214:
|
|
5954
5969
|
case 214:
|
5955
5970
|
#line 1 "hpricot_scan.rl"
|
5956
5971
|
{ts = p;}
|
5957
|
-
#line
|
5972
|
+
#line 5973 "hpricot_scan.c"
|
5958
5973
|
switch( (*p) ) {
|
5959
5974
|
case 10: goto tr423;
|
5960
5975
|
case 45: goto tr424;
|
@@ -5968,7 +5983,7 @@ st215:
|
|
5968
5983
|
if ( ++p == pe )
|
5969
5984
|
goto _test_eof215;
|
5970
5985
|
case 215:
|
5971
|
-
#line
|
5986
|
+
#line 5987 "hpricot_scan.c"
|
5972
5987
|
if ( (*p) == 45 )
|
5973
5988
|
goto st202;
|
5974
5989
|
goto tr425;
|
@@ -6011,7 +6026,7 @@ st216:
|
|
6011
6026
|
case 216:
|
6012
6027
|
#line 1 "hpricot_scan.rl"
|
6013
6028
|
{ts = p;}
|
6014
|
-
#line
|
6029
|
+
#line 6030 "hpricot_scan.c"
|
6015
6030
|
switch( (*p) ) {
|
6016
6031
|
case 10: goto tr428;
|
6017
6032
|
case 93: goto tr429;
|
@@ -6025,7 +6040,7 @@ st217:
|
|
6025
6040
|
if ( ++p == pe )
|
6026
6041
|
goto _test_eof217;
|
6027
6042
|
case 217:
|
6028
|
-
#line
|
6043
|
+
#line 6044 "hpricot_scan.c"
|
6029
6044
|
if ( (*p) == 93 )
|
6030
6045
|
goto st203;
|
6031
6046
|
goto tr430;
|
@@ -6064,7 +6079,7 @@ st218:
|
|
6064
6079
|
case 218:
|
6065
6080
|
#line 1 "hpricot_scan.rl"
|
6066
6081
|
{ts = p;}
|
6067
|
-
#line
|
6082
|
+
#line 6083 "hpricot_scan.c"
|
6068
6083
|
switch( (*p) ) {
|
6069
6084
|
case 10: goto tr433;
|
6070
6085
|
case 62: goto tr434;
|
@@ -6524,7 +6539,7 @@ case 219:
|
|
6524
6539
|
}
|
6525
6540
|
|
6526
6541
|
}
|
6527
|
-
#line
|
6542
|
+
#line 561 "hpricot_scan.rl"
|
6528
6543
|
|
6529
6544
|
if ( cs == hpricot_scan_error ) {
|
6530
6545
|
free(buf);
|