hpricot 0.8.4-i386-mswin32 → 0.8.5-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ = 0.8.5
2
+ === 29 November 2011
3
+ * Remove escaped quote (\') from matching (#55)
4
+ * Fix 'undefined method downcase for nil:NilClass' on JRuby (#58)
5
+ * Unescape hex numeric character references
6
+
1
7
  = 0.8.4
2
8
  === 28 February, 2011
3
9
  * GH #21, #32, #33, #36: Fix for reported segfaults
@@ -49,12 +55,12 @@
49
55
  * Hpricot for JRuby -- nice work Ola Bini!
50
56
  * Inline Markaby for Hpricot documents.
51
57
  * XML tags and attributes are no longer downcased like HTML is.
52
- * new syntax for grabbing everything between two elements using a Range in the search method: (doc/("font".."font/br")) or in nodes_at like so: (doc/"font").nodes_at("*".."br"). Only works with either a pair of siblings or a set of a parent and a sibling.
58
+ * new syntax for grabbing everything between two elements using a Range in the search method: (doc/("font".."font/br")) or in nodes_at like so: (doc/"font").nodes_at("*".."br"). Only works with either a pair of siblings or a set of a parent and a sibling.
53
59
  * Ignore self-closing endings on tags (such as form) which are containers. Treat them like open parent tags. Reported by Jonathan Nichols on the hpricot list.
54
60
  * Escaping of attributes, yanked from Jim Weirich and Sam Ruby's work in Builder.
55
61
  * Element#raw_attributes gives unescaped data. Element#attributes gives escaped.
56
62
  * Added: Elements#attr, Elements#remove_attr, Elements#remove_class.
57
- * Added: Traverse#preceding, Traverse#following, Traverse#previous, Traverse#next.
63
+ * Added: Traverse#preceding, Traverse#following, Traverse#previous, Traverse#next.
58
64
 
59
65
  = 0.5
60
66
  === 31rd January, 2007
@@ -88,11 +94,11 @@
88
94
 
89
95
  * Fixed negative string size error on empty tokens. (news.bbc.co.uk)
90
96
  * Allow the parser to accept just text nodes. (such as: <tt>Hpricot.parse('TEXT')</tt>)
91
- * from JQuery to Hpricot::Elements: remove, empty, append, prepend, before, after, wrap, set,
92
- html(...), to_html, to_s.
97
+ * from JQuery to Hpricot::Elements: remove, empty, append, prepend, before, after, wrap, set,
98
+ html(...), to_html, to_s.
93
99
  * on containers: to_html, replace_child, insert_before, insert_after, innerHTML=.
94
100
  * Hpricot(...) is an alias for parse.
95
- * open up all properties to setters, let people do as they may.
101
+ * open up all properties to setters, let people do as they may.
96
102
  * use to_html for the full html of a node or set of elements.
97
103
  * doctypes were messed.
98
104
 
data/COPYING CHANGED
@@ -6,13 +6,13 @@ deal in the Software without restriction, including without limitation the
6
6
  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
7
  sell copies of the Software, and to permit persons to whom the Software is
8
8
  furnished to do so, subject to the following conditions:
9
-
9
+
10
10
  The above copyright notice and this permission notice shall be included in
11
11
  all copies or substantial portions of the Software.
12
-
12
+
13
13
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
14
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
15
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
- THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
16
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
17
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
18
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
+ require 'bundler/setup'
2
+ ENV.delete('RUBYOPT') # Don't propagate RUBYOPT/Bundler to subprocesses
1
3
  require 'rake/clean'
2
- require 'rake/gempackagetask'
3
- require 'rake/rdoctask'
4
+ require 'rubygems/package_task'
5
+ require 'rdoc/task'
4
6
  require 'rake/testtask'
5
7
  begin
6
8
  require 'rake/extensiontask'
@@ -54,6 +56,9 @@ SPEC =
54
56
  s.extensions = FileList["ext/**/extconf.rb"].to_a
55
57
  s.bindir = "bin"
56
58
  end
59
+ # Dup the spec before any of its calculated ivars are set (e.g., #cache_file)
60
+ Win32Spec = SPEC.dup
61
+ JRubySpec = SPEC.dup
57
62
 
58
63
  # FAT cross-compile
59
64
  # Pass RUBY_CC_VERSION=1.8.7:1.9.2 when packaging for 1.8+1.9 mswin32 binaries
@@ -118,13 +123,12 @@ Rake::RDocTask.new do |rdoc|
118
123
  rdoc.rdoc_files.add ['README.md', 'CHANGELOG', 'COPYING', 'lib/**/*.rb']
119
124
  end
120
125
 
121
- Rake::GemPackageTask.new(SPEC) do |p|
126
+ Gem::PackageTask.new(SPEC) do |p|
122
127
  p.need_tar = true
123
128
  p.gem_spec = SPEC
124
129
  end
125
130
 
126
131
  ### Win32 Packages ###
127
- Win32Spec = SPEC.dup
128
132
  Win32Spec.platform = 'i386-mswin32'
129
133
  Win32Spec.files = PKG_FILES + %w(hpricot_scan fast_xs).map do |t|
130
134
  unless ENV['RUBY_CC_VERSION']
@@ -136,17 +140,16 @@ Win32Spec.files = PKG_FILES + %w(hpricot_scan fast_xs).map do |t|
136
140
  end.flatten
137
141
  Win32Spec.extensions = []
138
142
 
139
- Rake::GemPackageTask.new(Win32Spec) do |p|
143
+ Gem::PackageTask.new(Win32Spec) do |p|
140
144
  p.need_tar = false
141
145
  p.gem_spec = Win32Spec
142
146
  end
143
147
 
144
- JRubySpec = SPEC.dup
145
148
  JRubySpec.platform = 'java'
146
149
  JRubySpec.files = PKG_FILES + ["lib/hpricot_scan.jar", "lib/fast_xs.jar"]
147
150
  JRubySpec.extensions = []
148
151
 
149
- Rake::GemPackageTask.new(JRubySpec) do |p|
152
+ Gem::PackageTask.new(JRubySpec) do |p|
150
153
  p.need_tar = false
151
154
  p.gem_spec = JRubySpec
152
155
  end
@@ -41,9 +41,9 @@ public class FastXsService implements BasicLibraryService {
41
41
  * The ASF licenses this file to You under the Apache License, Version 2.0
42
42
  * (the "License"); you may not use this file except in compliance with
43
43
  * the License. You may obtain a copy of the License at
44
- *
44
+ *
45
45
  * http://www.apache.org/licenses/LICENSE-2.0
46
- *
46
+ *
47
47
  * Unless required by applicable law or agreed to in writing, software
48
48
  * distributed under the License is distributed on an "AS IS" BASIS,
49
49
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -55,13 +55,13 @@ public class FastXsService implements BasicLibraryService {
55
55
  * <p>
56
56
  * Provides HTML and XML entity utilities.
57
57
  * </p>
58
- *
58
+ *
59
59
  * @see <a href="http://hotwired.lycos.com/webmonkey/reference/special_characters/">ISO Entities</a>
60
60
  * @see <a href="http://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a>
61
61
  * @see <a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a>
62
62
  * @see <a href="http://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a>
63
63
  * @see <a href="http://www.w3.org/TR/html401/charset.html#code-position">HTML 4.01 Code positions</a>
64
- *
64
+ *
65
65
  * @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a>
66
66
  * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
67
67
  * @since 2.0
@@ -430,7 +430,7 @@ class Entities {
430
430
  * <p>
431
431
  * Fills the specified entities instance with HTML 40 entities.
432
432
  * </p>
433
- *
433
+ *
434
434
  * @param entities
435
435
  * the instance to be filled.
436
436
  */
@@ -445,7 +445,7 @@ class Entities {
445
445
  * <p>
446
446
  * Add an entry to this entity map.
447
447
  * </p>
448
- *
448
+ *
449
449
  * @param name
450
450
  * the entity name
451
451
  * @param value
@@ -457,7 +457,7 @@ class Entities {
457
457
  * <p>
458
458
  * Returns the name of the entity identified by the specified value.
459
459
  * </p>
460
- *
460
+ *
461
461
  * @param value
462
462
  * the value to locate
463
463
  * @return entity name associated with the specified value
@@ -468,7 +468,7 @@ class Entities {
468
468
  * <p>
469
469
  * Returns the value of the entity identified by the specified name.
470
470
  * </p>
471
- *
471
+ *
472
472
  * @param name
473
473
  * the name to locate
474
474
  * @return entity value associated with the specified name
@@ -484,15 +484,15 @@ class Entities {
484
484
 
485
485
 
486
486
  private int threshold;
487
-
487
+
488
488
  private final float loadFactor;
489
-
489
+
490
490
  private static class Entry {
491
491
  final int hash;
492
492
  final int key;
493
493
  Object value;
494
494
  Entry next;
495
-
495
+
496
496
  protected Entry(int hash, int key, Object value, Entry next) {
497
497
  this.hash = hash;
498
498
  this.key = key;
@@ -500,7 +500,7 @@ class Entities {
500
500
  this.next = next;
501
501
  }
502
502
  }
503
-
503
+
504
504
  public IntHashMap() {
505
505
  this.loadFactor = 0.75f;
506
506
  table = new Entry[20];
@@ -518,22 +518,22 @@ class Entities {
518
518
  }
519
519
  return null;
520
520
  }
521
-
521
+
522
522
  protected void rehash() {
523
523
  int oldCapacity = table.length;
524
524
  Entry oldMap[] = table;
525
-
525
+
526
526
  int newCapacity = oldCapacity * 2 + 1;
527
527
  Entry newMap[] = new Entry[newCapacity];
528
-
528
+
529
529
  threshold = (int) (newCapacity * loadFactor);
530
530
  table = newMap;
531
-
531
+
532
532
  for (int i = oldCapacity; i-- > 0;) {
533
533
  for (Entry old = oldMap[i]; old != null;) {
534
534
  Entry e = old;
535
535
  old = old.next;
536
-
536
+
537
537
  int index = (e.hash & 0x7FFFFFFF) % newCapacity;
538
538
  e.next = newMap[index];
539
539
  newMap[index] = e;
@@ -553,15 +553,15 @@ class Entities {
553
553
  return old;
554
554
  }
555
555
  }
556
-
556
+
557
557
  if (count >= threshold) {
558
558
  // Rehash the table if the threshold is exceeded
559
559
  rehash();
560
-
560
+
561
561
  tab = table;
562
562
  index = (hash & 0x7FFFFFFF) % tab.length;
563
563
  }
564
-
564
+
565
565
  // Creates the new entry.
566
566
  Entry e = new Entry(hash, key, value, tab[index]);
567
567
  tab[index] = e;
@@ -673,7 +673,7 @@ class Entities {
673
673
  * <p>
674
674
  * Returns the lookup table for this entity map. The lookup table is created if it has not been previously.
675
675
  * </p>
676
- *
676
+ *
677
677
  * @return the lookup table
678
678
  */
679
679
  private String[] lookupTable() {
@@ -716,7 +716,7 @@ class Entities {
716
716
  /**
717
717
  * Constructs a new instance of <code>ArrayEntityMap</code> specifying the size by which the array should
718
718
  * grow.
719
- *
719
+ *
720
720
  * @param growBy
721
721
  * array will be initialized to and will grow by this amount
722
722
  */
@@ -738,7 +738,7 @@ class Entities {
738
738
 
739
739
  /**
740
740
  * Verifies the capacity of the entity array, adjusting the size if necessary.
741
- *
741
+ *
742
742
  * @param capacity
743
743
  * size the array should be
744
744
  */
@@ -791,7 +791,7 @@ class Entities {
791
791
  /**
792
792
  * Constructs a new instance of <code>ArrayEntityMap</code> specifying the size by which the underlying array
793
793
  * should grow.
794
- *
794
+ *
795
795
  * @param growBy
796
796
  * array will be initialized to and will grow by this amount
797
797
  */
@@ -802,7 +802,7 @@ class Entities {
802
802
  /**
803
803
  * Performs a binary search of the entity array for the specified key. This method is based on code in
804
804
  * {@link java.util.Arrays}.
805
- *
805
+ *
806
806
  * @param key
807
807
  * the key to be found
808
808
  * @return the index of the entity array matching the specified key
@@ -862,7 +862,7 @@ class Entities {
862
862
  * <p>
863
863
  * Adds entities to this entity.
864
864
  * </p>
865
- *
865
+ *
866
866
  * @param entityArray
867
867
  * array of entities to be added
868
868
  */
@@ -876,7 +876,7 @@ class Entities {
876
876
  * <p>
877
877
  * Add an entity to this entity.
878
878
  * </p>
879
- *
879
+ *
880
880
  * @param name
881
881
  * name of the entity
882
882
  * @param value
@@ -890,7 +890,7 @@ class Entities {
890
890
  * <p>
891
891
  * Returns the name of the entity identified by the specified value.
892
892
  * </p>
893
- *
893
+ *
894
894
  * @param value
895
895
  * the value to locate
896
896
  * @return entity name associated with the specified value
@@ -903,7 +903,7 @@ class Entities {
903
903
  * <p>
904
904
  * Returns the value of the entity identified by the specified name.
905
905
  * </p>
906
- *
906
+ *
907
907
  * @param name
908
908
  * the name to locate
909
909
  * @return entity value associated with the specified name
@@ -916,12 +916,12 @@ class Entities {
916
916
  * <p>
917
917
  * Escapes the characters in a <code>String</code>.
918
918
  * </p>
919
- *
919
+ *
920
920
  * <p>
921
921
  * For example, if you have called addEntity(&quot;foo&quot;, 0xA1), escape(&quot;\u00A1&quot;) will return
922
922
  * &quot;&amp;foo;&quot;
923
923
  * </p>
924
- *
924
+ *
925
925
  * @param str
926
926
  * The <code>String</code> to escape.
927
927
  * @return A new escaped <code>String</code>.
@@ -943,7 +943,7 @@ class Entities {
943
943
  * Escapes the characters in the <code>String</code> passed and writes the result to the <code>Writer</code>
944
944
  * passed.
945
945
  * </p>
946
- *
946
+ *
947
947
  * @param writer
948
948
  * The <code>Writer</code> to write the results of the escaping to. Assumed to be a non-null value.
949
949
  * @param str
@@ -951,7 +951,7 @@ class Entities {
951
951
  * @throws IOException
952
952
  * when <code>Writer</code> passed throws the exception from calls to the {@link Writer#write(int)}
953
953
  * methods.
954
- *
954
+ *
955
955
  * @see #escape(String)
956
956
  * @see Writer
957
957
  */
@@ -980,12 +980,12 @@ class Entities {
980
980
  * <p>
981
981
  * Unescapes the entities in a <code>String</code>.
982
982
  * </p>
983
- *
983
+ *
984
984
  * <p>
985
985
  * For example, if you have called addEntity(&quot;foo&quot;, 0xA1), unescape(&quot;&amp;foo;&quot;) will return
986
986
  * &quot;\u00A1&quot;
987
987
  * </p>
988
- *
988
+ *
989
989
  * @param str
990
990
  * The <code>String</code> to escape.
991
991
  * @return A new escaped <code>String</code>.
@@ -999,7 +999,7 @@ class Entities {
999
999
  try {
1000
1000
  this.doUnescape(stringWriter, str, firstAmp);
1001
1001
  } catch (IOException e) {
1002
- // This should never happen because ALL the StringWriter methods called by #escape(Writer, String)
1002
+ // This should never happen because ALL the StringWriter methods called by #escape(Writer, String)
1003
1003
  // do not throw IOExceptions.
1004
1004
  throw new RuntimeException(e);
1005
1005
  }
@@ -1022,7 +1022,7 @@ class Entities {
1022
1022
  * Unescapes the escaped entities in the <code>String</code> passed and writes the result to the
1023
1023
  * <code>Writer</code> passed.
1024
1024
  * </p>
1025
- *
1025
+ *
1026
1026
  * @param writer
1027
1027
  * The <code>Writer</code> to write the results to; assumed to be non-null.
1028
1028
  * @param str
@@ -1030,7 +1030,7 @@ class Entities {
1030
1030
  * @throws IOException
1031
1031
  * when <code>Writer</code> passed throws the exception from calls to the {@link Writer#write(int)}
1032
1032
  * methods.
1033
- *
1033
+ *
1034
1034
  * @see #escape(String)
1035
1035
  * @see Writer
1036
1036
  */
@@ -80,7 +80,7 @@ public class HpricotCss {
80
80
  pe = p + bl.realSize;
81
81
  eof = pe;
82
82
  }
83
-
83
+
84
84
 
85
85
  // line 86 "HpricotCss.java"
86
86
  private static byte[] init__hpricot_css_actions_0()
@@ -641,7 +641,7 @@ case 3:
641
641
  // line 89 "hpricot_css.java.rl"
642
642
  {
643
643
  ape = p;
644
- PUSH(aps, ape);
644
+ PUSH(aps, ape);
645
645
  }
646
646
  break;
647
647
  case 2:
@@ -254,11 +254,11 @@ public class HpricotScanService implements BasicLibraryService {
254
254
  if(te > ts || text) {
255
255
  int raw = -1;
256
256
  int rawlen = 0;
257
- ele_open = false;
257
+ ele_open = false;
258
258
  text = false;
259
259
 
260
260
  if(ts != -1 && N != x.sym_cdata && N != x.sym_text && N != x.sym_procins && N != x.sym_comment) {
261
- raw = ts;
261
+ raw = ts;
262
262
  rawlen = te - ts;
263
263
  }
264
264
 
@@ -273,7 +273,7 @@ public class HpricotScanService implements BasicLibraryService {
273
273
  }
274
274
  }
275
275
  }
276
-
276
+
277
277
 
278
278
  public void EBLK(IRubyObject N, int T) {
279
279
  tag = CAT(tag, mark_tag, p - T + 1);
@@ -349,8 +349,8 @@ public class HpricotScanService implements BasicLibraryService {
349
349
  }
350
350
  }
351
351
 
352
- if(H_ELE_GET(S.focus, H_ELE_EC) == x.sym_CDATA &&
353
- (sym != x.sym_procins && sym != x.sym_comment && sym != x.sym_cdata && sym != x.sym_text) &&
352
+ if(H_ELE_GET(S.focus, H_ELE_EC) == x.sym_CDATA &&
353
+ (sym != x.sym_procins && sym != x.sym_comment && sym != x.sym_cdata && sym != x.sym_text) &&
354
354
  !(sym == x.sym_etag && runtime.newFixnum(tag.hashCode()).equals(H_ELE_GET(S.focus, H_ELE_HASH)))) {
355
355
  sym = x.sym_text;
356
356
  tag = RubyString.newString(runtime, scanner.data, raw, rawlen);
@@ -394,7 +394,7 @@ public class HpricotScanService implements BasicLibraryService {
394
394
  }
395
395
  e = H_ELE_GET(e, H_ELE_PARENT);
396
396
  }
397
-
397
+
398
398
  if(match.isNil()) {
399
399
  match = S.focus;
400
400
  }
@@ -555,19 +555,18 @@ private static short[] init__hpricot_scan_key_offsets_0()
555
555
  203, 210, 212, 214, 220, 222, 227, 232, 238, 240, 245, 251,
556
556
  265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
557
557
  282, 296, 300, 313, 326, 340, 354, 355, 366, 375, 388, 405,
558
- 423, 441, 450, 461, 480, 499, 510, 521, 536, 538, 540, 556,
559
- 572, 575, 587, 599, 619, 639, 658, 677, 697, 717, 728, 739,
560
- 751, 763, 775, 791, 794, 809, 811, 813, 829, 845, 848, 860,
561
- 871, 890, 910, 930, 941, 952, 964, 984, 1004, 1016, 1036, 1057,
562
- 1074, 1091, 1095, 1098, 1110, 1122, 1142, 1162, 1182, 1194, 1206, 1226,
563
- 1242, 1258, 1270, 1291, 1310, 1313, 1328, 1340, 1355, 1358, 1369, 1371,
564
- 1373, 1384, 1391, 1404, 1418, 1432, 1445, 1446, 1447, 1448, 1449, 1450,
565
- 1451, 1455, 1460, 1469, 1479, 1484, 1491, 1492, 1493, 1494, 1495, 1496,
566
- 1497, 1498, 1499, 1503, 1508, 1512, 1522, 1527, 1533, 1534, 1535, 1536,
567
- 1537, 1538, 1539, 1540, 1541, 1542, 1546, 1551, 1553, 1554, 1555, 1560,
568
- 1561, 1562, 1564, 1565, 1566, 1567, 1568, 1572, 1582, 1591, 1601, 1602,
569
- 1603, 1605, 1614, 1615, 1616, 1617, 1619, 1621, 1624, 1627, 1631, 1633,
570
- 1634, 1636, 1637, 1640
558
+ 423, 441, 450, 461, 480, 499, 509, 519, 533, 534, 549, 564,
559
+ 566, 577, 588, 607, 626, 644, 662, 681, 700, 710, 721, 732,
560
+ 743, 758, 760, 774, 775, 790, 805, 807, 818, 828, 846, 865,
561
+ 884, 894, 905, 924, 943, 954, 973, 993, 1009, 1025, 1028, 1039,
562
+ 1050, 1069, 1088, 1107, 1118, 1137, 1152, 1167, 1178, 1198, 1216, 1218,
563
+ 1232, 1243, 1257, 1259, 1269, 1270, 1271, 1282, 1289, 1302, 1316, 1330,
564
+ 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1353, 1358, 1367, 1377, 1382,
565
+ 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1401, 1406, 1410,
566
+ 1420, 1425, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440,
567
+ 1444, 1449, 1451, 1452, 1453, 1458, 1459, 1460, 1462, 1463, 1464, 1465,
568
+ 1466, 1470, 1480, 1489, 1499, 1500, 1501, 1503, 1512, 1513, 1514, 1515,
569
+ 1516, 1517, 1519, 1522, 1526, 1528, 1529, 1531, 1532, 1535
571
570
  };
572
571
  }
573
572
 
@@ -619,101 +618,93 @@ private static char[] init__hpricot_scan_trans_keys_0()
619
618
  63, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97, 122,
620
619
  13, 32, 34, 39, 47, 60, 62, 63, 95, 9, 10, 11,
621
620
  12, 45, 58, 65, 90, 97, 122, 13, 32, 34, 47, 60,
622
- 62, 92, 9, 10, 11, 12, 13, 32, 34, 47, 60, 62,
623
- 92, 9, 10, 11, 12, 32, 34, 47, 62, 63, 92, 95,
624
- 9, 13, 45, 58, 65, 90, 97, 122, 34, 92, 34, 92,
625
- 32, 34, 47, 61, 62, 63, 92, 95, 9, 13, 45, 58,
626
- 65, 90, 97, 122, 32, 34, 47, 61, 62, 63, 92, 95,
627
- 9, 13, 45, 58, 65, 90, 97, 122, 34, 62, 92, 13,
628
- 32, 34, 39, 47, 60, 62, 92, 9, 10, 11, 12, 13,
629
- 32, 34, 39, 47, 60, 62, 92, 9, 10, 11, 12, 13,
630
- 32, 34, 39, 47, 60, 62, 63, 92, 95, 9, 10, 11,
621
+ 62, 9, 10, 11, 12, 13, 32, 34, 47, 60, 62, 9,
622
+ 10, 11, 12, 32, 34, 47, 62, 63, 95, 9, 13, 45,
623
+ 58, 65, 90, 97, 122, 34, 32, 34, 47, 61, 62, 63,
624
+ 95, 9, 13, 45, 58, 65, 90, 97, 122, 32, 34, 47,
625
+ 61, 62, 63, 95, 9, 13, 45, 58, 65, 90, 97, 122,
626
+ 34, 62, 13, 32, 34, 39, 47, 60, 62, 9, 10, 11,
627
+ 12, 13, 32, 34, 39, 47, 60, 62, 9, 10, 11, 12,
628
+ 13, 32, 34, 39, 47, 60, 62, 63, 95, 9, 10, 11,
631
629
  12, 45, 58, 65, 90, 97, 122, 13, 32, 34, 39, 47,
632
- 60, 62, 63, 92, 95, 9, 10, 11, 12, 45, 58, 65,
633
- 90, 97, 122, 13, 32, 34, 47, 60, 62, 63, 92, 95,
634
- 9, 10, 11, 12, 45, 58, 65, 90, 97, 122, 13, 32,
635
- 34, 47, 60, 62, 63, 92, 95, 9, 10, 11, 12, 45,
636
- 58, 65, 90, 97, 122, 13, 32, 34, 47, 60, 61, 62,
637
- 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97,
638
- 122, 13, 32, 34, 47, 60, 61, 62, 63, 92, 95, 9,
630
+ 60, 62, 63, 95, 9, 10, 11, 12, 45, 58, 65, 90,
631
+ 97, 122, 13, 32, 34, 47, 60, 62, 63, 95, 9, 10,
632
+ 11, 12, 45, 58, 65, 90, 97, 122, 13, 32, 34, 47,
633
+ 60, 62, 63, 95, 9, 10, 11, 12, 45, 58, 65, 90,
634
+ 97, 122, 13, 32, 34, 47, 60, 61, 62, 63, 95, 9,
639
635
  10, 11, 12, 45, 58, 65, 90, 97, 122, 13, 32, 34,
640
- 47, 60, 62, 92, 9, 10, 11, 12, 13, 32, 34, 47,
641
- 60, 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47,
642
- 60, 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47,
643
- 60, 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47,
644
- 60, 62, 92, 9, 10, 11, 12, 32, 34, 39, 47, 62,
645
- 63, 92, 95, 9, 13, 45, 58, 65, 90, 97, 122, 34,
646
- 39, 92, 32, 39, 47, 62, 63, 92, 95, 9, 13, 45,
647
- 58, 65, 90, 97, 122, 39, 92, 39, 92, 32, 39, 47,
648
- 61, 62, 63, 92, 95, 9, 13, 45, 58, 65, 90, 97,
649
- 122, 32, 39, 47, 61, 62, 63, 92, 95, 9, 13, 45,
650
- 58, 65, 90, 97, 122, 39, 62, 92, 13, 32, 34, 39,
651
- 47, 60, 62, 92, 9, 10, 11, 12, 13, 32, 39, 47,
652
- 60, 62, 92, 9, 10, 11, 12, 13, 32, 39, 47, 60,
653
- 62, 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90,
654
- 97, 122, 13, 32, 39, 47, 60, 61, 62, 63, 92, 95,
655
- 9, 10, 11, 12, 45, 58, 65, 90, 97, 122, 13, 32,
656
- 39, 47, 60, 61, 62, 63, 92, 95, 9, 10, 11, 12,
657
- 45, 58, 65, 90, 97, 122, 13, 32, 39, 47, 60, 62,
658
- 92, 9, 10, 11, 12, 13, 32, 39, 47, 60, 62, 92,
659
- 9, 10, 11, 12, 13, 32, 34, 39, 47, 60, 62, 92,
660
- 9, 10, 11, 12, 13, 32, 34, 39, 47, 60, 62, 63,
661
- 92, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97, 122,
662
- 13, 32, 34, 39, 47, 60, 62, 63, 92, 95, 9, 10,
636
+ 47, 60, 61, 62, 63, 95, 9, 10, 11, 12, 45, 58,
637
+ 65, 90, 97, 122, 13, 32, 34, 47, 60, 62, 9, 10,
638
+ 11, 12, 13, 32, 34, 39, 47, 60, 62, 9, 10, 11,
639
+ 12, 13, 32, 34, 39, 47, 60, 62, 9, 10, 11, 12,
640
+ 13, 32, 34, 39, 47, 60, 62, 9, 10, 11, 12, 32,
641
+ 34, 39, 47, 62, 63, 95, 9, 13, 45, 58, 65, 90,
642
+ 97, 122, 34, 39, 32, 39, 47, 62, 63, 95, 9, 13,
643
+ 45, 58, 65, 90, 97, 122, 39, 32, 39, 47, 61, 62,
644
+ 63, 95, 9, 13, 45, 58, 65, 90, 97, 122, 32, 39,
645
+ 47, 61, 62, 63, 95, 9, 13, 45, 58, 65, 90, 97,
646
+ 122, 39, 62, 13, 32, 34, 39, 47, 60, 62, 9, 10,
647
+ 11, 12, 13, 32, 39, 47, 60, 62, 9, 10, 11, 12,
648
+ 13, 32, 39, 47, 60, 62, 63, 95, 9, 10, 11, 12,
649
+ 45, 58, 65, 90, 97, 122, 13, 32, 39, 47, 60, 61,
650
+ 62, 63, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97,
651
+ 122, 13, 32, 39, 47, 60, 61, 62, 63, 95, 9, 10,
652
+ 11, 12, 45, 58, 65, 90, 97, 122, 13, 32, 39, 47,
653
+ 60, 62, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
654
+ 62, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60, 62,
655
+ 63, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97, 122,
656
+ 13, 32, 34, 39, 47, 60, 62, 63, 95, 9, 10, 11,
657
+ 12, 45, 58, 65, 90, 97, 122, 13, 32, 34, 39, 47,
658
+ 60, 62, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
659
+ 62, 63, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97,
660
+ 122, 13, 32, 34, 39, 47, 60, 61, 62, 63, 95, 9,
661
+ 10, 11, 12, 45, 58, 65, 90, 97, 122, 32, 34, 39,
662
+ 47, 61, 62, 63, 95, 9, 13, 45, 58, 65, 90, 97,
663
+ 122, 32, 34, 39, 47, 61, 62, 63, 95, 9, 13, 45,
664
+ 58, 65, 90, 97, 122, 34, 39, 62, 13, 32, 34, 39,
665
+ 47, 60, 62, 9, 10, 11, 12, 13, 32, 34, 39, 47,
666
+ 60, 62, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
667
+ 62, 63, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97,
668
+ 122, 13, 32, 34, 39, 47, 60, 62, 63, 95, 9, 10,
663
669
  11, 12, 45, 58, 65, 90, 97, 122, 13, 32, 34, 39,
664
- 47, 60, 62, 92, 9, 10, 11, 12, 13, 32, 34, 39,
665
- 47, 60, 62, 63, 92, 95, 9, 10, 11, 12, 45, 58,
666
- 65, 90, 97, 122, 13, 32, 34, 39, 47, 60, 61, 62,
667
- 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90, 97,
668
- 122, 32, 34, 39, 47, 61, 62, 63, 92, 95, 9, 13,
669
- 45, 58, 65, 90, 97, 122, 32, 34, 39, 47, 61, 62,
670
- 63, 92, 95, 9, 13, 45, 58, 65, 90, 97, 122, 34,
671
- 39, 62, 92, 34, 39, 92, 13, 32, 34, 39, 47, 60,
672
- 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
673
- 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
674
- 62, 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90,
675
- 97, 122, 13, 32, 34, 39, 47, 60, 62, 63, 92, 95,
670
+ 47, 60, 62, 63, 95, 9, 10, 11, 12, 45, 58, 65,
671
+ 90, 97, 122, 13, 32, 34, 39, 47, 60, 62, 9, 10,
672
+ 11, 12, 13, 32, 34, 39, 47, 60, 62, 63, 95, 9,
673
+ 10, 11, 12, 45, 58, 65, 90, 97, 122, 32, 34, 39,
674
+ 47, 62, 63, 95, 9, 13, 45, 58, 65, 90, 97, 122,
675
+ 32, 34, 39, 47, 62, 63, 95, 9, 13, 45, 58, 65,
676
+ 90, 97, 122, 13, 32, 34, 39, 47, 60, 62, 9, 10,
677
+ 11, 12, 13, 32, 34, 39, 47, 60, 61, 62, 63, 95,
676
678
  9, 10, 11, 12, 45, 58, 65, 90, 97, 122, 13, 32,
677
- 34, 39, 47, 60, 62, 63, 92, 95, 9, 10, 11, 12,
678
- 45, 58, 65, 90, 97, 122, 13, 32, 34, 39, 47, 60,
679
- 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
680
- 62, 92, 9, 10, 11, 12, 13, 32, 34, 39, 47, 60,
681
- 62, 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90,
682
- 97, 122, 32, 34, 39, 47, 62, 63, 92, 95, 9, 13,
683
- 45, 58, 65, 90, 97, 122, 32, 34, 39, 47, 62, 63,
684
- 92, 95, 9, 13, 45, 58, 65, 90, 97, 122, 13, 32,
685
- 34, 39, 47, 60, 62, 92, 9, 10, 11, 12, 13, 32,
686
- 34, 39, 47, 60, 61, 62, 63, 92, 95, 9, 10, 11,
687
- 12, 45, 58, 65, 90, 97, 122, 13, 32, 39, 47, 60,
688
- 62, 63, 92, 95, 9, 10, 11, 12, 45, 58, 65, 90,
689
- 97, 122, 34, 39, 92, 32, 39, 47, 62, 63, 92, 95,
679
+ 39, 47, 60, 62, 63, 95, 9, 10, 11, 12, 45, 58,
680
+ 65, 90, 97, 122, 34, 39, 32, 39, 47, 62, 63, 95,
690
681
  9, 13, 45, 58, 65, 90, 97, 122, 13, 32, 34, 39,
691
- 47, 60, 62, 92, 9, 10, 11, 12, 32, 34, 47, 62,
692
- 63, 92, 95, 9, 13, 45, 58, 65, 90, 97, 122, 34,
693
- 39, 92, 13, 32, 39, 47, 60, 62, 92, 9, 10, 11,
694
- 12, 34, 92, 39, 92, 13, 32, 34, 39, 47, 60, 62,
695
- 9, 10, 11, 12, 58, 95, 120, 65, 90, 97, 122, 32,
696
- 63, 95, 9, 13, 45, 46, 48, 58, 65, 90, 97, 122,
697
- 32, 63, 95, 109, 9, 13, 45, 46, 48, 58, 65, 90,
698
- 97, 122, 32, 63, 95, 108, 9, 13, 45, 46, 48, 58,
699
- 65, 90, 97, 122, 32, 63, 95, 9, 13, 45, 46, 48,
700
- 58, 65, 90, 97, 122, 101, 114, 115, 105, 111, 110, 32,
701
- 61, 9, 13, 32, 34, 39, 9, 13, 95, 45, 46, 48,
702
- 58, 65, 90, 97, 122, 34, 95, 45, 46, 48, 58, 65,
703
- 90, 97, 122, 32, 62, 63, 9, 13, 32, 62, 63, 101,
704
- 115, 9, 13, 62, 110, 99, 111, 100, 105, 110, 103, 32,
705
- 61, 9, 13, 32, 34, 39, 9, 13, 65, 90, 97, 122,
706
- 34, 95, 45, 46, 48, 57, 65, 90, 97, 122, 32, 62,
707
- 63, 9, 13, 32, 62, 63, 115, 9, 13, 116, 97, 110,
708
- 100, 97, 108, 111, 110, 101, 32, 61, 9, 13, 32, 34,
709
- 39, 9, 13, 110, 121, 111, 34, 32, 62, 63, 9, 13,
710
- 101, 115, 110, 121, 111, 39, 101, 115, 65, 90, 97, 122,
711
- 39, 95, 45, 46, 48, 57, 65, 90, 97, 122, 95, 45,
712
- 46, 48, 58, 65, 90, 97, 122, 39, 95, 45, 46, 48,
713
- 58, 65, 90, 97, 122, 62, 62, 10, 60, 33, 47, 58,
714
- 63, 95, 65, 90, 97, 122, 39, 93, 34, 34, 92, 39,
715
- 92, 34, 39, 92, 32, 9, 13, 32, 118, 9, 13, 10,
716
- 45, 45, 10, 93, 93, 10, 62, 63, 62, 0
682
+ 47, 60, 62, 9, 10, 11, 12, 32, 34, 47, 62, 63,
683
+ 95, 9, 13, 45, 58, 65, 90, 97, 122, 34, 39, 13,
684
+ 32, 39, 47, 60, 62, 9, 10, 11, 12, 34, 39, 13,
685
+ 32, 34, 39, 47, 60, 62, 9, 10, 11, 12, 58, 95,
686
+ 120, 65, 90, 97, 122, 32, 63, 95, 9, 13, 45, 46,
687
+ 48, 58, 65, 90, 97, 122, 32, 63, 95, 109, 9, 13,
688
+ 45, 46, 48, 58, 65, 90, 97, 122, 32, 63, 95, 108,
689
+ 9, 13, 45, 46, 48, 58, 65, 90, 97, 122, 32, 63,
690
+ 95, 9, 13, 45, 46, 48, 58, 65, 90, 97, 122, 101,
691
+ 114, 115, 105, 111, 110, 32, 61, 9, 13, 32, 34, 39,
692
+ 9, 13, 95, 45, 46, 48, 58, 65, 90, 97, 122, 34,
693
+ 95, 45, 46, 48, 58, 65, 90, 97, 122, 32, 62, 63,
694
+ 9, 13, 32, 62, 63, 101, 115, 9, 13, 62, 110, 99,
695
+ 111, 100, 105, 110, 103, 32, 61, 9, 13, 32, 34, 39,
696
+ 9, 13, 65, 90, 97, 122, 34, 95, 45, 46, 48, 57,
697
+ 65, 90, 97, 122, 32, 62, 63, 9, 13, 32, 62, 63,
698
+ 115, 9, 13, 116, 97, 110, 100, 97, 108, 111, 110, 101,
699
+ 32, 61, 9, 13, 32, 34, 39, 9, 13, 110, 121, 111,
700
+ 34, 32, 62, 63, 9, 13, 101, 115, 110, 121, 111, 39,
701
+ 101, 115, 65, 90, 97, 122, 39, 95, 45, 46, 48, 57,
702
+ 65, 90, 97, 122, 95, 45, 46, 48, 58, 65, 90, 97,
703
+ 122, 39, 95, 45, 46, 48, 58, 65, 90, 97, 122, 62,
704
+ 62, 10, 60, 33, 47, 58, 63, 95, 65, 90, 97, 122,
705
+ 39, 93, 34, 34, 39, 34, 39, 32, 9, 13, 32, 118,
706
+ 9, 13, 10, 45, 45, 10, 93, 93, 10, 62, 63, 62,
707
+ 0
717
708
  };
718
709
  }
719
710
 
@@ -729,19 +720,18 @@ private static byte[] init__hpricot_scan_single_lengths_0()
729
720
  5, 2, 2, 4, 2, 3, 3, 4, 2, 3, 4, 4,
730
721
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
731
722
  4, 2, 5, 5, 6, 6, 1, 7, 5, 5, 7, 8,
732
- 8, 5, 7, 9, 9, 7, 7, 7, 2, 2, 8, 8,
733
- 3, 8, 8, 10, 10, 9, 9, 10, 10, 7, 7, 8,
734
- 8, 8, 8, 3, 7, 2, 2, 8, 8, 3, 8, 7,
735
- 9, 10, 10, 7, 7, 8, 10, 10, 8, 10, 11, 9,
736
- 9, 4, 3, 8, 8, 10, 10, 10, 8, 8, 10, 8,
737
- 8, 8, 11, 9, 3, 7, 8, 7, 3, 7, 2, 2,
738
- 7, 3, 3, 4, 4, 3, 1, 1, 1, 1, 1, 1,
739
- 2, 3, 1, 2, 3, 5, 1, 1, 1, 1, 1, 1,
740
- 1, 1, 2, 3, 0, 2, 3, 4, 1, 1, 1, 1,
741
- 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 3, 1,
742
- 1, 2, 1, 1, 1, 1, 0, 2, 1, 2, 1, 1,
743
- 2, 5, 1, 1, 1, 2, 2, 3, 1, 2, 2, 1,
744
- 2, 1, 3, 1
723
+ 8, 5, 7, 9, 9, 6, 6, 6, 1, 7, 7, 2,
724
+ 7, 7, 9, 9, 8, 8, 9, 9, 6, 7, 7, 7,
725
+ 7, 2, 6, 1, 7, 7, 2, 7, 6, 8, 9, 9,
726
+ 6, 7, 9, 9, 7, 9, 10, 8, 8, 3, 7, 7,
727
+ 9, 9, 9, 7, 9, 7, 7, 7, 10, 8, 2, 6,
728
+ 7, 6, 2, 6, 1, 1, 7, 3, 3, 4, 4, 3,
729
+ 1, 1, 1, 1, 1, 1, 2, 3, 1, 2, 3, 5,
730
+ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 0, 2,
731
+ 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
732
+ 3, 2, 1, 1, 3, 1, 1, 2, 1, 1, 1, 1,
733
+ 0, 2, 1, 2, 1, 1, 2, 5, 1, 1, 1, 1,
734
+ 1, 2, 1, 2, 2, 1, 2, 1, 3, 1
745
735
  };
746
736
  }
747
737
 
@@ -757,19 +747,18 @@ private static byte[] init__hpricot_scan_range_lengths_0()
757
747
  1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 5,
758
748
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2,
759
749
  5, 1, 4, 4, 4, 4, 0, 2, 2, 4, 5, 5,
760
- 5, 2, 2, 5, 5, 2, 2, 4, 0, 0, 4, 4,
761
- 0, 2, 2, 5, 5, 5, 5, 5, 5, 2, 2, 2,
762
- 2, 2, 4, 0, 4, 0, 0, 4, 4, 0, 2, 2,
763
- 5, 5, 5, 2, 2, 2, 5, 5, 2, 5, 5, 4,
764
- 4, 0, 0, 2, 2, 5, 5, 5, 2, 2, 5, 4,
765
- 4, 2, 5, 5, 0, 4, 2, 4, 0, 2, 0, 0,
766
- 2, 2, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0,
767
- 1, 1, 4, 4, 1, 1, 0, 0, 0, 0, 0, 0,
768
- 0, 0, 1, 1, 2, 4, 1, 1, 0, 0, 0, 0,
769
- 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0,
770
- 0, 0, 0, 0, 0, 0, 2, 4, 4, 4, 0, 0,
771
- 0, 2, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
772
- 0, 0, 0, 0
750
+ 5, 2, 2, 5, 5, 2, 2, 4, 0, 4, 4, 0,
751
+ 2, 2, 5, 5, 5, 5, 5, 5, 2, 2, 2, 2,
752
+ 4, 0, 4, 0, 4, 4, 0, 2, 2, 5, 5, 5,
753
+ 2, 2, 5, 5, 2, 5, 5, 4, 4, 0, 2, 2,
754
+ 5, 5, 5, 2, 5, 4, 4, 2, 5, 5, 0, 4,
755
+ 2, 4, 0, 2, 0, 0, 2, 2, 5, 5, 5, 5,
756
+ 0, 0, 0, 0, 0, 0, 1, 1, 4, 4, 1, 1,
757
+ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 4,
758
+ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
759
+ 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
760
+ 2, 4, 4, 4, 0, 0, 0, 2, 0, 0, 0, 0,
761
+ 0, 0, 1, 1, 0, 0, 0, 0, 0, 0
773
762
  };
774
763
  }
775
764
 
@@ -785,19 +774,18 @@ private static short[] init__hpricot_scan_index_offsets_0()
785
774
  185, 192, 195, 198, 204, 207, 212, 217, 223, 226, 231, 237,
786
775
  247, 249, 251, 253, 255, 257, 259, 261, 263, 265, 267, 269,
787
776
  274, 284, 288, 298, 308, 319, 330, 332, 342, 350, 360, 373,
788
- 387, 401, 409, 419, 434, 449, 459, 469, 481, 484, 487, 500,
789
- 513, 517, 528, 539, 555, 571, 586, 601, 617, 633, 643, 653,
790
- 664, 675, 686, 699, 703, 715, 718, 721, 734, 747, 751, 762,
791
- 772, 787, 803, 819, 829, 839, 850, 866, 882, 893, 909, 926,
792
- 940, 954, 959, 963, 974, 985, 1001, 1017, 1033, 1044, 1055, 1071,
793
- 1084, 1097, 1108, 1125, 1140, 1144, 1156, 1167, 1179, 1183, 1193, 1196,
794
- 1199, 1209, 1215, 1224, 1234, 1244, 1253, 1255, 1257, 1259, 1261, 1263,
795
- 1265, 1269, 1274, 1280, 1287, 1292, 1299, 1301, 1303, 1305, 1307, 1309,
796
- 1311, 1313, 1315, 1319, 1324, 1327, 1334, 1339, 1345, 1347, 1349, 1351,
797
- 1353, 1355, 1357, 1359, 1361, 1363, 1367, 1372, 1375, 1377, 1379, 1384,
798
- 1386, 1388, 1391, 1393, 1395, 1397, 1399, 1402, 1409, 1415, 1422, 1424,
799
- 1426, 1429, 1437, 1439, 1441, 1443, 1446, 1449, 1453, 1456, 1460, 1463,
800
- 1465, 1468, 1470, 1474
777
+ 387, 401, 409, 419, 434, 449, 458, 467, 478, 480, 492, 504,
778
+ 507, 517, 527, 542, 557, 571, 585, 600, 615, 624, 634, 644,
779
+ 654, 666, 669, 680, 682, 694, 706, 709, 719, 728, 742, 757,
780
+ 772, 781, 791, 806, 821, 831, 846, 862, 875, 888, 892, 902,
781
+ 912, 927, 942, 957, 967, 982, 994, 1006, 1016, 1032, 1046, 1049,
782
+ 1060, 1070, 1081, 1084, 1093, 1095, 1097, 1107, 1113, 1122, 1132, 1142,
783
+ 1151, 1153, 1155, 1157, 1159, 1161, 1163, 1167, 1172, 1178, 1185, 1190,
784
+ 1197, 1199, 1201, 1203, 1205, 1207, 1209, 1211, 1213, 1217, 1222, 1225,
785
+ 1232, 1237, 1243, 1245, 1247, 1249, 1251, 1253, 1255, 1257, 1259, 1261,
786
+ 1265, 1270, 1273, 1275, 1277, 1282, 1284, 1286, 1289, 1291, 1293, 1295,
787
+ 1297, 1300, 1307, 1313, 1320, 1322, 1324, 1327, 1335, 1337, 1339, 1341,
788
+ 1343, 1345, 1348, 1351, 1355, 1358, 1360, 1363, 1365, 1369
801
789
  };
802
790
  }
803
791
 
@@ -844,93 +832,84 @@ private static short[] init__hpricot_scan_indicies_0()
844
832
  125, 143, 143, 145, 146, 147, 39, 129, 143, 144, 119, 148,
845
833
  148, 122, 123, 124, 39, 117, 150, 150, 148, 149, 150, 150,
846
834
  150, 119, 143, 143, 145, 146, 151, 39, 133, 150, 150, 143,
847
- 144, 150, 150, 150, 119, 153, 153, 155, 156, 157, 158, 159,
848
- 153, 154, 152, 161, 161, 163, 164, 165, 166, 167, 161, 162,
849
- 160, 168, 169, 171, 172, 170, 173, 170, 168, 170, 170, 170,
850
- 165, 169, 173, 165, 174, 173, 165, 175, 169, 177, 178, 179,
851
- 176, 173, 176, 175, 176, 176, 176, 165, 180, 169, 171, 181,
852
- 172, 170, 173, 170, 180, 170, 170, 170, 165, 169, 182, 173,
853
- 165, 183, 183, 185, 186, 187, 165, 172, 159, 183, 184, 152,
854
- 188, 188, 185, 186, 187, 165, 172, 159, 188, 189, 152, 188,
855
- 188, 185, 186, 187, 165, 172, 190, 159, 190, 188, 189, 190,
856
- 190, 190, 152, 191, 191, 193, 194, 195, 165, 196, 190, 159,
857
- 190, 191, 192, 190, 190, 190, 152, 153, 153, 155, 195, 157,
858
- 197, 190, 159, 190, 153, 154, 190, 190, 190, 152, 161, 161,
859
- 163, 199, 165, 196, 198, 167, 198, 161, 162, 198, 198, 198,
860
- 160, 200, 200, 163, 203, 165, 204, 205, 202, 167, 202, 200,
861
- 201, 202, 202, 202, 160, 206, 206, 163, 199, 165, 208, 196,
862
- 198, 167, 198, 206, 207, 198, 198, 198, 160, 161, 161, 163,
863
- 164, 165, 166, 167, 161, 162, 160, 161, 161, 209, 164, 165,
864
- 166, 167, 161, 162, 160, 191, 191, 193, 194, 156, 165, 166,
865
- 159, 191, 192, 152, 211, 211, 213, 214, 215, 216, 217, 218,
866
- 211, 212, 210, 220, 220, 222, 209, 223, 224, 225, 226, 220,
867
- 221, 219, 227, 228, 174, 230, 231, 229, 232, 229, 227, 229,
868
- 229, 229, 224, 228, 174, 232, 224, 234, 169, 236, 237, 235,
869
- 238, 235, 234, 235, 235, 235, 233, 169, 238, 233, 228, 238,
870
- 233, 239, 169, 241, 242, 243, 240, 238, 240, 239, 240, 240,
871
- 240, 233, 244, 169, 236, 245, 237, 235, 238, 235, 244, 235,
872
- 235, 235, 233, 169, 246, 238, 233, 248, 248, 250, 251, 252,
873
- 233, 237, 253, 248, 249, 247, 255, 255, 163, 257, 233, 258,
874
- 259, 255, 256, 254, 255, 255, 163, 261, 233, 262, 260, 259,
875
- 260, 255, 256, 260, 260, 260, 254, 263, 263, 163, 266, 233,
876
- 267, 268, 265, 259, 265, 263, 264, 265, 265, 265, 254, 269,
877
- 269, 163, 261, 233, 271, 262, 260, 259, 260, 269, 270, 260,
878
- 260, 260, 254, 255, 255, 163, 257, 233, 258, 259, 255, 256,
879
- 254, 255, 255, 222, 257, 233, 258, 259, 255, 256, 254, 272,
880
- 272, 274, 275, 276, 233, 258, 253, 272, 273, 247, 277, 277,
881
- 250, 251, 252, 233, 237, 279, 253, 279, 277, 278, 279, 279,
882
- 279, 247, 272, 272, 274, 275, 280, 233, 262, 279, 253, 279,
883
- 272, 273, 279, 279, 279, 247, 211, 211, 281, 214, 215, 216,
884
- 217, 218, 211, 212, 210, 220, 220, 222, 209, 283, 224, 284,
885
- 282, 226, 282, 220, 221, 282, 282, 282, 219, 285, 285, 222,
886
- 209, 288, 224, 289, 290, 287, 226, 287, 285, 286, 287, 287,
887
- 287, 219, 291, 228, 174, 230, 292, 231, 229, 232, 229, 291,
888
- 229, 229, 229, 224, 293, 228, 174, 295, 296, 297, 294, 232,
889
- 294, 293, 294, 294, 294, 224, 228, 174, 298, 232, 224, 299,
890
- 299, 232, 224, 300, 300, 302, 303, 304, 224, 231, 218, 300,
891
- 301, 210, 305, 305, 302, 303, 304, 224, 231, 218, 305, 306,
892
- 210, 305, 305, 302, 303, 304, 224, 231, 307, 218, 307, 305,
893
- 306, 307, 307, 307, 210, 308, 308, 310, 311, 312, 224, 284,
894
- 307, 218, 307, 308, 309, 307, 307, 307, 210, 211, 211, 281,
895
- 214, 312, 216, 313, 307, 218, 307, 211, 212, 307, 307, 307,
896
- 210, 220, 220, 222, 209, 223, 224, 225, 226, 220, 221, 219,
897
- 220, 220, 314, 314, 223, 224, 225, 226, 220, 221, 219, 211,
898
- 211, 213, 214, 312, 216, 313, 307, 218, 307, 211, 212, 307,
899
- 307, 307, 210, 315, 316, 317, 319, 320, 318, 321, 318, 315,
900
- 318, 318, 318, 216, 315, 322, 317, 319, 320, 318, 321, 318,
901
- 315, 318, 318, 318, 216, 308, 308, 310, 311, 215, 224, 225,
902
- 218, 308, 309, 210, 323, 323, 222, 209, 283, 224, 325, 284,
903
- 282, 226, 282, 323, 324, 282, 282, 282, 219, 326, 326, 155,
904
- 280, 328, 329, 279, 253, 279, 326, 327, 279, 279, 279, 247,
905
- 316, 317, 321, 216, 330, 331, 333, 334, 332, 335, 332, 330,
906
- 332, 332, 332, 328, 277, 277, 250, 251, 252, 233, 237, 253,
907
- 277, 278, 247, 336, 331, 338, 339, 337, 340, 337, 336, 337,
908
- 337, 337, 157, 322, 317, 321, 216, 326, 326, 155, 276, 328,
909
- 341, 253, 326, 327, 247, 331, 340, 157, 331, 335, 328, 148,
910
- 148, 122, 123, 124, 39, 117, 148, 149, 119, 342, 342, 343,
911
- 342, 342, 0, 344, 345, 345, 344, 345, 345, 345, 345, 0,
912
- 344, 345, 345, 346, 344, 345, 345, 345, 345, 0, 344, 345,
913
- 345, 347, 344, 345, 345, 345, 345, 0, 348, 345, 345, 348,
914
- 345, 345, 345, 345, 0, 350, 349, 351, 349, 352, 349, 353,
915
- 349, 354, 349, 355, 349, 355, 356, 355, 349, 356, 357, 358,
916
- 356, 349, 359, 359, 359, 359, 359, 349, 360, 361, 361, 361,
917
- 361, 361, 349, 362, 363, 364, 362, 349, 362, 363, 364, 365,
918
- 366, 362, 349, 363, 349, 367, 349, 368, 349, 369, 349, 370,
919
- 349, 371, 349, 372, 349, 373, 349, 373, 374, 373, 349, 374,
920
- 375, 376, 374, 349, 377, 377, 349, 378, 379, 379, 379, 379,
921
- 379, 349, 380, 363, 364, 380, 349, 380, 363, 364, 366, 380,
922
- 349, 381, 349, 382, 349, 383, 349, 384, 349, 385, 349, 386,
923
- 349, 387, 349, 388, 349, 389, 349, 389, 390, 389, 349, 390,
924
- 391, 392, 390, 349, 393, 394, 349, 395, 349, 396, 349, 397,
925
- 363, 364, 397, 349, 398, 349, 395, 349, 399, 400, 349, 401,
926
- 349, 396, 349, 402, 349, 401, 349, 403, 403, 349, 378, 404,
927
- 404, 404, 404, 404, 349, 405, 405, 405, 405, 405, 349, 360,
928
- 406, 406, 406, 406, 406, 349, 408, 407, 410, 409, 412, 413,
929
- 411, 415, 416, 417, 418, 417, 417, 417, 414, 41, 45, 43,
930
- 21, 41, 40, 169, 173, 165, 169, 238, 233, 228, 174, 232,
931
- 224, 344, 344, 420, 348, 421, 348, 420, 423, 424, 422, 426,
932
- 425, 428, 429, 427, 431, 430, 433, 434, 435, 432, 434, 436,
933
- 0
835
+ 144, 150, 150, 150, 119, 153, 153, 155, 156, 157, 158, 153,
836
+ 154, 152, 160, 160, 162, 163, 164, 165, 160, 161, 159, 166,
837
+ 167, 169, 170, 168, 168, 166, 168, 168, 168, 164, 167, 164,
838
+ 171, 167, 173, 174, 175, 172, 172, 171, 172, 172, 172, 164,
839
+ 176, 167, 169, 177, 170, 168, 168, 176, 168, 168, 168, 164,
840
+ 167, 178, 164, 179, 179, 181, 182, 183, 164, 170, 179, 180,
841
+ 152, 184, 184, 181, 182, 183, 164, 170, 184, 185, 152, 184,
842
+ 184, 181, 182, 183, 164, 170, 186, 186, 184, 185, 186, 186,
843
+ 186, 152, 187, 187, 189, 190, 191, 164, 192, 186, 186, 187,
844
+ 188, 186, 186, 186, 152, 153, 153, 155, 191, 157, 193, 186,
845
+ 186, 153, 154, 186, 186, 186, 152, 160, 160, 162, 195, 164,
846
+ 192, 194, 194, 160, 161, 194, 194, 194, 159, 196, 196, 162,
847
+ 199, 164, 200, 201, 198, 198, 196, 197, 198, 198, 198, 159,
848
+ 202, 202, 162, 195, 164, 204, 192, 194, 194, 202, 203, 194,
849
+ 194, 194, 159, 160, 160, 162, 163, 164, 165, 160, 161, 159,
850
+ 187, 187, 189, 190, 156, 164, 165, 187, 188, 152, 206, 206,
851
+ 208, 209, 210, 211, 212, 206, 207, 205, 214, 214, 216, 217,
852
+ 218, 219, 220, 214, 215, 213, 221, 222, 223, 225, 226, 224,
853
+ 224, 221, 224, 224, 224, 219, 222, 223, 219, 228, 167, 230,
854
+ 231, 229, 229, 228, 229, 229, 229, 227, 167, 227, 232, 167,
855
+ 234, 235, 236, 233, 233, 232, 233, 233, 233, 227, 237, 167,
856
+ 230, 238, 231, 229, 229, 237, 229, 229, 229, 227, 167, 239,
857
+ 227, 241, 241, 243, 244, 245, 227, 231, 241, 242, 240, 247,
858
+ 247, 162, 249, 227, 250, 247, 248, 246, 247, 247, 162, 252,
859
+ 227, 253, 251, 251, 247, 248, 251, 251, 251, 246, 254, 254,
860
+ 162, 257, 227, 258, 259, 256, 256, 254, 255, 256, 256, 256,
861
+ 246, 260, 260, 162, 252, 227, 262, 253, 251, 251, 260, 261,
862
+ 251, 251, 251, 246, 247, 247, 162, 249, 227, 250, 247, 248,
863
+ 246, 263, 263, 265, 266, 267, 227, 250, 263, 264, 240, 268,
864
+ 268, 243, 244, 245, 227, 231, 270, 270, 268, 269, 270, 270,
865
+ 270, 240, 263, 263, 265, 266, 271, 227, 253, 270, 270, 263,
866
+ 264, 270, 270, 270, 240, 206, 206, 272, 209, 210, 211, 212,
867
+ 206, 207, 205, 214, 214, 216, 217, 274, 219, 275, 273, 273,
868
+ 214, 215, 273, 273, 273, 213, 276, 276, 216, 217, 279, 219,
869
+ 280, 281, 278, 278, 276, 277, 278, 278, 278, 213, 282, 222,
870
+ 223, 225, 283, 226, 224, 224, 282, 224, 224, 224, 219, 284,
871
+ 222, 223, 286, 287, 288, 285, 285, 284, 285, 285, 285, 219,
872
+ 222, 223, 289, 219, 290, 290, 292, 293, 294, 219, 226, 290,
873
+ 291, 205, 295, 295, 292, 293, 294, 219, 226, 295, 296, 205,
874
+ 295, 295, 292, 293, 294, 219, 226, 297, 297, 295, 296, 297,
875
+ 297, 297, 205, 298, 298, 300, 301, 302, 219, 275, 297, 297,
876
+ 298, 299, 297, 297, 297, 205, 206, 206, 272, 209, 302, 211,
877
+ 303, 297, 297, 206, 207, 297, 297, 297, 205, 214, 214, 216,
878
+ 217, 218, 219, 220, 214, 215, 213, 206, 206, 208, 209, 302,
879
+ 211, 303, 297, 297, 206, 207, 297, 297, 297, 205, 304, 305,
880
+ 306, 308, 309, 307, 307, 304, 307, 307, 307, 211, 304, 310,
881
+ 306, 308, 309, 307, 307, 304, 307, 307, 307, 211, 298, 298,
882
+ 300, 301, 210, 219, 220, 298, 299, 205, 311, 311, 216, 217,
883
+ 274, 219, 313, 275, 273, 273, 311, 312, 273, 273, 273, 213,
884
+ 314, 314, 155, 271, 316, 317, 270, 270, 314, 315, 270, 270,
885
+ 270, 240, 305, 306, 211, 318, 319, 321, 322, 320, 320, 318,
886
+ 320, 320, 320, 316, 268, 268, 243, 244, 245, 227, 231, 268,
887
+ 269, 240, 323, 319, 325, 326, 324, 324, 323, 324, 324, 324,
888
+ 157, 310, 306, 211, 314, 314, 155, 267, 316, 327, 314, 315,
889
+ 240, 319, 157, 319, 316, 148, 148, 122, 123, 124, 39, 117,
890
+ 148, 149, 119, 328, 328, 329, 328, 328, 0, 330, 331, 331,
891
+ 330, 331, 331, 331, 331, 0, 330, 331, 331, 332, 330, 331,
892
+ 331, 331, 331, 0, 330, 331, 331, 333, 330, 331, 331, 331,
893
+ 331, 0, 334, 331, 331, 334, 331, 331, 331, 331, 0, 336,
894
+ 335, 337, 335, 338, 335, 339, 335, 340, 335, 341, 335, 341,
895
+ 342, 341, 335, 342, 343, 344, 342, 335, 345, 345, 345, 345,
896
+ 345, 335, 346, 347, 347, 347, 347, 347, 335, 348, 349, 350,
897
+ 348, 335, 348, 349, 350, 351, 352, 348, 335, 349, 335, 353,
898
+ 335, 354, 335, 355, 335, 356, 335, 357, 335, 358, 335, 359,
899
+ 335, 359, 360, 359, 335, 360, 361, 362, 360, 335, 363, 363,
900
+ 335, 364, 365, 365, 365, 365, 365, 335, 366, 349, 350, 366,
901
+ 335, 366, 349, 350, 352, 366, 335, 367, 335, 368, 335, 369,
902
+ 335, 370, 335, 371, 335, 372, 335, 373, 335, 374, 335, 375,
903
+ 335, 375, 376, 375, 335, 376, 377, 378, 376, 335, 379, 380,
904
+ 335, 381, 335, 382, 335, 383, 349, 350, 383, 335, 384, 335,
905
+ 381, 335, 385, 386, 335, 387, 335, 382, 335, 388, 335, 387,
906
+ 335, 389, 389, 335, 364, 390, 390, 390, 390, 390, 335, 391,
907
+ 391, 391, 391, 391, 335, 346, 392, 392, 392, 392, 392, 335,
908
+ 394, 393, 396, 395, 398, 399, 397, 401, 402, 403, 404, 403,
909
+ 403, 403, 400, 41, 45, 43, 21, 41, 40, 167, 164, 167,
910
+ 227, 222, 223, 219, 330, 330, 406, 334, 407, 334, 406, 409,
911
+ 410, 408, 412, 411, 414, 415, 413, 417, 416, 419, 420, 421,
912
+ 418, 420, 422, 0
934
913
  };
935
914
  }
936
915
 
@@ -940,43 +919,42 @@ private static final short _hpricot_scan_indicies[] = init__hpricot_scan_indicie
940
919
  private static short[] init__hpricot_scan_trans_targs_0()
941
920
  {
942
921
  return new short [] {
943
- 204, 1, 2, 53, 204, 3, 4, 5, 6, 7, 8, 9,
944
- 10, 11, 10, 204, 26, 11, 204, 12, 48, 26, 13, 14,
922
+ 198, 1, 2, 53, 198, 3, 4, 5, 6, 7, 8, 9,
923
+ 10, 11, 10, 198, 26, 11, 198, 12, 48, 26, 13, 14,
945
924
  15, 16, 17, 18, 19, 30, 20, 21, 20, 21, 22, 23,
946
- 28, 24, 25, 204, 24, 25, 25, 27, 29, 29, 31, 32,
947
- 31, 32, 33, 34, 35, 36, 47, 32, 206, 40, 35, 36,
948
- 47, 37, 34, 206, 40, 46, 38, 39, 43, 38, 39, 43,
949
- 39, 41, 42, 41, 207, 43, 208, 44, 45, 39, 32, 49,
950
- 50, 51, 52, 21, 54, 55, 56, 57, 58, 204, 60, 61,
951
- 60, 204, 61, 204, 63, 62, 66, 204, 63, 64, 66, 204,
952
- 65, 64, 66, 67, 204, 65, 64, 66, 67, 204, 204, 68,
953
- 144, 74, 142, 143, 73, 68, 69, 70, 73, 204, 69, 71,
954
- 73, 204, 65, 72, 71, 73, 74, 204, 65, 72, 74, 75,
955
- 76, 77, 141, 73, 75, 76, 71, 73, 78, 79, 90, 70,
956
- 93, 80, 209, 94, 78, 79, 90, 70, 93, 80, 209, 94,
957
- 79, 69, 82, 84, 209, 81, 79, 83, 82, 84, 85, 209,
958
- 83, 85, 209, 86, 95, 139, 140, 93, 87, 88, 91, 87,
959
- 88, 89, 96, 93, 209, 209, 91, 93, 83, 92, 91, 93,
960
- 95, 209, 83, 92, 95, 90, 97, 98, 117, 108, 90, 128,
961
- 99, 211, 129, 97, 98, 117, 108, 128, 99, 211, 129, 98,
962
- 100, 120, 121, 211, 122, 101, 100, 103, 105, 210, 102, 104,
963
- 103, 105, 106, 210, 104, 106, 210, 107, 138, 113, 136, 137,
964
- 111, 112, 107, 100, 108, 111, 210, 112, 109, 111, 210, 104,
965
- 110, 109, 111, 113, 210, 104, 110, 113, 114, 115, 116, 135,
966
- 111, 114, 115, 109, 111, 108, 118, 128, 211, 119, 134, 118,
967
- 128, 133, 211, 119, 123, 119, 120, 121, 123, 211, 211, 98,
968
- 124, 133, 131, 132, 128, 125, 126, 118, 125, 126, 127, 130,
969
- 128, 211, 117, 98, 100, 79, 120, 121, 211, 122, 100, 119,
970
- 134, 133, 100, 108, 101, 210, 100, 69, 103, 105, 210, 102,
971
- 79, 82, 84, 209, 81, 210, 146, 147, 212, 146, 148, 149,
972
- 213, 204, 151, 152, 153, 154, 155, 156, 157, 158, 200, 159,
973
- 160, 159, 161, 204, 162, 163, 176, 164, 165, 166, 167, 168,
974
- 169, 170, 171, 172, 198, 173, 174, 173, 175, 177, 178, 179,
975
- 180, 181, 182, 183, 184, 185, 186, 187, 193, 188, 191, 189,
976
- 190, 190, 192, 194, 196, 195, 197, 199, 199, 201, 201, 214,
977
- 214, 216, 216, 204, 204, 205, 204, 0, 59, 62, 145, 204,
978
- 204, 150, 214, 214, 215, 214, 202, 216, 216, 217, 216, 203,
979
- 218, 218, 218, 219, 218
925
+ 28, 24, 25, 198, 24, 25, 25, 27, 29, 29, 31, 32,
926
+ 31, 32, 33, 34, 35, 36, 47, 32, 200, 40, 35, 36,
927
+ 47, 37, 34, 200, 40, 46, 38, 39, 43, 38, 39, 43,
928
+ 39, 41, 42, 41, 201, 43, 202, 44, 45, 39, 32, 49,
929
+ 50, 51, 52, 21, 54, 55, 56, 57, 58, 198, 60, 61,
930
+ 60, 198, 61, 198, 63, 62, 66, 198, 63, 64, 66, 198,
931
+ 65, 64, 66, 67, 198, 65, 64, 66, 67, 198, 198, 68,
932
+ 138, 74, 136, 137, 73, 68, 69, 70, 73, 198, 69, 71,
933
+ 73, 198, 65, 72, 71, 73, 74, 198, 65, 72, 74, 75,
934
+ 76, 77, 135, 73, 75, 76, 71, 73, 78, 79, 89, 70,
935
+ 92, 80, 203, 78, 79, 89, 70, 92, 80, 203, 79, 69,
936
+ 81, 83, 203, 82, 81, 83, 84, 203, 82, 84, 203, 85,
937
+ 93, 133, 134, 92, 86, 87, 90, 86, 87, 88, 94, 92,
938
+ 203, 203, 90, 92, 82, 91, 90, 92, 93, 203, 82, 91,
939
+ 93, 95, 96, 113, 105, 89, 123, 97, 205, 95, 96, 113,
940
+ 105, 89, 123, 97, 205, 96, 98, 79, 116, 117, 205, 99,
941
+ 98, 100, 102, 204, 101, 100, 102, 103, 204, 101, 103, 204,
942
+ 104, 132, 109, 130, 131, 108, 104, 98, 105, 108, 204, 106,
943
+ 108, 204, 101, 107, 106, 108, 109, 204, 101, 107, 109, 110,
944
+ 111, 112, 129, 108, 110, 111, 106, 108, 105, 114, 123, 205,
945
+ 115, 128, 114, 123, 127, 205, 115, 118, 115, 116, 117, 118,
946
+ 205, 205, 119, 127, 125, 126, 123, 120, 121, 114, 120, 121,
947
+ 122, 124, 123, 205, 96, 98, 79, 116, 117, 205, 98, 115,
948
+ 128, 127, 98, 105, 99, 204, 98, 69, 100, 102, 204, 79,
949
+ 81, 83, 203, 204, 140, 141, 206, 140, 142, 143, 207, 198,
950
+ 145, 146, 147, 148, 149, 150, 151, 152, 194, 153, 154, 153,
951
+ 155, 198, 156, 157, 170, 158, 159, 160, 161, 162, 163, 164,
952
+ 165, 166, 192, 167, 168, 167, 169, 171, 172, 173, 174, 175,
953
+ 176, 177, 178, 179, 180, 181, 187, 182, 185, 183, 184, 184,
954
+ 186, 188, 190, 189, 191, 193, 193, 195, 195, 208, 208, 210,
955
+ 210, 198, 198, 199, 198, 0, 59, 62, 139, 198, 198, 144,
956
+ 208, 208, 209, 208, 196, 210, 210, 211, 210, 197, 212, 212,
957
+ 212, 213, 212
980
958
  };
981
959
  }
982
960
 
@@ -999,30 +977,29 @@ private static short[] init__hpricot_scan_trans_actions_0()
999
977
  3, 3, 0, 0, 89, 0, 9, 9, 104, 164, 0, 180,
1000
978
  119, 176, 107, 107, 0, 160, 11, 201, 9, 9, 0, 80,
1001
979
  80, 0, 0, 152, 3, 3, 196, 156, 3, 80, 80, 77,
1002
- 152, 3, 226, 3, 0, 9, 9, 7, 104, 0, 211, 0,
1003
- 0, 7, 180, 23, 192, 0, 7, 11, 0, 110, 11, 216,
1004
- 0, 0, 149, 3, 3, 7, 0, 89, 3, 3, 196, 80,
1005
- 80, 7, 0, 156, 221, 232, 180, 119, 107, 107, 0, 160,
1006
- 11, 238, 9, 9, 0, 7, 3, 80, 80, 101, 77, 152,
1007
- 3, 226, 3, 0, 9, 9, 7, 104, 0, 211, 0, 0,
1008
- 7, 180, 23, 192, 0, 0, 0, 180, 23, 192, 0, 11,
1009
- 0, 110, 11, 216, 0, 0, 149, 3, 3, 3, 0, 7,
1010
- 89, 3, 0, 9, 9, 104, 211, 0, 180, 119, 221, 107,
1011
- 107, 0, 160, 11, 238, 9, 9, 0, 80, 80, 0, 7,
1012
- 152, 3, 3, 196, 156, 77, 180, 119, 221, 107, 107, 0,
1013
- 160, 11, 238, 0, 0, 11, 0, 110, 11, 216, 149, 7,
1014
- 3, 3, 7, 7, 89, 3, 3, 196, 80, 80, 7, 7,
1015
- 156, 232, 7, 3, 77, 77, 196, 89, 206, 3, 101, 9,
980
+ 152, 3, 226, 0, 9, 9, 7, 104, 0, 211, 0, 7,
981
+ 180, 23, 192, 11, 0, 110, 11, 216, 0, 0, 149, 3,
982
+ 3, 7, 0, 89, 3, 3, 196, 80, 80, 7, 0, 156,
983
+ 221, 232, 180, 119, 107, 107, 0, 160, 11, 238, 9, 9,
984
+ 0, 3, 80, 80, 101, 77, 152, 3, 226, 0, 9, 9,
985
+ 7, 7, 104, 0, 211, 0, 7, 7, 180, 23, 192, 0,
986
+ 0, 180, 23, 192, 11, 0, 110, 11, 216, 0, 0, 149,
987
+ 3, 3, 3, 0, 7, 89, 0, 9, 9, 104, 211, 180,
988
+ 119, 221, 107, 107, 0, 160, 11, 238, 9, 9, 0, 80,
989
+ 80, 0, 7, 152, 3, 3, 196, 156, 77, 180, 119, 221,
990
+ 107, 107, 0, 160, 11, 238, 0, 0, 11, 0, 110, 11,
991
+ 216, 149, 3, 3, 7, 7, 89, 3, 3, 196, 80, 80,
992
+ 7, 7, 156, 232, 3, 77, 77, 196, 89, 206, 101, 9,
1016
993
  9, 0, 80, 80, 3, 232, 3, 77, 196, 89, 206, 3,
1017
- 3, 196, 89, 206, 3, 226, 25, 25, 0, 0, 0, 0,
1018
- 31, 71, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
1019
- 13, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0,
1020
- 0, 0, 0, 0, 0, 3, 15, 0, 0, 0, 0, 0,
1021
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0,
1022
- 17, 0, 0, 3, 3, 0, 0, 3, 0, 3, 0, 37,
1023
- 137, 43, 140, 63, 134, 184, 69, 0, 0, 1, 0, 65,
1024
- 67, 0, 33, 125, 31, 35, 0, 39, 128, 31, 41, 0,
1025
- 45, 131, 143, 0, 47
994
+ 196, 89, 206, 226, 25, 25, 0, 0, 0, 0, 31, 71,
995
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 13, 0,
996
+ 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
997
+ 0, 0, 0, 3, 15, 0, 0, 0, 0, 0, 0, 0,
998
+ 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 17, 0,
999
+ 0, 3, 3, 0, 0, 3, 0, 3, 0, 37, 137, 43,
1000
+ 140, 63, 134, 184, 69, 0, 0, 1, 0, 65, 67, 0,
1001
+ 33, 125, 31, 35, 0, 39, 128, 31, 41, 0, 45, 131,
1002
+ 143, 0, 47
1026
1003
  };
1027
1004
  }
1028
1005
 
@@ -1048,9 +1025,8 @@ private static short[] init__hpricot_scan_to_state_actions_0()
1048
1025
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1049
1026
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1050
1027
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1051
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1052
- 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 0,
1053
- 27, 0, 27, 0
1028
+ 0, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0,
1029
+ 0, 0, 0, 0, 27, 0, 27, 0, 27, 0
1054
1030
  };
1055
1031
  }
1056
1032
 
@@ -1076,9 +1052,8 @@ private static short[] init__hpricot_scan_from_state_actions_0()
1076
1052
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1077
1053
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1078
1054
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1079
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1080
- 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0,
1081
- 29, 0, 29, 0
1055
+ 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0,
1056
+ 0, 0, 0, 0, 29, 0, 29, 0, 29, 0
1082
1057
  };
1083
1058
  }
1084
1059
 
@@ -1099,27 +1074,26 @@ private static short[] init__hpricot_scan_eof_trans_0()
1099
1074
  40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1100
1075
  40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1101
1076
  40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1102
- 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
1103
- 40, 1, 1, 1, 1, 1, 350, 350, 350, 350, 350, 350,
1104
- 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
1105
- 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
1106
- 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
1107
- 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 408, 410,
1108
- 0, 415, 420, 420, 420, 40, 40, 40, 421, 421, 0, 426,
1109
- 0, 431, 0, 437
1077
+ 40, 40, 40, 40, 40, 40, 40, 1, 1, 1, 1, 1,
1078
+ 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336,
1079
+ 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336,
1080
+ 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336,
1081
+ 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336,
1082
+ 336, 336, 336, 336, 394, 396, 0, 401, 406, 406, 406, 40,
1083
+ 40, 40, 407, 407, 0, 412, 0, 417, 0, 423
1110
1084
  };
1111
1085
  }
1112
1086
 
1113
1087
  private static final short _hpricot_scan_eof_trans[] = init__hpricot_scan_eof_trans_0();
1114
1088
 
1115
1089
 
1116
- static final int hpricot_scan_start = 204;
1090
+ static final int hpricot_scan_start = 198;
1117
1091
  static final int hpricot_scan_error = -1;
1118
1092
 
1119
- static final int hpricot_scan_en_html_comment = 214;
1120
- static final int hpricot_scan_en_html_cdata = 216;
1121
- static final int hpricot_scan_en_html_procins = 218;
1122
- static final int hpricot_scan_en_main = 204;
1093
+ static final int hpricot_scan_en_html_comment = 208;
1094
+ static final int hpricot_scan_en_html_cdata = 210;
1095
+ static final int hpricot_scan_en_html_procins = 212;
1096
+ static final int hpricot_scan_en_main = 198;
1123
1097
 
1124
1098
 
1125
1099
  // line 564 "hpricot_scan.java.rl"
@@ -1221,12 +1195,12 @@ static final int hpricot_scan_en_main = 204;
1221
1195
  data = new byte[buffer_size];
1222
1196
  }
1223
1197
  }
1224
-
1198
+
1225
1199
  private int len, space;
1226
1200
  // hpricot_scan
1227
1201
  public IRubyObject scan() {
1228
1202
 
1229
- // line 1230 "HpricotScanService.java"
1203
+ // line 1204 "HpricotScanService.java"
1230
1204
  {
1231
1205
  cs = hpricot_scan_start;
1232
1206
  ts = -1;
@@ -1238,7 +1212,7 @@ static final int hpricot_scan_en_main = 204;
1238
1212
  while(!done) {
1239
1213
  p = pe = len = buf;
1240
1214
  space = buffer_size - have;
1241
-
1215
+
1242
1216
  if(io) {
1243
1217
  if(space == 0) {
1244
1218
  /* We've used up the entire buffer storing an already-parsed token
@@ -1282,7 +1256,7 @@ static final int hpricot_scan_en_main = 204;
1282
1256
  pe = p + len;
1283
1257
 
1284
1258
 
1285
- // line 1286 "HpricotScanService.java"
1259
+ // line 1260 "HpricotScanService.java"
1286
1260
  {
1287
1261
  int _klen;
1288
1262
  int _trans = 0;
@@ -1307,7 +1281,7 @@ case 1:
1307
1281
  // line 1 "NONE"
1308
1282
  {ts = p;}
1309
1283
  break;
1310
- // line 1311 "HpricotScanService.java"
1284
+ // line 1285 "HpricotScanService.java"
1311
1285
  }
1312
1286
  }
1313
1287
 
@@ -1451,7 +1425,7 @@ case 3:
1451
1425
  case 14:
1452
1426
  // line 553 "hpricot_scan.java.rl"
1453
1427
  {
1454
- if(!S.xml) {
1428
+ if(!S.xml && !akey.isNil()) {
1455
1429
  akey = akey.callMethod(runtime.getCurrentContext(), "downcase");
1456
1430
  }
1457
1431
  ATTR(akey, aval);
@@ -1467,15 +1441,15 @@ case 3:
1467
1441
  break;
1468
1442
  case 17:
1469
1443
  // line 50 "hpricot_common.rl"
1470
- { EBLK(comment, 3); {cs = 204; _goto_targ = 2; if (true) continue _goto;} }
1444
+ { EBLK(comment, 3); {cs = 198; _goto_targ = 2; if (true) continue _goto;} }
1471
1445
  break;
1472
1446
  case 18:
1473
1447
  // line 55 "hpricot_common.rl"
1474
- { EBLK(cdata, 3); {cs = 204; _goto_targ = 2; if (true) continue _goto;} }
1448
+ { EBLK(cdata, 3); {cs = 198; _goto_targ = 2; if (true) continue _goto;} }
1475
1449
  break;
1476
1450
  case 19:
1477
1451
  // line 60 "hpricot_common.rl"
1478
- { EBLK(procins, 2); {cs = 204; _goto_targ = 2; if (true) continue _goto;} }
1452
+ { EBLK(procins, 2); {cs = 198; _goto_targ = 2; if (true) continue _goto;} }
1479
1453
  break;
1480
1454
  case 22:
1481
1455
  // line 1 "NONE"
@@ -1563,11 +1537,11 @@ case 3:
1563
1537
  break;
1564
1538
  case 43:
1565
1539
  // line 71 "hpricot_common.rl"
1566
- {te = p+1;{ {cs = 214; _goto_targ = 2; if (true) continue _goto;} }}
1540
+ {te = p+1;{ {cs = 208; _goto_targ = 2; if (true) continue _goto;} }}
1567
1541
  break;
1568
1542
  case 44:
1569
1543
  // line 72 "hpricot_common.rl"
1570
- {te = p+1;{ {cs = 216; _goto_targ = 2; if (true) continue _goto;} }}
1544
+ {te = p+1;{ {cs = 210; _goto_targ = 2; if (true) continue _goto;} }}
1571
1545
  break;
1572
1546
  case 45:
1573
1547
  // line 73 "hpricot_common.rl"
@@ -1579,7 +1553,7 @@ case 3:
1579
1553
  break;
1580
1554
  case 47:
1581
1555
  // line 67 "hpricot_common.rl"
1582
- {te = p;p--;{ {cs = 218; _goto_targ = 2; if (true) continue _goto;} }}
1556
+ {te = p;p--;{ {cs = 212; _goto_targ = 2; if (true) continue _goto;} }}
1583
1557
  break;
1584
1558
  case 48:
1585
1559
  // line 73 "hpricot_common.rl"
@@ -1587,7 +1561,7 @@ case 3:
1587
1561
  break;
1588
1562
  case 49:
1589
1563
  // line 67 "hpricot_common.rl"
1590
- {{p = ((te))-1;}{ {cs = 218; _goto_targ = 2; if (true) continue _goto;} }}
1564
+ {{p = ((te))-1;}{ {cs = 212; _goto_targ = 2; if (true) continue _goto;} }}
1591
1565
  break;
1592
1566
  case 50:
1593
1567
  // line 73 "hpricot_common.rl"
@@ -1611,7 +1585,7 @@ case 3:
1611
1585
  }
1612
1586
  }
1613
1587
  break;
1614
- // line 1615 "HpricotScanService.java"
1588
+ // line 1589 "HpricotScanService.java"
1615
1589
  }
1616
1590
  }
1617
1591
  }
@@ -1625,7 +1599,7 @@ case 2:
1625
1599
  // line 1 "NONE"
1626
1600
  {ts = -1;}
1627
1601
  break;
1628
- // line 1629 "HpricotScanService.java"
1602
+ // line 1603 "HpricotScanService.java"
1629
1603
  }
1630
1604
  }
1631
1605
 
@@ -1995,7 +1969,7 @@ case 5:
1995
1969
  klass.defineMethod(id, ref_func[i]);
1996
1970
  klass.defineMethod(id + "=", set_func[i]);
1997
1971
  }
1998
-
1972
+
1999
1973
  return klass;
2000
1974
  }
2001
1975
 
@@ -2005,11 +1979,11 @@ case 5:
2005
1979
  }
2006
1980
 
2007
1981
  public static class Extra {
2008
- IRubyObject symAllow, symDeny, sym_xmldecl, sym_doctype,
2009
- sym_procins, sym_stag, sym_etag, sym_emptytag,
2010
- sym_allowed, sym_children, sym_comment,
2011
- sym_cdata, sym_name, sym_parent,
2012
- sym_raw_attributes, sym_raw_string, sym_tagno,
1982
+ IRubyObject symAllow, symDeny, sym_xmldecl, sym_doctype,
1983
+ sym_procins, sym_stag, sym_etag, sym_emptytag,
1984
+ sym_allowed, sym_children, sym_comment,
1985
+ sym_cdata, sym_name, sym_parent,
1986
+ sym_raw_attributes, sym_raw_string, sym_tagno,
2013
1987
  sym_text, sym_EMPTY, sym_CDATA;
2014
1988
 
2015
1989
  public RubyModule mHpricot;