thbar-hpricot 0.8.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/CHANGELOG +104 -0
  2. data/COPYING +18 -0
  3. data/README.md +276 -0
  4. data/Rakefile +234 -0
  5. data/ext/fast_xs/FastXsService.java +1123 -0
  6. data/ext/fast_xs/extconf.rb +4 -0
  7. data/ext/fast_xs/fast_xs.c +210 -0
  8. data/ext/hpricot_scan/HpricotCss.java +850 -0
  9. data/ext/hpricot_scan/HpricotScanService.java +2099 -0
  10. data/ext/hpricot_scan/extconf.rb +9 -0
  11. data/ext/hpricot_scan/hpricot_common.rl +76 -0
  12. data/ext/hpricot_scan/hpricot_css.c +3511 -0
  13. data/ext/hpricot_scan/hpricot_css.java.rl +155 -0
  14. data/ext/hpricot_scan/hpricot_css.rl +120 -0
  15. data/ext/hpricot_scan/hpricot_scan.c +7045 -0
  16. data/ext/hpricot_scan/hpricot_scan.h +79 -0
  17. data/ext/hpricot_scan/hpricot_scan.java.rl +1161 -0
  18. data/ext/hpricot_scan/hpricot_scan.rl +902 -0
  19. data/extras/hpricot.png +0 -0
  20. data/lib/hpricot.rb +26 -0
  21. data/lib/hpricot/blankslate.rb +63 -0
  22. data/lib/hpricot/builder.rb +216 -0
  23. data/lib/hpricot/elements.rb +514 -0
  24. data/lib/hpricot/htmlinfo.rb +691 -0
  25. data/lib/hpricot/inspect.rb +103 -0
  26. data/lib/hpricot/modules.rb +40 -0
  27. data/lib/hpricot/parse.rb +38 -0
  28. data/lib/hpricot/tag.rb +219 -0
  29. data/lib/hpricot/tags.rb +164 -0
  30. data/lib/hpricot/traverse.rb +839 -0
  31. data/lib/hpricot/xchar.rb +94 -0
  32. data/test/files/basic.xhtml +17 -0
  33. data/test/files/boingboing.html +2266 -0
  34. data/test/files/cy0.html +3653 -0
  35. data/test/files/immob.html +400 -0
  36. data/test/files/pace_application.html +1320 -0
  37. data/test/files/tenderlove.html +16 -0
  38. data/test/files/uswebgen.html +220 -0
  39. data/test/files/utf8.html +1054 -0
  40. data/test/files/week9.html +1723 -0
  41. data/test/files/why.xml +19 -0
  42. data/test/load_files.rb +7 -0
  43. data/test/nokogiri-bench.rb +64 -0
  44. data/test/test_alter.rb +96 -0
  45. data/test/test_builder.rb +37 -0
  46. data/test/test_parser.rb +457 -0
  47. data/test/test_paths.rb +25 -0
  48. data/test/test_preserved.rb +88 -0
  49. data/test/test_xml.rb +28 -0
  50. metadata +124 -0
@@ -0,0 +1,9 @@
1
+ require 'mkmf'
2
+
3
+ $CFLAGS << " #{ENV["CFLAGS"]}"
4
+ CONFIG['optflags'] = '' if $CFLAGS =~ /DEBUG/
5
+
6
+ dir_config("hpricot_scan")
7
+ have_library("c", "main")
8
+
9
+ create_makefile("hpricot_scan")
@@ -0,0 +1,76 @@
1
+ %%{
2
+
3
+ machine hpricot_common;
4
+
5
+ #
6
+ # HTML tokens
7
+ # (a blatant rip from HTree)
8
+ #
9
+ newline = '\n' @{curline += 1;} ;
10
+ NameChar = [\-A-Za-z0-9._:?] ;
11
+ Name = [A-Za-z_:] NameChar* ;
12
+ StartComment = "<!--" ;
13
+ EndComment = "-->" ;
14
+ StartCdata = "<![CDATA[" ;
15
+ EndCdata = "]]>" ;
16
+
17
+ NameCap = Name >_tag %tag;
18
+ NameAttr = NameChar+ >_akey %akey ;
19
+ Q1Char = ( "\\\'" | [^'] ) ;
20
+ Q1Attr = Q1Char* >_aval %aval ;
21
+ Q2Char = ( "\\\"" | [^"] ) ;
22
+ Q2Attr = Q2Char* >_aval %aval ;
23
+ UnqAttr = ( space >_aval | [^ \t\r\n<>"'] >_aval [^ \t\r\n<>]* %aunq ) ;
24
+ Nmtoken = NameChar+ >_akey %akey ;
25
+
26
+ Attr = NameAttr space* "=" space* ('"' Q2Attr '"' | "'" Q1Attr "'" | UnqAttr space+ ) space* ;
27
+ AttrEnd = ( NameAttr space* "=" space* UnqAttr? | Nmtoken >new_attr %save_attr ) ;
28
+ AttrSet = ( Attr >new_attr %save_attr | Nmtoken >new_attr space+ %save_attr ) ;
29
+ StartTag = "<" NameCap space+ AttrSet* (AttrEnd >new_attr %save_attr)? ">" | "<" NameCap ">";
30
+ EmptyTag = "<" NameCap space+ AttrSet* (AttrEnd >new_attr %save_attr)? "/>" | "<" NameCap "/>" ;
31
+
32
+ EndTag = "</" NameCap space* ">" ;
33
+ XmlVersionNum = [a-zA-Z0-9_.:\-]+ >_aval %xmlver ;
34
+ XmlVersionInfo = space+ "version" space* "=" space* ("'" XmlVersionNum "'" | '"' XmlVersionNum '"' ) ;
35
+ XmlEncName = [A-Za-z] >_aval [A-Za-z0-9._\-]* %xmlenc ;
36
+ XmlEncodingDecl = space+ "encoding" space* "=" space* ("'" XmlEncName "'" | '"' XmlEncName '"' ) ;
37
+ XmlYesNo = ("yes" | "no") >_aval %xmlsd ;
38
+ XmlSDDecl = space+ "standalone" space* "=" space* ("'" XmlYesNo "'" | '"' XmlYesNo '"') ;
39
+ XmlDecl = "<?xml" XmlVersionInfo XmlEncodingDecl? XmlSDDecl? space* "?"? ">" ;
40
+
41
+ SystemLiteral = '"' [^"]* >_aval %sysid '"' | "'" [^']* >_aval %sysid "'" ;
42
+ PubidLiteral = '"' [\t a-zA-Z0-9\-'()+,./:=?;!*\#@$_%]* >_aval %pubid '"' |
43
+ "'" [\t a-zA-Z0-9\-'()+,./:=?;!*\#@$_%]* >_aval %pubid "'" ;
44
+ ExternalID = ( "SYSTEM" | "PUBLIC" space+ PubidLiteral ) (space+ SystemLiteral)? ;
45
+ DocType = "<!DOCTYPE" space+ NameCap (space+ ExternalID)? space* ("[" [^\]]* "]" space*)? ">" ;
46
+ StartXmlProcIns = "<?" Name >{ TEXT_PASS(); } space+ ;
47
+ EndXmlProcIns = "?"? ">" ;
48
+
49
+ html_comment := |*
50
+ EndComment @{ EBLK(comment, 3); fgoto main; };
51
+ any | newline { TEXT_PASS(); };
52
+ *|;
53
+
54
+ html_cdata := |*
55
+ EndCdata @{ EBLK(cdata, 3); fgoto main; };
56
+ any | newline { TEXT_PASS(); };
57
+ *|;
58
+
59
+ html_procins := |*
60
+ EndXmlProcIns @{ EBLK(procins, 2); fgoto main; };
61
+ any | newline { TEXT_PASS(); };
62
+ *|;
63
+
64
+ main := |*
65
+ XmlDecl >newEle { ELE(xmldecl); };
66
+ DocType >newEle { ELE(doctype); };
67
+ StartXmlProcIns >newEle { fgoto html_procins; };
68
+ StartTag >newEle { ELE(stag); };
69
+ EndTag >newEle { ELE(etag); };
70
+ EmptyTag >newEle { ELE(emptytag); };
71
+ StartComment >newEle { fgoto html_comment; };
72
+ StartCdata >newEle { fgoto html_cdata; };
73
+ any | newline { TEXT_PASS(); };
74
+ *|;
75
+
76
+ }%%;
@@ -0,0 +1,3511 @@
1
+
2
+ #line 1 "hpricot_css.rl"
3
+ /*
4
+ * hpricot_css.rl
5
+ * ragel -C hpricot_css.rl -o hpricot_css.c
6
+ *
7
+ * Copyright (C) 2008 why the lucky stiff
8
+ */
9
+ #include <ruby.h>
10
+
11
+ #define FILTER(id) \
12
+ rb_funcall2(mod, rb_intern("" # id), fargs, fvals); \
13
+ rb_ary_clear(tmpt); \
14
+ fargs = 1
15
+ #define FILTERAUTO() \
16
+ char filt[10]; \
17
+ sprintf(filt, "%.*s", te - ts, ts); \
18
+ rb_funcall2(mod, rb_intern(filt), fargs, fvals); \
19
+ rb_ary_clear(tmpt); \
20
+ fargs = 1
21
+ #ifdef HAVE_RUBY_ENCODING_H
22
+ #define STRNEW(a, len) rb_external_str_new((a), (len))
23
+ #else
24
+ #define STRNEW(a, len) rb_str_new((a), (len))
25
+ #endif
26
+ #define PUSH(aps, ape) rb_ary_push(tmpt, fvals[fargs++] = STRNEW(aps, ape - aps))
27
+ #define P(id) printf(id ": %.*s\n", te - ts, ts);
28
+
29
+
30
+ #line 31 "hpricot_css.c"
31
+ static const int hpricot_css_start = 87;
32
+ static const int hpricot_css_error = 0;
33
+
34
+ static const int hpricot_css_en_main = 87;
35
+
36
+
37
+ #line 92 "hpricot_css.rl"
38
+
39
+
40
+ VALUE hpricot_css(VALUE self, VALUE mod, VALUE str, VALUE node)
41
+ {
42
+ int cs, act, eof;
43
+ char *p, *pe, *ts, *te, *aps, *ape, *aps2, *ape2;
44
+
45
+ int fargs = 1;
46
+ VALUE fvals[6];
47
+ VALUE focus = rb_ary_new3(1, node);
48
+ VALUE tmpt = rb_ary_new();
49
+ rb_gc_register_address(&focus);
50
+ rb_gc_register_address(&tmpt);
51
+ fvals[0] = focus;
52
+
53
+ if (TYPE(str) != T_STRING)
54
+ rb_raise(rb_eArgError, "bad CSS selector, String only please.");
55
+
56
+ StringValue(str);
57
+ p = RSTRING_PTR(str);
58
+ pe = p + RSTRING_LEN(str);
59
+
60
+
61
+ #line 62 "hpricot_css.c"
62
+ {
63
+ cs = hpricot_css_start;
64
+ ts = 0;
65
+ te = 0;
66
+ act = 0;
67
+ }
68
+
69
+ #line 115 "hpricot_css.rl"
70
+
71
+ #line 72 "hpricot_css.c"
72
+ {
73
+ if ( p == pe )
74
+ goto _test_eof;
75
+ switch ( cs )
76
+ {
77
+ tr0:
78
+ #line 1 "NONE"
79
+ { switch( act ) {
80
+ case 0:
81
+ {{goto st0;}}
82
+ break;
83
+ case 1:
84
+ {{p = ((te))-1;} FILTER(ID); }
85
+ break;
86
+ case 2:
87
+ {{p = ((te))-1;} FILTER(CLASS); }
88
+ break;
89
+ case 5:
90
+ {{p = ((te))-1;} FILTER(TAG); }
91
+ break;
92
+ case 7:
93
+ {{p = ((te))-1;} FILTER(CHILD); }
94
+ break;
95
+ case 8:
96
+ {{p = ((te))-1;} FILTER(POS); }
97
+ break;
98
+ case 9:
99
+ {{p = ((te))-1;} FILTER(PSUEDO); }
100
+ break;
101
+ }
102
+ }
103
+ goto st87;
104
+ tr4:
105
+ #line 88 "hpricot_css.rl"
106
+ {{p = ((te))-1;}}
107
+ goto st87;
108
+ tr41:
109
+ #line 85 "hpricot_css.rl"
110
+ {{p = ((te))-1;}{ FILTER(PSUEDO); }}
111
+ goto st87;
112
+ tr46:
113
+ #line 30 "hpricot_css.rl"
114
+ {
115
+ aps = p;
116
+ }
117
+ #line 34 "hpricot_css.rl"
118
+ {
119
+ ape = p;
120
+ PUSH(aps, ape);
121
+ }
122
+ #line 85 "hpricot_css.rl"
123
+ {te = p+1;{ FILTER(PSUEDO); }}
124
+ goto st87;
125
+ tr48:
126
+ #line 34 "hpricot_css.rl"
127
+ {
128
+ ape = p;
129
+ PUSH(aps, ape);
130
+ }
131
+ #line 85 "hpricot_css.rl"
132
+ {te = p+1;{ FILTER(PSUEDO); }}
133
+ goto st87;
134
+ tr62:
135
+ #line 84 "hpricot_css.rl"
136
+ {{p = ((te))-1;}{ FILTER(POS); }}
137
+ goto st87;
138
+ tr64:
139
+ #line 34 "hpricot_css.rl"
140
+ {
141
+ ape = p;
142
+ PUSH(aps, ape);
143
+ }
144
+ #line 84 "hpricot_css.rl"
145
+ {te = p+1;{ FILTER(POS); }}
146
+ goto st87;
147
+ tr66:
148
+ #line 83 "hpricot_css.rl"
149
+ {{p = ((te))-1;}{ FILTER(CHILD); }}
150
+ goto st87;
151
+ tr67:
152
+ #line 30 "hpricot_css.rl"
153
+ {
154
+ aps = p;
155
+ }
156
+ #line 34 "hpricot_css.rl"
157
+ {
158
+ ape = p;
159
+ PUSH(aps, ape);
160
+ }
161
+ #line 83 "hpricot_css.rl"
162
+ {te = p+1;{ FILTER(CHILD); }}
163
+ goto st87;
164
+ tr71:
165
+ #line 34 "hpricot_css.rl"
166
+ {
167
+ ape = p;
168
+ PUSH(aps, ape);
169
+ }
170
+ #line 83 "hpricot_css.rl"
171
+ {te = p+1;{ FILTER(CHILD); }}
172
+ goto st87;
173
+ tr100:
174
+ #line 80 "hpricot_css.rl"
175
+ {te = p+1;{ FILTER(ATTR); }}
176
+ goto st87;
177
+ tr105:
178
+ #line 80 "hpricot_css.rl"
179
+ {{p = ((te))-1;}{ FILTER(ATTR); }}
180
+ goto st87;
181
+ tr132:
182
+ #line 34 "hpricot_css.rl"
183
+ {
184
+ ape = p;
185
+ PUSH(aps, ape);
186
+ }
187
+ #line 79 "hpricot_css.rl"
188
+ {te = p+1;{ FILTER(NAME); }}
189
+ goto st87;
190
+ tr143:
191
+ #line 87 "hpricot_css.rl"
192
+ {te = p+1;{ FILTERAUTO(); }}
193
+ goto st87;
194
+ tr149:
195
+ #line 34 "hpricot_css.rl"
196
+ {
197
+ ape = p;
198
+ PUSH(aps, ape);
199
+ }
200
+ #line 81 "hpricot_css.rl"
201
+ {te = p;p--;{ FILTER(TAG); }}
202
+ goto st87;
203
+ tr153:
204
+ #line 88 "hpricot_css.rl"
205
+ {te = p;p--;}
206
+ goto st87;
207
+ tr154:
208
+ #line 86 "hpricot_css.rl"
209
+ {te = p;p--;{ focus = rb_ary_new3(1, node); }}
210
+ goto st87;
211
+ tr155:
212
+ #line 34 "hpricot_css.rl"
213
+ {
214
+ ape = p;
215
+ PUSH(aps, ape);
216
+ }
217
+ #line 77 "hpricot_css.rl"
218
+ {te = p;p--;{ FILTER(ID); }}
219
+ goto st87;
220
+ tr159:
221
+ #line 82 "hpricot_css.rl"
222
+ {te = p;p--;{ FILTER(MOD); }}
223
+ goto st87;
224
+ tr162:
225
+ #line 34 "hpricot_css.rl"
226
+ {
227
+ ape = p;
228
+ PUSH(aps, ape);
229
+ }
230
+ #line 78 "hpricot_css.rl"
231
+ {te = p;p--;{ FILTER(CLASS); }}
232
+ goto st87;
233
+ tr166:
234
+ #line 34 "hpricot_css.rl"
235
+ {
236
+ ape = p;
237
+ PUSH(aps, ape);
238
+ }
239
+ #line 85 "hpricot_css.rl"
240
+ {te = p;p--;{ FILTER(PSUEDO); }}
241
+ goto st87;
242
+ tr173:
243
+ #line 34 "hpricot_css.rl"
244
+ {
245
+ ape = p;
246
+ PUSH(aps, ape);
247
+ }
248
+ #line 84 "hpricot_css.rl"
249
+ {te = p;p--;{ FILTER(POS); }}
250
+ goto st87;
251
+ tr192:
252
+ #line 34 "hpricot_css.rl"
253
+ {
254
+ ape = p;
255
+ PUSH(aps, ape);
256
+ }
257
+ #line 83 "hpricot_css.rl"
258
+ {te = p;p--;{ FILTER(CHILD); }}
259
+ goto st87;
260
+ tr200:
261
+ #line 80 "hpricot_css.rl"
262
+ {te = p;p--;{ FILTER(ATTR); }}
263
+ goto st87;
264
+ st87:
265
+ #line 1 "NONE"
266
+ {ts = 0;}
267
+ #line 1 "NONE"
268
+ {act = 0;}
269
+ if ( ++p == pe )
270
+ goto _test_eof87;
271
+ case 87:
272
+ #line 1 "NONE"
273
+ {ts = p;}
274
+ #line 275 "hpricot_css.c"
275
+ switch( (*p) ) {
276
+ case -60: goto tr133;
277
+ case 32: goto tr137;
278
+ case 35: goto st7;
279
+ case 43: goto st92;
280
+ case 44: goto st90;
281
+ case 45: goto tr140;
282
+ case 46: goto st13;
283
+ case 58: goto st19;
284
+ case 62: goto tr143;
285
+ case 91: goto st52;
286
+ case 92: goto tr146;
287
+ case 95: goto tr144;
288
+ case 101: goto tr147;
289
+ case 110: goto tr140;
290
+ case 111: goto tr148;
291
+ case 126: goto tr143;
292
+ }
293
+ if ( (*p) < 9 ) {
294
+ if ( (*p) < -32 ) {
295
+ if ( -59 <= (*p) && (*p) <= -33 )
296
+ goto tr134;
297
+ } else if ( (*p) > -17 ) {
298
+ if ( -16 <= (*p) && (*p) <= -12 )
299
+ goto tr136;
300
+ } else
301
+ goto tr135;
302
+ } else if ( (*p) > 13 ) {
303
+ if ( (*p) < 65 ) {
304
+ if ( 48 <= (*p) && (*p) <= 57 )
305
+ goto tr140;
306
+ } else if ( (*p) > 90 ) {
307
+ if ( 97 <= (*p) && (*p) <= 122 )
308
+ goto tr144;
309
+ } else
310
+ goto tr144;
311
+ } else
312
+ goto tr137;
313
+ goto st0;
314
+ st0:
315
+ cs = 0;
316
+ goto _out;
317
+ tr133:
318
+ #line 30 "hpricot_css.rl"
319
+ {
320
+ aps = p;
321
+ }
322
+ goto st1;
323
+ st1:
324
+ if ( ++p == pe )
325
+ goto _test_eof1;
326
+ case 1:
327
+ #line 328 "hpricot_css.c"
328
+ if ( -88 <= (*p) && (*p) <= -65 )
329
+ goto tr1;
330
+ goto tr0;
331
+ tr1:
332
+ #line 1 "NONE"
333
+ {te = p+1;}
334
+ #line 81 "hpricot_css.rl"
335
+ {act = 5;}
336
+ goto st88;
337
+ tr144:
338
+ #line 1 "NONE"
339
+ {te = p+1;}
340
+ #line 30 "hpricot_css.rl"
341
+ {
342
+ aps = p;
343
+ }
344
+ #line 81 "hpricot_css.rl"
345
+ {act = 5;}
346
+ goto st88;
347
+ st88:
348
+ if ( ++p == pe )
349
+ goto _test_eof88;
350
+ case 88:
351
+ #line 352 "hpricot_css.c"
352
+ switch( (*p) ) {
353
+ case -60: goto st1;
354
+ case 45: goto tr1;
355
+ case 92: goto st5;
356
+ case 95: goto tr1;
357
+ }
358
+ if ( (*p) < -16 ) {
359
+ if ( (*p) > -33 ) {
360
+ if ( -32 <= (*p) && (*p) <= -17 )
361
+ goto st3;
362
+ } else if ( (*p) >= -59 )
363
+ goto st2;
364
+ } else if ( (*p) > -12 ) {
365
+ if ( (*p) < 65 ) {
366
+ if ( 48 <= (*p) && (*p) <= 57 )
367
+ goto tr1;
368
+ } else if ( (*p) > 90 ) {
369
+ if ( 97 <= (*p) && (*p) <= 122 )
370
+ goto tr1;
371
+ } else
372
+ goto tr1;
373
+ } else
374
+ goto st4;
375
+ goto tr149;
376
+ tr134:
377
+ #line 30 "hpricot_css.rl"
378
+ {
379
+ aps = p;
380
+ }
381
+ goto st2;
382
+ st2:
383
+ if ( ++p == pe )
384
+ goto _test_eof2;
385
+ case 2:
386
+ #line 387 "hpricot_css.c"
387
+ if ( (*p) <= -65 )
388
+ goto tr1;
389
+ goto tr0;
390
+ tr135:
391
+ #line 30 "hpricot_css.rl"
392
+ {
393
+ aps = p;
394
+ }
395
+ goto st3;
396
+ st3:
397
+ if ( ++p == pe )
398
+ goto _test_eof3;
399
+ case 3:
400
+ #line 401 "hpricot_css.c"
401
+ if ( (*p) <= -65 )
402
+ goto st2;
403
+ goto tr0;
404
+ tr136:
405
+ #line 30 "hpricot_css.rl"
406
+ {
407
+ aps = p;
408
+ }
409
+ goto st4;
410
+ st4:
411
+ if ( ++p == pe )
412
+ goto _test_eof4;
413
+ case 4:
414
+ #line 415 "hpricot_css.c"
415
+ if ( (*p) <= -65 )
416
+ goto st3;
417
+ goto tr0;
418
+ tr146:
419
+ #line 30 "hpricot_css.rl"
420
+ {
421
+ aps = p;
422
+ }
423
+ goto st5;
424
+ st5:
425
+ if ( ++p == pe )
426
+ goto _test_eof5;
427
+ case 5:
428
+ #line 429 "hpricot_css.c"
429
+ if ( (*p) == 46 )
430
+ goto tr1;
431
+ goto tr0;
432
+ tr137:
433
+ #line 1 "NONE"
434
+ {te = p+1;}
435
+ goto st89;
436
+ st89:
437
+ if ( ++p == pe )
438
+ goto _test_eof89;
439
+ case 89:
440
+ #line 441 "hpricot_css.c"
441
+ switch( (*p) ) {
442
+ case 32: goto st6;
443
+ case 44: goto st90;
444
+ }
445
+ if ( 9 <= (*p) && (*p) <= 13 )
446
+ goto st6;
447
+ goto tr153;
448
+ st6:
449
+ if ( ++p == pe )
450
+ goto _test_eof6;
451
+ case 6:
452
+ switch( (*p) ) {
453
+ case 32: goto st6;
454
+ case 44: goto st90;
455
+ }
456
+ if ( 9 <= (*p) && (*p) <= 13 )
457
+ goto st6;
458
+ goto tr4;
459
+ st90:
460
+ if ( ++p == pe )
461
+ goto _test_eof90;
462
+ case 90:
463
+ if ( (*p) == 32 )
464
+ goto st90;
465
+ if ( 9 <= (*p) && (*p) <= 13 )
466
+ goto st90;
467
+ goto tr154;
468
+ st7:
469
+ if ( ++p == pe )
470
+ goto _test_eof7;
471
+ case 7:
472
+ switch( (*p) ) {
473
+ case -60: goto tr7;
474
+ case 45: goto tr12;
475
+ case 92: goto tr13;
476
+ case 95: goto tr12;
477
+ }
478
+ if ( (*p) < -16 ) {
479
+ if ( (*p) > -33 ) {
480
+ if ( -32 <= (*p) && (*p) <= -17 )
481
+ goto tr10;
482
+ } else if ( (*p) >= -59 )
483
+ goto tr9;
484
+ } else if ( (*p) > -12 ) {
485
+ if ( (*p) < 65 ) {
486
+ if ( 48 <= (*p) && (*p) <= 57 )
487
+ goto tr12;
488
+ } else if ( (*p) > 90 ) {
489
+ if ( 97 <= (*p) && (*p) <= 122 )
490
+ goto tr12;
491
+ } else
492
+ goto tr12;
493
+ } else
494
+ goto tr11;
495
+ goto st0;
496
+ tr7:
497
+ #line 30 "hpricot_css.rl"
498
+ {
499
+ aps = p;
500
+ }
501
+ goto st8;
502
+ st8:
503
+ if ( ++p == pe )
504
+ goto _test_eof8;
505
+ case 8:
506
+ #line 507 "hpricot_css.c"
507
+ if ( -88 <= (*p) && (*p) <= -65 )
508
+ goto tr14;
509
+ goto tr0;
510
+ tr12:
511
+ #line 1 "NONE"
512
+ {te = p+1;}
513
+ #line 30 "hpricot_css.rl"
514
+ {
515
+ aps = p;
516
+ }
517
+ #line 77 "hpricot_css.rl"
518
+ {act = 1;}
519
+ goto st91;
520
+ tr14:
521
+ #line 1 "NONE"
522
+ {te = p+1;}
523
+ #line 77 "hpricot_css.rl"
524
+ {act = 1;}
525
+ goto st91;
526
+ st91:
527
+ if ( ++p == pe )
528
+ goto _test_eof91;
529
+ case 91:
530
+ #line 531 "hpricot_css.c"
531
+ switch( (*p) ) {
532
+ case -60: goto st8;
533
+ case 45: goto tr14;
534
+ case 92: goto st12;
535
+ case 95: goto tr14;
536
+ }
537
+ if ( (*p) < -16 ) {
538
+ if ( (*p) > -33 ) {
539
+ if ( -32 <= (*p) && (*p) <= -17 )
540
+ goto st10;
541
+ } else if ( (*p) >= -59 )
542
+ goto st9;
543
+ } else if ( (*p) > -12 ) {
544
+ if ( (*p) < 65 ) {
545
+ if ( 48 <= (*p) && (*p) <= 57 )
546
+ goto tr14;
547
+ } else if ( (*p) > 90 ) {
548
+ if ( 97 <= (*p) && (*p) <= 122 )
549
+ goto tr14;
550
+ } else
551
+ goto tr14;
552
+ } else
553
+ goto st11;
554
+ goto tr155;
555
+ tr9:
556
+ #line 30 "hpricot_css.rl"
557
+ {
558
+ aps = p;
559
+ }
560
+ goto st9;
561
+ st9:
562
+ if ( ++p == pe )
563
+ goto _test_eof9;
564
+ case 9:
565
+ #line 566 "hpricot_css.c"
566
+ if ( (*p) <= -65 )
567
+ goto tr14;
568
+ goto tr0;
569
+ tr10:
570
+ #line 30 "hpricot_css.rl"
571
+ {
572
+ aps = p;
573
+ }
574
+ goto st10;
575
+ st10:
576
+ if ( ++p == pe )
577
+ goto _test_eof10;
578
+ case 10:
579
+ #line 580 "hpricot_css.c"
580
+ if ( (*p) <= -65 )
581
+ goto st9;
582
+ goto tr0;
583
+ tr11:
584
+ #line 30 "hpricot_css.rl"
585
+ {
586
+ aps = p;
587
+ }
588
+ goto st11;
589
+ st11:
590
+ if ( ++p == pe )
591
+ goto _test_eof11;
592
+ case 11:
593
+ #line 594 "hpricot_css.c"
594
+ if ( (*p) <= -65 )
595
+ goto st10;
596
+ goto tr0;
597
+ tr13:
598
+ #line 30 "hpricot_css.rl"
599
+ {
600
+ aps = p;
601
+ }
602
+ goto st12;
603
+ st12:
604
+ if ( ++p == pe )
605
+ goto _test_eof12;
606
+ case 12:
607
+ #line 608 "hpricot_css.c"
608
+ if ( (*p) == 46 )
609
+ goto tr14;
610
+ goto tr0;
611
+ tr160:
612
+ #line 34 "hpricot_css.rl"
613
+ {
614
+ ape = p;
615
+ PUSH(aps, ape);
616
+ }
617
+ goto st92;
618
+ st92:
619
+ if ( ++p == pe )
620
+ goto _test_eof92;
621
+ case 92:
622
+ #line 623 "hpricot_css.c"
623
+ switch( (*p) ) {
624
+ case 43: goto st92;
625
+ case 45: goto st92;
626
+ case 110: goto st92;
627
+ }
628
+ if ( 48 <= (*p) && (*p) <= 57 )
629
+ goto st92;
630
+ goto tr159;
631
+ tr161:
632
+ #line 1 "NONE"
633
+ {te = p+1;}
634
+ #line 81 "hpricot_css.rl"
635
+ {act = 5;}
636
+ goto st93;
637
+ tr140:
638
+ #line 1 "NONE"
639
+ {te = p+1;}
640
+ #line 30 "hpricot_css.rl"
641
+ {
642
+ aps = p;
643
+ }
644
+ #line 81 "hpricot_css.rl"
645
+ {act = 5;}
646
+ goto st93;
647
+ st93:
648
+ if ( ++p == pe )
649
+ goto _test_eof93;
650
+ case 93:
651
+ #line 652 "hpricot_css.c"
652
+ switch( (*p) ) {
653
+ case -60: goto st1;
654
+ case 43: goto tr160;
655
+ case 45: goto tr161;
656
+ case 92: goto st5;
657
+ case 95: goto tr1;
658
+ case 110: goto tr161;
659
+ }
660
+ if ( (*p) < -16 ) {
661
+ if ( (*p) > -33 ) {
662
+ if ( -32 <= (*p) && (*p) <= -17 )
663
+ goto st3;
664
+ } else if ( (*p) >= -59 )
665
+ goto st2;
666
+ } else if ( (*p) > -12 ) {
667
+ if ( (*p) < 65 ) {
668
+ if ( 48 <= (*p) && (*p) <= 57 )
669
+ goto tr161;
670
+ } else if ( (*p) > 90 ) {
671
+ if ( 97 <= (*p) && (*p) <= 122 )
672
+ goto tr1;
673
+ } else
674
+ goto tr1;
675
+ } else
676
+ goto st4;
677
+ goto tr149;
678
+ st13:
679
+ if ( ++p == pe )
680
+ goto _test_eof13;
681
+ case 13:
682
+ switch( (*p) ) {
683
+ case -60: goto tr17;
684
+ case 45: goto tr21;
685
+ case 92: goto tr22;
686
+ case 95: goto tr21;
687
+ }
688
+ if ( (*p) < -16 ) {
689
+ if ( (*p) > -33 ) {
690
+ if ( -32 <= (*p) && (*p) <= -17 )
691
+ goto tr19;
692
+ } else if ( (*p) >= -59 )
693
+ goto tr18;
694
+ } else if ( (*p) > -12 ) {
695
+ if ( (*p) < 65 ) {
696
+ if ( 48 <= (*p) && (*p) <= 57 )
697
+ goto tr21;
698
+ } else if ( (*p) > 90 ) {
699
+ if ( 97 <= (*p) && (*p) <= 122 )
700
+ goto tr21;
701
+ } else
702
+ goto tr21;
703
+ } else
704
+ goto tr20;
705
+ goto st0;
706
+ tr17:
707
+ #line 30 "hpricot_css.rl"
708
+ {
709
+ aps = p;
710
+ }
711
+ goto st14;
712
+ st14:
713
+ if ( ++p == pe )
714
+ goto _test_eof14;
715
+ case 14:
716
+ #line 717 "hpricot_css.c"
717
+ if ( -88 <= (*p) && (*p) <= -65 )
718
+ goto tr23;
719
+ goto tr0;
720
+ tr21:
721
+ #line 1 "NONE"
722
+ {te = p+1;}
723
+ #line 30 "hpricot_css.rl"
724
+ {
725
+ aps = p;
726
+ }
727
+ #line 78 "hpricot_css.rl"
728
+ {act = 2;}
729
+ goto st94;
730
+ tr23:
731
+ #line 1 "NONE"
732
+ {te = p+1;}
733
+ #line 78 "hpricot_css.rl"
734
+ {act = 2;}
735
+ goto st94;
736
+ st94:
737
+ if ( ++p == pe )
738
+ goto _test_eof94;
739
+ case 94:
740
+ #line 741 "hpricot_css.c"
741
+ switch( (*p) ) {
742
+ case -60: goto st14;
743
+ case 45: goto tr23;
744
+ case 92: goto st18;
745
+ case 95: goto tr23;
746
+ }
747
+ if ( (*p) < -16 ) {
748
+ if ( (*p) > -33 ) {
749
+ if ( -32 <= (*p) && (*p) <= -17 )
750
+ goto st16;
751
+ } else if ( (*p) >= -59 )
752
+ goto st15;
753
+ } else if ( (*p) > -12 ) {
754
+ if ( (*p) < 65 ) {
755
+ if ( 48 <= (*p) && (*p) <= 57 )
756
+ goto tr23;
757
+ } else if ( (*p) > 90 ) {
758
+ if ( 97 <= (*p) && (*p) <= 122 )
759
+ goto tr23;
760
+ } else
761
+ goto tr23;
762
+ } else
763
+ goto st17;
764
+ goto tr162;
765
+ tr18:
766
+ #line 30 "hpricot_css.rl"
767
+ {
768
+ aps = p;
769
+ }
770
+ goto st15;
771
+ st15:
772
+ if ( ++p == pe )
773
+ goto _test_eof15;
774
+ case 15:
775
+ #line 776 "hpricot_css.c"
776
+ if ( (*p) <= -65 )
777
+ goto tr23;
778
+ goto tr0;
779
+ tr19:
780
+ #line 30 "hpricot_css.rl"
781
+ {
782
+ aps = p;
783
+ }
784
+ goto st16;
785
+ st16:
786
+ if ( ++p == pe )
787
+ goto _test_eof16;
788
+ case 16:
789
+ #line 790 "hpricot_css.c"
790
+ if ( (*p) <= -65 )
791
+ goto st15;
792
+ goto tr0;
793
+ tr20:
794
+ #line 30 "hpricot_css.rl"
795
+ {
796
+ aps = p;
797
+ }
798
+ goto st17;
799
+ st17:
800
+ if ( ++p == pe )
801
+ goto _test_eof17;
802
+ case 17:
803
+ #line 804 "hpricot_css.c"
804
+ if ( (*p) <= -65 )
805
+ goto st16;
806
+ goto tr0;
807
+ tr22:
808
+ #line 30 "hpricot_css.rl"
809
+ {
810
+ aps = p;
811
+ }
812
+ goto st18;
813
+ st18:
814
+ if ( ++p == pe )
815
+ goto _test_eof18;
816
+ case 18:
817
+ #line 818 "hpricot_css.c"
818
+ if ( (*p) == 46 )
819
+ goto tr23;
820
+ goto tr0;
821
+ st19:
822
+ if ( ++p == pe )
823
+ goto _test_eof19;
824
+ case 19:
825
+ switch( (*p) ) {
826
+ case -60: goto tr26;
827
+ case 45: goto tr30;
828
+ case 92: goto tr31;
829
+ case 95: goto tr30;
830
+ case 101: goto tr32;
831
+ case 102: goto tr33;
832
+ case 103: goto tr34;
833
+ case 108: goto tr35;
834
+ case 110: goto tr36;
835
+ case 111: goto tr37;
836
+ }
837
+ if ( (*p) < -16 ) {
838
+ if ( (*p) > -33 ) {
839
+ if ( -32 <= (*p) && (*p) <= -17 )
840
+ goto tr28;
841
+ } else if ( (*p) >= -59 )
842
+ goto tr27;
843
+ } else if ( (*p) > -12 ) {
844
+ if ( (*p) < 65 ) {
845
+ if ( 48 <= (*p) && (*p) <= 57 )
846
+ goto tr30;
847
+ } else if ( (*p) > 90 ) {
848
+ if ( 97 <= (*p) && (*p) <= 122 )
849
+ goto tr30;
850
+ } else
851
+ goto tr30;
852
+ } else
853
+ goto tr29;
854
+ goto st0;
855
+ tr26:
856
+ #line 30 "hpricot_css.rl"
857
+ {
858
+ aps = p;
859
+ }
860
+ goto st20;
861
+ tr174:
862
+ #line 34 "hpricot_css.rl"
863
+ {
864
+ ape = p;
865
+ PUSH(aps, ape);
866
+ }
867
+ goto st20;
868
+ st20:
869
+ if ( ++p == pe )
870
+ goto _test_eof20;
871
+ case 20:
872
+ #line 873 "hpricot_css.c"
873
+ if ( -88 <= (*p) && (*p) <= -65 )
874
+ goto tr38;
875
+ goto tr0;
876
+ tr30:
877
+ #line 1 "NONE"
878
+ {te = p+1;}
879
+ #line 30 "hpricot_css.rl"
880
+ {
881
+ aps = p;
882
+ }
883
+ #line 85 "hpricot_css.rl"
884
+ {act = 9;}
885
+ goto st95;
886
+ tr38:
887
+ #line 1 "NONE"
888
+ {te = p+1;}
889
+ #line 85 "hpricot_css.rl"
890
+ {act = 9;}
891
+ goto st95;
892
+ tr179:
893
+ #line 1 "NONE"
894
+ {te = p+1;}
895
+ #line 34 "hpricot_css.rl"
896
+ {
897
+ ape = p;
898
+ PUSH(aps, ape);
899
+ }
900
+ #line 85 "hpricot_css.rl"
901
+ {act = 9;}
902
+ goto st95;
903
+ st95:
904
+ if ( ++p == pe )
905
+ goto _test_eof95;
906
+ case 95:
907
+ #line 908 "hpricot_css.c"
908
+ switch( (*p) ) {
909
+ case -60: goto st20;
910
+ case 40: goto tr169;
911
+ case 45: goto tr38;
912
+ case 92: goto st41;
913
+ case 95: goto tr38;
914
+ }
915
+ if ( (*p) < -16 ) {
916
+ if ( (*p) > -33 ) {
917
+ if ( -32 <= (*p) && (*p) <= -17 )
918
+ goto st22;
919
+ } else if ( (*p) >= -59 )
920
+ goto st21;
921
+ } else if ( (*p) > -12 ) {
922
+ if ( (*p) < 65 ) {
923
+ if ( 48 <= (*p) && (*p) <= 57 )
924
+ goto tr38;
925
+ } else if ( (*p) > 90 ) {
926
+ if ( 97 <= (*p) && (*p) <= 122 )
927
+ goto tr38;
928
+ } else
929
+ goto tr38;
930
+ } else
931
+ goto st23;
932
+ goto tr166;
933
+ tr27:
934
+ #line 30 "hpricot_css.rl"
935
+ {
936
+ aps = p;
937
+ }
938
+ goto st21;
939
+ tr175:
940
+ #line 34 "hpricot_css.rl"
941
+ {
942
+ ape = p;
943
+ PUSH(aps, ape);
944
+ }
945
+ goto st21;
946
+ st21:
947
+ if ( ++p == pe )
948
+ goto _test_eof21;
949
+ case 21:
950
+ #line 951 "hpricot_css.c"
951
+ if ( (*p) <= -65 )
952
+ goto tr38;
953
+ goto tr0;
954
+ tr28:
955
+ #line 30 "hpricot_css.rl"
956
+ {
957
+ aps = p;
958
+ }
959
+ goto st22;
960
+ tr176:
961
+ #line 34 "hpricot_css.rl"
962
+ {
963
+ ape = p;
964
+ PUSH(aps, ape);
965
+ }
966
+ goto st22;
967
+ st22:
968
+ if ( ++p == pe )
969
+ goto _test_eof22;
970
+ case 22:
971
+ #line 972 "hpricot_css.c"
972
+ if ( (*p) <= -65 )
973
+ goto st21;
974
+ goto tr0;
975
+ tr29:
976
+ #line 30 "hpricot_css.rl"
977
+ {
978
+ aps = p;
979
+ }
980
+ goto st23;
981
+ tr177:
982
+ #line 34 "hpricot_css.rl"
983
+ {
984
+ ape = p;
985
+ PUSH(aps, ape);
986
+ }
987
+ goto st23;
988
+ st23:
989
+ if ( ++p == pe )
990
+ goto _test_eof23;
991
+ case 23:
992
+ #line 993 "hpricot_css.c"
993
+ if ( (*p) <= -65 )
994
+ goto st22;
995
+ goto tr0;
996
+ tr169:
997
+ #line 34 "hpricot_css.rl"
998
+ {
999
+ ape = p;
1000
+ PUSH(aps, ape);
1001
+ }
1002
+ goto st24;
1003
+ st24:
1004
+ if ( ++p == pe )
1005
+ goto _test_eof24;
1006
+ case 24:
1007
+ #line 1008 "hpricot_css.c"
1008
+ switch( (*p) ) {
1009
+ case 34: goto tr43;
1010
+ case 39: goto tr44;
1011
+ case 40: goto tr45;
1012
+ case 41: goto tr46;
1013
+ }
1014
+ goto tr42;
1015
+ tr42:
1016
+ #line 30 "hpricot_css.rl"
1017
+ {
1018
+ aps = p;
1019
+ }
1020
+ goto st25;
1021
+ st25:
1022
+ if ( ++p == pe )
1023
+ goto _test_eof25;
1024
+ case 25:
1025
+ #line 1026 "hpricot_css.c"
1026
+ switch( (*p) ) {
1027
+ case 34: goto tr0;
1028
+ case 40: goto tr0;
1029
+ case 41: goto tr48;
1030
+ }
1031
+ goto st25;
1032
+ tr43:
1033
+ #line 30 "hpricot_css.rl"
1034
+ {
1035
+ aps = p;
1036
+ }
1037
+ goto st26;
1038
+ st26:
1039
+ if ( ++p == pe )
1040
+ goto _test_eof26;
1041
+ case 26:
1042
+ #line 1043 "hpricot_css.c"
1043
+ switch( (*p) ) {
1044
+ case 34: goto st28;
1045
+ case 40: goto st29;
1046
+ case 41: goto tr0;
1047
+ }
1048
+ goto st27;
1049
+ st27:
1050
+ if ( ++p == pe )
1051
+ goto _test_eof27;
1052
+ case 27:
1053
+ if ( (*p) == 34 )
1054
+ goto st28;
1055
+ if ( 40 <= (*p) && (*p) <= 41 )
1056
+ goto tr0;
1057
+ goto st27;
1058
+ st28:
1059
+ if ( ++p == pe )
1060
+ goto _test_eof28;
1061
+ case 28:
1062
+ if ( (*p) == 41 )
1063
+ goto tr48;
1064
+ goto tr0;
1065
+ st29:
1066
+ if ( ++p == pe )
1067
+ goto _test_eof29;
1068
+ case 29:
1069
+ if ( (*p) == 41 )
1070
+ goto tr0;
1071
+ goto st30;
1072
+ st30:
1073
+ if ( ++p == pe )
1074
+ goto _test_eof30;
1075
+ case 30:
1076
+ if ( (*p) == 41 )
1077
+ goto st31;
1078
+ goto st30;
1079
+ st31:
1080
+ if ( ++p == pe )
1081
+ goto _test_eof31;
1082
+ case 31:
1083
+ switch( (*p) ) {
1084
+ case 34: goto st28;
1085
+ case 40: goto st29;
1086
+ }
1087
+ goto tr0;
1088
+ tr44:
1089
+ #line 30 "hpricot_css.rl"
1090
+ {
1091
+ aps = p;
1092
+ }
1093
+ goto st32;
1094
+ st32:
1095
+ if ( ++p == pe )
1096
+ goto _test_eof32;
1097
+ case 32:
1098
+ #line 1099 "hpricot_css.c"
1099
+ switch( (*p) ) {
1100
+ case 34: goto st34;
1101
+ case 39: goto st25;
1102
+ case 40: goto st35;
1103
+ case 41: goto tr48;
1104
+ }
1105
+ goto st33;
1106
+ st33:
1107
+ if ( ++p == pe )
1108
+ goto _test_eof33;
1109
+ case 33:
1110
+ switch( (*p) ) {
1111
+ case 34: goto st34;
1112
+ case 39: goto st25;
1113
+ case 40: goto tr0;
1114
+ case 41: goto tr48;
1115
+ }
1116
+ goto st33;
1117
+ st34:
1118
+ if ( ++p == pe )
1119
+ goto _test_eof34;
1120
+ case 34:
1121
+ if ( (*p) == 39 )
1122
+ goto st28;
1123
+ if ( 40 <= (*p) && (*p) <= 41 )
1124
+ goto tr0;
1125
+ goto st34;
1126
+ st35:
1127
+ if ( ++p == pe )
1128
+ goto _test_eof35;
1129
+ case 35:
1130
+ if ( (*p) == 41 )
1131
+ goto tr0;
1132
+ goto st36;
1133
+ st36:
1134
+ if ( ++p == pe )
1135
+ goto _test_eof36;
1136
+ case 36:
1137
+ if ( (*p) == 41 )
1138
+ goto st37;
1139
+ goto st36;
1140
+ st37:
1141
+ if ( ++p == pe )
1142
+ goto _test_eof37;
1143
+ case 37:
1144
+ switch( (*p) ) {
1145
+ case 39: goto st28;
1146
+ case 40: goto st35;
1147
+ }
1148
+ goto tr0;
1149
+ tr45:
1150
+ #line 30 "hpricot_css.rl"
1151
+ {
1152
+ aps = p;
1153
+ }
1154
+ goto st38;
1155
+ st38:
1156
+ if ( ++p == pe )
1157
+ goto _test_eof38;
1158
+ case 38:
1159
+ #line 1160 "hpricot_css.c"
1160
+ if ( (*p) == 41 )
1161
+ goto tr0;
1162
+ goto st39;
1163
+ st39:
1164
+ if ( ++p == pe )
1165
+ goto _test_eof39;
1166
+ case 39:
1167
+ if ( (*p) == 41 )
1168
+ goto st40;
1169
+ goto st39;
1170
+ st40:
1171
+ if ( ++p == pe )
1172
+ goto _test_eof40;
1173
+ case 40:
1174
+ switch( (*p) ) {
1175
+ case 40: goto st38;
1176
+ case 41: goto tr48;
1177
+ }
1178
+ goto tr0;
1179
+ tr31:
1180
+ #line 30 "hpricot_css.rl"
1181
+ {
1182
+ aps = p;
1183
+ }
1184
+ goto st41;
1185
+ tr180:
1186
+ #line 34 "hpricot_css.rl"
1187
+ {
1188
+ ape = p;
1189
+ PUSH(aps, ape);
1190
+ }
1191
+ goto st41;
1192
+ st41:
1193
+ if ( ++p == pe )
1194
+ goto _test_eof41;
1195
+ case 41:
1196
+ #line 1197 "hpricot_css.c"
1197
+ if ( (*p) == 46 )
1198
+ goto tr38;
1199
+ goto tr0;
1200
+ tr32:
1201
+ #line 1 "NONE"
1202
+ {te = p+1;}
1203
+ #line 30 "hpricot_css.rl"
1204
+ {
1205
+ aps = p;
1206
+ }
1207
+ #line 85 "hpricot_css.rl"
1208
+ {act = 9;}
1209
+ goto st96;
1210
+ st96:
1211
+ if ( ++p == pe )
1212
+ goto _test_eof96;
1213
+ case 96:
1214
+ #line 1215 "hpricot_css.c"
1215
+ switch( (*p) ) {
1216
+ case -60: goto st20;
1217
+ case 40: goto tr169;
1218
+ case 45: goto tr38;
1219
+ case 92: goto st41;
1220
+ case 95: goto tr38;
1221
+ case 113: goto tr171;
1222
+ case 118: goto tr172;
1223
+ }
1224
+ if ( (*p) < -16 ) {
1225
+ if ( (*p) > -33 ) {
1226
+ if ( -32 <= (*p) && (*p) <= -17 )
1227
+ goto st22;
1228
+ } else if ( (*p) >= -59 )
1229
+ goto st21;
1230
+ } else if ( (*p) > -12 ) {
1231
+ if ( (*p) < 65 ) {
1232
+ if ( 48 <= (*p) && (*p) <= 57 )
1233
+ goto tr38;
1234
+ } else if ( (*p) > 90 ) {
1235
+ if ( 97 <= (*p) && (*p) <= 122 )
1236
+ goto tr38;
1237
+ } else
1238
+ goto tr38;
1239
+ } else
1240
+ goto st23;
1241
+ goto tr166;
1242
+ tr171:
1243
+ #line 1 "NONE"
1244
+ {te = p+1;}
1245
+ #line 84 "hpricot_css.rl"
1246
+ {act = 8;}
1247
+ goto st97;
1248
+ st97:
1249
+ if ( ++p == pe )
1250
+ goto _test_eof97;
1251
+ case 97:
1252
+ #line 1253 "hpricot_css.c"
1253
+ switch( (*p) ) {
1254
+ case -60: goto tr174;
1255
+ case 40: goto tr178;
1256
+ case 45: goto tr179;
1257
+ case 92: goto tr180;
1258
+ case 95: goto tr179;
1259
+ }
1260
+ if ( (*p) < -16 ) {
1261
+ if ( (*p) > -33 ) {
1262
+ if ( -32 <= (*p) && (*p) <= -17 )
1263
+ goto tr176;
1264
+ } else if ( (*p) >= -59 )
1265
+ goto tr175;
1266
+ } else if ( (*p) > -12 ) {
1267
+ if ( (*p) < 65 ) {
1268
+ if ( 48 <= (*p) && (*p) <= 57 )
1269
+ goto tr179;
1270
+ } else if ( (*p) > 90 ) {
1271
+ if ( 97 <= (*p) && (*p) <= 122 )
1272
+ goto tr179;
1273
+ } else
1274
+ goto tr179;
1275
+ } else
1276
+ goto tr177;
1277
+ goto tr173;
1278
+ tr178:
1279
+ #line 34 "hpricot_css.rl"
1280
+ {
1281
+ ape = p;
1282
+ PUSH(aps, ape);
1283
+ }
1284
+ goto st42;
1285
+ st42:
1286
+ if ( ++p == pe )
1287
+ goto _test_eof42;
1288
+ case 42:
1289
+ #line 1290 "hpricot_css.c"
1290
+ switch( (*p) ) {
1291
+ case 34: goto tr43;
1292
+ case 39: goto tr44;
1293
+ case 40: goto tr45;
1294
+ case 41: goto tr46;
1295
+ }
1296
+ if ( 48 <= (*p) && (*p) <= 57 )
1297
+ goto tr63;
1298
+ goto tr42;
1299
+ tr63:
1300
+ #line 30 "hpricot_css.rl"
1301
+ {
1302
+ aps = p;
1303
+ }
1304
+ goto st43;
1305
+ st43:
1306
+ if ( ++p == pe )
1307
+ goto _test_eof43;
1308
+ case 43:
1309
+ #line 1310 "hpricot_css.c"
1310
+ switch( (*p) ) {
1311
+ case 34: goto tr62;
1312
+ case 40: goto tr62;
1313
+ case 41: goto tr64;
1314
+ }
1315
+ if ( 48 <= (*p) && (*p) <= 57 )
1316
+ goto st43;
1317
+ goto st25;
1318
+ tr172:
1319
+ #line 1 "NONE"
1320
+ {te = p+1;}
1321
+ #line 85 "hpricot_css.rl"
1322
+ {act = 9;}
1323
+ goto st98;
1324
+ st98:
1325
+ if ( ++p == pe )
1326
+ goto _test_eof98;
1327
+ case 98:
1328
+ #line 1329 "hpricot_css.c"
1329
+ switch( (*p) ) {
1330
+ case -60: goto st20;
1331
+ case 40: goto tr169;
1332
+ case 45: goto tr38;
1333
+ case 92: goto st41;
1334
+ case 95: goto tr38;
1335
+ case 101: goto tr181;
1336
+ }
1337
+ if ( (*p) < -16 ) {
1338
+ if ( (*p) > -33 ) {
1339
+ if ( -32 <= (*p) && (*p) <= -17 )
1340
+ goto st22;
1341
+ } else if ( (*p) >= -59 )
1342
+ goto st21;
1343
+ } else if ( (*p) > -12 ) {
1344
+ if ( (*p) < 65 ) {
1345
+ if ( 48 <= (*p) && (*p) <= 57 )
1346
+ goto tr38;
1347
+ } else if ( (*p) > 90 ) {
1348
+ if ( 97 <= (*p) && (*p) <= 122 )
1349
+ goto tr38;
1350
+ } else
1351
+ goto tr38;
1352
+ } else
1353
+ goto st23;
1354
+ goto tr166;
1355
+ tr181:
1356
+ #line 1 "NONE"
1357
+ {te = p+1;}
1358
+ #line 85 "hpricot_css.rl"
1359
+ {act = 9;}
1360
+ goto st99;
1361
+ st99:
1362
+ if ( ++p == pe )
1363
+ goto _test_eof99;
1364
+ case 99:
1365
+ #line 1366 "hpricot_css.c"
1366
+ switch( (*p) ) {
1367
+ case -60: goto st20;
1368
+ case 40: goto tr169;
1369
+ case 45: goto tr38;
1370
+ case 92: goto st41;
1371
+ case 95: goto tr38;
1372
+ case 110: goto tr171;
1373
+ }
1374
+ if ( (*p) < -16 ) {
1375
+ if ( (*p) > -33 ) {
1376
+ if ( -32 <= (*p) && (*p) <= -17 )
1377
+ goto st22;
1378
+ } else if ( (*p) >= -59 )
1379
+ goto st21;
1380
+ } else if ( (*p) > -12 ) {
1381
+ if ( (*p) < 65 ) {
1382
+ if ( 48 <= (*p) && (*p) <= 57 )
1383
+ goto tr38;
1384
+ } else if ( (*p) > 90 ) {
1385
+ if ( 97 <= (*p) && (*p) <= 122 )
1386
+ goto tr38;
1387
+ } else
1388
+ goto tr38;
1389
+ } else
1390
+ goto st23;
1391
+ goto tr166;
1392
+ tr33:
1393
+ #line 1 "NONE"
1394
+ {te = p+1;}
1395
+ #line 30 "hpricot_css.rl"
1396
+ {
1397
+ aps = p;
1398
+ }
1399
+ #line 85 "hpricot_css.rl"
1400
+ {act = 9;}
1401
+ goto st100;
1402
+ st100:
1403
+ if ( ++p == pe )
1404
+ goto _test_eof100;
1405
+ case 100:
1406
+ #line 1407 "hpricot_css.c"
1407
+ switch( (*p) ) {
1408
+ case -60: goto st20;
1409
+ case 40: goto tr169;
1410
+ case 45: goto tr38;
1411
+ case 92: goto st41;
1412
+ case 95: goto tr38;
1413
+ case 105: goto tr182;
1414
+ }
1415
+ if ( (*p) < -16 ) {
1416
+ if ( (*p) > -33 ) {
1417
+ if ( -32 <= (*p) && (*p) <= -17 )
1418
+ goto st22;
1419
+ } else if ( (*p) >= -59 )
1420
+ goto st21;
1421
+ } else if ( (*p) > -12 ) {
1422
+ if ( (*p) < 65 ) {
1423
+ if ( 48 <= (*p) && (*p) <= 57 )
1424
+ goto tr38;
1425
+ } else if ( (*p) > 90 ) {
1426
+ if ( 97 <= (*p) && (*p) <= 122 )
1427
+ goto tr38;
1428
+ } else
1429
+ goto tr38;
1430
+ } else
1431
+ goto st23;
1432
+ goto tr166;
1433
+ tr182:
1434
+ #line 1 "NONE"
1435
+ {te = p+1;}
1436
+ #line 85 "hpricot_css.rl"
1437
+ {act = 9;}
1438
+ goto st101;
1439
+ st101:
1440
+ if ( ++p == pe )
1441
+ goto _test_eof101;
1442
+ case 101:
1443
+ #line 1444 "hpricot_css.c"
1444
+ switch( (*p) ) {
1445
+ case -60: goto st20;
1446
+ case 40: goto tr169;
1447
+ case 45: goto tr38;
1448
+ case 92: goto st41;
1449
+ case 95: goto tr38;
1450
+ case 114: goto tr183;
1451
+ }
1452
+ if ( (*p) < -16 ) {
1453
+ if ( (*p) > -33 ) {
1454
+ if ( -32 <= (*p) && (*p) <= -17 )
1455
+ goto st22;
1456
+ } else if ( (*p) >= -59 )
1457
+ goto st21;
1458
+ } else if ( (*p) > -12 ) {
1459
+ if ( (*p) < 65 ) {
1460
+ if ( 48 <= (*p) && (*p) <= 57 )
1461
+ goto tr38;
1462
+ } else if ( (*p) > 90 ) {
1463
+ if ( 97 <= (*p) && (*p) <= 122 )
1464
+ goto tr38;
1465
+ } else
1466
+ goto tr38;
1467
+ } else
1468
+ goto st23;
1469
+ goto tr166;
1470
+ tr183:
1471
+ #line 1 "NONE"
1472
+ {te = p+1;}
1473
+ #line 85 "hpricot_css.rl"
1474
+ {act = 9;}
1475
+ goto st102;
1476
+ st102:
1477
+ if ( ++p == pe )
1478
+ goto _test_eof102;
1479
+ case 102:
1480
+ #line 1481 "hpricot_css.c"
1481
+ switch( (*p) ) {
1482
+ case -60: goto st20;
1483
+ case 40: goto tr169;
1484
+ case 45: goto tr38;
1485
+ case 92: goto st41;
1486
+ case 95: goto tr38;
1487
+ case 115: goto tr184;
1488
+ }
1489
+ if ( (*p) < -16 ) {
1490
+ if ( (*p) > -33 ) {
1491
+ if ( -32 <= (*p) && (*p) <= -17 )
1492
+ goto st22;
1493
+ } else if ( (*p) >= -59 )
1494
+ goto st21;
1495
+ } else if ( (*p) > -12 ) {
1496
+ if ( (*p) < 65 ) {
1497
+ if ( 48 <= (*p) && (*p) <= 57 )
1498
+ goto tr38;
1499
+ } else if ( (*p) > 90 ) {
1500
+ if ( 97 <= (*p) && (*p) <= 122 )
1501
+ goto tr38;
1502
+ } else
1503
+ goto tr38;
1504
+ } else
1505
+ goto st23;
1506
+ goto tr166;
1507
+ tr184:
1508
+ #line 1 "NONE"
1509
+ {te = p+1;}
1510
+ #line 85 "hpricot_css.rl"
1511
+ {act = 9;}
1512
+ goto st103;
1513
+ st103:
1514
+ if ( ++p == pe )
1515
+ goto _test_eof103;
1516
+ case 103:
1517
+ #line 1518 "hpricot_css.c"
1518
+ switch( (*p) ) {
1519
+ case -60: goto st20;
1520
+ case 40: goto tr169;
1521
+ case 45: goto tr38;
1522
+ case 92: goto st41;
1523
+ case 95: goto tr38;
1524
+ case 116: goto tr185;
1525
+ }
1526
+ if ( (*p) < -16 ) {
1527
+ if ( (*p) > -33 ) {
1528
+ if ( -32 <= (*p) && (*p) <= -17 )
1529
+ goto st22;
1530
+ } else if ( (*p) >= -59 )
1531
+ goto st21;
1532
+ } else if ( (*p) > -12 ) {
1533
+ if ( (*p) < 65 ) {
1534
+ if ( 48 <= (*p) && (*p) <= 57 )
1535
+ goto tr38;
1536
+ } else if ( (*p) > 90 ) {
1537
+ if ( 97 <= (*p) && (*p) <= 122 )
1538
+ goto tr38;
1539
+ } else
1540
+ goto tr38;
1541
+ } else
1542
+ goto st23;
1543
+ goto tr166;
1544
+ tr185:
1545
+ #line 1 "NONE"
1546
+ {te = p+1;}
1547
+ #line 84 "hpricot_css.rl"
1548
+ {act = 8;}
1549
+ goto st104;
1550
+ st104:
1551
+ if ( ++p == pe )
1552
+ goto _test_eof104;
1553
+ case 104:
1554
+ #line 1555 "hpricot_css.c"
1555
+ switch( (*p) ) {
1556
+ case -60: goto tr174;
1557
+ case 40: goto tr178;
1558
+ case 45: goto tr186;
1559
+ case 92: goto tr180;
1560
+ case 95: goto tr179;
1561
+ }
1562
+ if ( (*p) < -16 ) {
1563
+ if ( (*p) > -33 ) {
1564
+ if ( -32 <= (*p) && (*p) <= -17 )
1565
+ goto tr176;
1566
+ } else if ( (*p) >= -59 )
1567
+ goto tr175;
1568
+ } else if ( (*p) > -12 ) {
1569
+ if ( (*p) < 65 ) {
1570
+ if ( 48 <= (*p) && (*p) <= 57 )
1571
+ goto tr179;
1572
+ } else if ( (*p) > 90 ) {
1573
+ if ( 97 <= (*p) && (*p) <= 122 )
1574
+ goto tr179;
1575
+ } else
1576
+ goto tr179;
1577
+ } else
1578
+ goto tr177;
1579
+ goto tr173;
1580
+ tr199:
1581
+ #line 1 "NONE"
1582
+ {te = p+1;}
1583
+ #line 85 "hpricot_css.rl"
1584
+ {act = 9;}
1585
+ goto st105;
1586
+ tr186:
1587
+ #line 1 "NONE"
1588
+ {te = p+1;}
1589
+ #line 34 "hpricot_css.rl"
1590
+ {
1591
+ ape = p;
1592
+ PUSH(aps, ape);
1593
+ }
1594
+ #line 85 "hpricot_css.rl"
1595
+ {act = 9;}
1596
+ goto st105;
1597
+ st105:
1598
+ if ( ++p == pe )
1599
+ goto _test_eof105;
1600
+ case 105:
1601
+ #line 1602 "hpricot_css.c"
1602
+ switch( (*p) ) {
1603
+ case -60: goto st20;
1604
+ case 40: goto tr169;
1605
+ case 45: goto tr38;
1606
+ case 92: goto st41;
1607
+ case 95: goto tr38;
1608
+ case 99: goto tr187;
1609
+ }
1610
+ if ( (*p) < -16 ) {
1611
+ if ( (*p) > -33 ) {
1612
+ if ( -32 <= (*p) && (*p) <= -17 )
1613
+ goto st22;
1614
+ } else if ( (*p) >= -59 )
1615
+ goto st21;
1616
+ } else if ( (*p) > -12 ) {
1617
+ if ( (*p) < 65 ) {
1618
+ if ( 48 <= (*p) && (*p) <= 57 )
1619
+ goto tr38;
1620
+ } else if ( (*p) > 90 ) {
1621
+ if ( 97 <= (*p) && (*p) <= 122 )
1622
+ goto tr38;
1623
+ } else
1624
+ goto tr38;
1625
+ } else
1626
+ goto st23;
1627
+ goto tr166;
1628
+ tr187:
1629
+ #line 1 "NONE"
1630
+ {te = p+1;}
1631
+ #line 85 "hpricot_css.rl"
1632
+ {act = 9;}
1633
+ goto st106;
1634
+ st106:
1635
+ if ( ++p == pe )
1636
+ goto _test_eof106;
1637
+ case 106:
1638
+ #line 1639 "hpricot_css.c"
1639
+ switch( (*p) ) {
1640
+ case -60: goto st20;
1641
+ case 40: goto tr169;
1642
+ case 45: goto tr38;
1643
+ case 92: goto st41;
1644
+ case 95: goto tr38;
1645
+ case 104: goto tr188;
1646
+ }
1647
+ if ( (*p) < -16 ) {
1648
+ if ( (*p) > -33 ) {
1649
+ if ( -32 <= (*p) && (*p) <= -17 )
1650
+ goto st22;
1651
+ } else if ( (*p) >= -59 )
1652
+ goto st21;
1653
+ } else if ( (*p) > -12 ) {
1654
+ if ( (*p) < 65 ) {
1655
+ if ( 48 <= (*p) && (*p) <= 57 )
1656
+ goto tr38;
1657
+ } else if ( (*p) > 90 ) {
1658
+ if ( 97 <= (*p) && (*p) <= 122 )
1659
+ goto tr38;
1660
+ } else
1661
+ goto tr38;
1662
+ } else
1663
+ goto st23;
1664
+ goto tr166;
1665
+ tr188:
1666
+ #line 1 "NONE"
1667
+ {te = p+1;}
1668
+ #line 85 "hpricot_css.rl"
1669
+ {act = 9;}
1670
+ goto st107;
1671
+ st107:
1672
+ if ( ++p == pe )
1673
+ goto _test_eof107;
1674
+ case 107:
1675
+ #line 1676 "hpricot_css.c"
1676
+ switch( (*p) ) {
1677
+ case -60: goto st20;
1678
+ case 40: goto tr169;
1679
+ case 45: goto tr38;
1680
+ case 92: goto st41;
1681
+ case 95: goto tr38;
1682
+ case 105: goto tr189;
1683
+ }
1684
+ if ( (*p) < -16 ) {
1685
+ if ( (*p) > -33 ) {
1686
+ if ( -32 <= (*p) && (*p) <= -17 )
1687
+ goto st22;
1688
+ } else if ( (*p) >= -59 )
1689
+ goto st21;
1690
+ } else if ( (*p) > -12 ) {
1691
+ if ( (*p) < 65 ) {
1692
+ if ( 48 <= (*p) && (*p) <= 57 )
1693
+ goto tr38;
1694
+ } else if ( (*p) > 90 ) {
1695
+ if ( 97 <= (*p) && (*p) <= 122 )
1696
+ goto tr38;
1697
+ } else
1698
+ goto tr38;
1699
+ } else
1700
+ goto st23;
1701
+ goto tr166;
1702
+ tr189:
1703
+ #line 1 "NONE"
1704
+ {te = p+1;}
1705
+ #line 85 "hpricot_css.rl"
1706
+ {act = 9;}
1707
+ goto st108;
1708
+ st108:
1709
+ if ( ++p == pe )
1710
+ goto _test_eof108;
1711
+ case 108:
1712
+ #line 1713 "hpricot_css.c"
1713
+ switch( (*p) ) {
1714
+ case -60: goto st20;
1715
+ case 40: goto tr169;
1716
+ case 45: goto tr38;
1717
+ case 92: goto st41;
1718
+ case 95: goto tr38;
1719
+ case 108: goto tr190;
1720
+ }
1721
+ if ( (*p) < -16 ) {
1722
+ if ( (*p) > -33 ) {
1723
+ if ( -32 <= (*p) && (*p) <= -17 )
1724
+ goto st22;
1725
+ } else if ( (*p) >= -59 )
1726
+ goto st21;
1727
+ } else if ( (*p) > -12 ) {
1728
+ if ( (*p) < 65 ) {
1729
+ if ( 48 <= (*p) && (*p) <= 57 )
1730
+ goto tr38;
1731
+ } else if ( (*p) > 90 ) {
1732
+ if ( 97 <= (*p) && (*p) <= 122 )
1733
+ goto tr38;
1734
+ } else
1735
+ goto tr38;
1736
+ } else
1737
+ goto st23;
1738
+ goto tr166;
1739
+ tr190:
1740
+ #line 1 "NONE"
1741
+ {te = p+1;}
1742
+ #line 85 "hpricot_css.rl"
1743
+ {act = 9;}
1744
+ goto st109;
1745
+ st109:
1746
+ if ( ++p == pe )
1747
+ goto _test_eof109;
1748
+ case 109:
1749
+ #line 1750 "hpricot_css.c"
1750
+ switch( (*p) ) {
1751
+ case -60: goto st20;
1752
+ case 40: goto tr169;
1753
+ case 45: goto tr38;
1754
+ case 92: goto st41;
1755
+ case 95: goto tr38;
1756
+ case 100: goto tr191;
1757
+ }
1758
+ if ( (*p) < -16 ) {
1759
+ if ( (*p) > -33 ) {
1760
+ if ( -32 <= (*p) && (*p) <= -17 )
1761
+ goto st22;
1762
+ } else if ( (*p) >= -59 )
1763
+ goto st21;
1764
+ } else if ( (*p) > -12 ) {
1765
+ if ( (*p) < 65 ) {
1766
+ if ( 48 <= (*p) && (*p) <= 57 )
1767
+ goto tr38;
1768
+ } else if ( (*p) > 90 ) {
1769
+ if ( 97 <= (*p) && (*p) <= 122 )
1770
+ goto tr38;
1771
+ } else
1772
+ goto tr38;
1773
+ } else
1774
+ goto st23;
1775
+ goto tr166;
1776
+ tr191:
1777
+ #line 1 "NONE"
1778
+ {te = p+1;}
1779
+ #line 83 "hpricot_css.rl"
1780
+ {act = 7;}
1781
+ goto st110;
1782
+ st110:
1783
+ if ( ++p == pe )
1784
+ goto _test_eof110;
1785
+ case 110:
1786
+ #line 1787 "hpricot_css.c"
1787
+ switch( (*p) ) {
1788
+ case -60: goto tr174;
1789
+ case 40: goto tr193;
1790
+ case 45: goto tr179;
1791
+ case 92: goto tr180;
1792
+ case 95: goto tr179;
1793
+ }
1794
+ if ( (*p) < -16 ) {
1795
+ if ( (*p) > -33 ) {
1796
+ if ( -32 <= (*p) && (*p) <= -17 )
1797
+ goto tr176;
1798
+ } else if ( (*p) >= -59 )
1799
+ goto tr175;
1800
+ } else if ( (*p) > -12 ) {
1801
+ if ( (*p) < 65 ) {
1802
+ if ( 48 <= (*p) && (*p) <= 57 )
1803
+ goto tr179;
1804
+ } else if ( (*p) > 90 ) {
1805
+ if ( 97 <= (*p) && (*p) <= 122 )
1806
+ goto tr179;
1807
+ } else
1808
+ goto tr179;
1809
+ } else
1810
+ goto tr177;
1811
+ goto tr192;
1812
+ tr193:
1813
+ #line 34 "hpricot_css.rl"
1814
+ {
1815
+ ape = p;
1816
+ PUSH(aps, ape);
1817
+ }
1818
+ goto st44;
1819
+ st44:
1820
+ if ( ++p == pe )
1821
+ goto _test_eof44;
1822
+ case 44:
1823
+ #line 1824 "hpricot_css.c"
1824
+ switch( (*p) ) {
1825
+ case 34: goto tr43;
1826
+ case 39: goto tr44;
1827
+ case 40: goto tr45;
1828
+ case 41: goto tr67;
1829
+ case 43: goto tr68;
1830
+ case 45: goto tr68;
1831
+ case 101: goto tr69;
1832
+ case 110: goto tr68;
1833
+ case 111: goto tr70;
1834
+ }
1835
+ if ( 48 <= (*p) && (*p) <= 57 )
1836
+ goto tr68;
1837
+ goto tr42;
1838
+ tr68:
1839
+ #line 30 "hpricot_css.rl"
1840
+ {
1841
+ aps = p;
1842
+ }
1843
+ goto st45;
1844
+ st45:
1845
+ if ( ++p == pe )
1846
+ goto _test_eof45;
1847
+ case 45:
1848
+ #line 1849 "hpricot_css.c"
1849
+ switch( (*p) ) {
1850
+ case 34: goto tr66;
1851
+ case 40: goto tr66;
1852
+ case 41: goto tr71;
1853
+ case 43: goto st45;
1854
+ case 45: goto st45;
1855
+ case 110: goto st45;
1856
+ }
1857
+ if ( 48 <= (*p) && (*p) <= 57 )
1858
+ goto st45;
1859
+ goto st25;
1860
+ tr69:
1861
+ #line 30 "hpricot_css.rl"
1862
+ {
1863
+ aps = p;
1864
+ }
1865
+ goto st46;
1866
+ st46:
1867
+ if ( ++p == pe )
1868
+ goto _test_eof46;
1869
+ case 46:
1870
+ #line 1871 "hpricot_css.c"
1871
+ switch( (*p) ) {
1872
+ case 34: goto tr66;
1873
+ case 40: goto tr66;
1874
+ case 41: goto tr48;
1875
+ case 118: goto st47;
1876
+ }
1877
+ goto st25;
1878
+ st47:
1879
+ if ( ++p == pe )
1880
+ goto _test_eof47;
1881
+ case 47:
1882
+ switch( (*p) ) {
1883
+ case 34: goto tr66;
1884
+ case 40: goto tr66;
1885
+ case 41: goto tr48;
1886
+ case 101: goto st48;
1887
+ }
1888
+ goto st25;
1889
+ st48:
1890
+ if ( ++p == pe )
1891
+ goto _test_eof48;
1892
+ case 48:
1893
+ switch( (*p) ) {
1894
+ case 34: goto tr66;
1895
+ case 40: goto tr66;
1896
+ case 41: goto tr48;
1897
+ case 110: goto st49;
1898
+ }
1899
+ goto st25;
1900
+ st49:
1901
+ if ( ++p == pe )
1902
+ goto _test_eof49;
1903
+ case 49:
1904
+ switch( (*p) ) {
1905
+ case 34: goto tr66;
1906
+ case 40: goto tr66;
1907
+ case 41: goto tr71;
1908
+ }
1909
+ goto st25;
1910
+ tr70:
1911
+ #line 30 "hpricot_css.rl"
1912
+ {
1913
+ aps = p;
1914
+ }
1915
+ goto st50;
1916
+ st50:
1917
+ if ( ++p == pe )
1918
+ goto _test_eof50;
1919
+ case 50:
1920
+ #line 1921 "hpricot_css.c"
1921
+ switch( (*p) ) {
1922
+ case 34: goto tr66;
1923
+ case 40: goto tr66;
1924
+ case 41: goto tr48;
1925
+ case 100: goto st51;
1926
+ }
1927
+ goto st25;
1928
+ st51:
1929
+ if ( ++p == pe )
1930
+ goto _test_eof51;
1931
+ case 51:
1932
+ switch( (*p) ) {
1933
+ case 34: goto tr66;
1934
+ case 40: goto tr66;
1935
+ case 41: goto tr48;
1936
+ case 100: goto st49;
1937
+ }
1938
+ goto st25;
1939
+ tr34:
1940
+ #line 1 "NONE"
1941
+ {te = p+1;}
1942
+ #line 30 "hpricot_css.rl"
1943
+ {
1944
+ aps = p;
1945
+ }
1946
+ #line 85 "hpricot_css.rl"
1947
+ {act = 9;}
1948
+ goto st111;
1949
+ st111:
1950
+ if ( ++p == pe )
1951
+ goto _test_eof111;
1952
+ case 111:
1953
+ #line 1954 "hpricot_css.c"
1954
+ switch( (*p) ) {
1955
+ case -60: goto st20;
1956
+ case 40: goto tr169;
1957
+ case 45: goto tr38;
1958
+ case 92: goto st41;
1959
+ case 95: goto tr38;
1960
+ case 116: goto tr171;
1961
+ }
1962
+ if ( (*p) < -16 ) {
1963
+ if ( (*p) > -33 ) {
1964
+ if ( -32 <= (*p) && (*p) <= -17 )
1965
+ goto st22;
1966
+ } else if ( (*p) >= -59 )
1967
+ goto st21;
1968
+ } else if ( (*p) > -12 ) {
1969
+ if ( (*p) < 65 ) {
1970
+ if ( 48 <= (*p) && (*p) <= 57 )
1971
+ goto tr38;
1972
+ } else if ( (*p) > 90 ) {
1973
+ if ( 97 <= (*p) && (*p) <= 122 )
1974
+ goto tr38;
1975
+ } else
1976
+ goto tr38;
1977
+ } else
1978
+ goto st23;
1979
+ goto tr166;
1980
+ tr35:
1981
+ #line 1 "NONE"
1982
+ {te = p+1;}
1983
+ #line 30 "hpricot_css.rl"
1984
+ {
1985
+ aps = p;
1986
+ }
1987
+ #line 85 "hpricot_css.rl"
1988
+ {act = 9;}
1989
+ goto st112;
1990
+ st112:
1991
+ if ( ++p == pe )
1992
+ goto _test_eof112;
1993
+ case 112:
1994
+ #line 1995 "hpricot_css.c"
1995
+ switch( (*p) ) {
1996
+ case -60: goto st20;
1997
+ case 40: goto tr169;
1998
+ case 45: goto tr38;
1999
+ case 92: goto st41;
2000
+ case 95: goto tr38;
2001
+ case 97: goto tr183;
2002
+ case 116: goto tr171;
2003
+ }
2004
+ if ( (*p) < -16 ) {
2005
+ if ( (*p) > -33 ) {
2006
+ if ( -32 <= (*p) && (*p) <= -17 )
2007
+ goto st22;
2008
+ } else if ( (*p) >= -59 )
2009
+ goto st21;
2010
+ } else if ( (*p) > -12 ) {
2011
+ if ( (*p) < 65 ) {
2012
+ if ( 48 <= (*p) && (*p) <= 57 )
2013
+ goto tr38;
2014
+ } else if ( (*p) > 90 ) {
2015
+ if ( 98 <= (*p) && (*p) <= 122 )
2016
+ goto tr38;
2017
+ } else
2018
+ goto tr38;
2019
+ } else
2020
+ goto st23;
2021
+ goto tr166;
2022
+ tr36:
2023
+ #line 1 "NONE"
2024
+ {te = p+1;}
2025
+ #line 30 "hpricot_css.rl"
2026
+ {
2027
+ aps = p;
2028
+ }
2029
+ #line 85 "hpricot_css.rl"
2030
+ {act = 9;}
2031
+ goto st113;
2032
+ st113:
2033
+ if ( ++p == pe )
2034
+ goto _test_eof113;
2035
+ case 113:
2036
+ #line 2037 "hpricot_css.c"
2037
+ switch( (*p) ) {
2038
+ case -60: goto st20;
2039
+ case 40: goto tr169;
2040
+ case 45: goto tr38;
2041
+ case 92: goto st41;
2042
+ case 95: goto tr38;
2043
+ case 116: goto tr194;
2044
+ }
2045
+ if ( (*p) < -16 ) {
2046
+ if ( (*p) > -33 ) {
2047
+ if ( -32 <= (*p) && (*p) <= -17 )
2048
+ goto st22;
2049
+ } else if ( (*p) >= -59 )
2050
+ goto st21;
2051
+ } else if ( (*p) > -12 ) {
2052
+ if ( (*p) < 65 ) {
2053
+ if ( 48 <= (*p) && (*p) <= 57 )
2054
+ goto tr38;
2055
+ } else if ( (*p) > 90 ) {
2056
+ if ( 97 <= (*p) && (*p) <= 122 )
2057
+ goto tr38;
2058
+ } else
2059
+ goto tr38;
2060
+ } else
2061
+ goto st23;
2062
+ goto tr166;
2063
+ tr194:
2064
+ #line 1 "NONE"
2065
+ {te = p+1;}
2066
+ #line 85 "hpricot_css.rl"
2067
+ {act = 9;}
2068
+ goto st114;
2069
+ st114:
2070
+ if ( ++p == pe )
2071
+ goto _test_eof114;
2072
+ case 114:
2073
+ #line 2074 "hpricot_css.c"
2074
+ switch( (*p) ) {
2075
+ case -60: goto st20;
2076
+ case 40: goto tr169;
2077
+ case 45: goto tr38;
2078
+ case 92: goto st41;
2079
+ case 95: goto tr38;
2080
+ case 104: goto tr185;
2081
+ }
2082
+ if ( (*p) < -16 ) {
2083
+ if ( (*p) > -33 ) {
2084
+ if ( -32 <= (*p) && (*p) <= -17 )
2085
+ goto st22;
2086
+ } else if ( (*p) >= -59 )
2087
+ goto st21;
2088
+ } else if ( (*p) > -12 ) {
2089
+ if ( (*p) < 65 ) {
2090
+ if ( 48 <= (*p) && (*p) <= 57 )
2091
+ goto tr38;
2092
+ } else if ( (*p) > 90 ) {
2093
+ if ( 97 <= (*p) && (*p) <= 122 )
2094
+ goto tr38;
2095
+ } else
2096
+ goto tr38;
2097
+ } else
2098
+ goto st23;
2099
+ goto tr166;
2100
+ tr37:
2101
+ #line 1 "NONE"
2102
+ {te = p+1;}
2103
+ #line 30 "hpricot_css.rl"
2104
+ {
2105
+ aps = p;
2106
+ }
2107
+ #line 85 "hpricot_css.rl"
2108
+ {act = 9;}
2109
+ goto st115;
2110
+ st115:
2111
+ if ( ++p == pe )
2112
+ goto _test_eof115;
2113
+ case 115:
2114
+ #line 2115 "hpricot_css.c"
2115
+ switch( (*p) ) {
2116
+ case -60: goto st20;
2117
+ case 40: goto tr169;
2118
+ case 45: goto tr38;
2119
+ case 92: goto st41;
2120
+ case 95: goto tr38;
2121
+ case 100: goto tr195;
2122
+ case 110: goto tr196;
2123
+ }
2124
+ if ( (*p) < -16 ) {
2125
+ if ( (*p) > -33 ) {
2126
+ if ( -32 <= (*p) && (*p) <= -17 )
2127
+ goto st22;
2128
+ } else if ( (*p) >= -59 )
2129
+ goto st21;
2130
+ } else if ( (*p) > -12 ) {
2131
+ if ( (*p) < 65 ) {
2132
+ if ( 48 <= (*p) && (*p) <= 57 )
2133
+ goto tr38;
2134
+ } else if ( (*p) > 90 ) {
2135
+ if ( 97 <= (*p) && (*p) <= 122 )
2136
+ goto tr38;
2137
+ } else
2138
+ goto tr38;
2139
+ } else
2140
+ goto st23;
2141
+ goto tr166;
2142
+ tr195:
2143
+ #line 1 "NONE"
2144
+ {te = p+1;}
2145
+ #line 85 "hpricot_css.rl"
2146
+ {act = 9;}
2147
+ goto st116;
2148
+ st116:
2149
+ if ( ++p == pe )
2150
+ goto _test_eof116;
2151
+ case 116:
2152
+ #line 2153 "hpricot_css.c"
2153
+ switch( (*p) ) {
2154
+ case -60: goto st20;
2155
+ case 40: goto tr169;
2156
+ case 45: goto tr38;
2157
+ case 92: goto st41;
2158
+ case 95: goto tr38;
2159
+ case 100: goto tr171;
2160
+ }
2161
+ if ( (*p) < -16 ) {
2162
+ if ( (*p) > -33 ) {
2163
+ if ( -32 <= (*p) && (*p) <= -17 )
2164
+ goto st22;
2165
+ } else if ( (*p) >= -59 )
2166
+ goto st21;
2167
+ } else if ( (*p) > -12 ) {
2168
+ if ( (*p) < 65 ) {
2169
+ if ( 48 <= (*p) && (*p) <= 57 )
2170
+ goto tr38;
2171
+ } else if ( (*p) > 90 ) {
2172
+ if ( 97 <= (*p) && (*p) <= 122 )
2173
+ goto tr38;
2174
+ } else
2175
+ goto tr38;
2176
+ } else
2177
+ goto st23;
2178
+ goto tr166;
2179
+ tr196:
2180
+ #line 1 "NONE"
2181
+ {te = p+1;}
2182
+ #line 85 "hpricot_css.rl"
2183
+ {act = 9;}
2184
+ goto st117;
2185
+ st117:
2186
+ if ( ++p == pe )
2187
+ goto _test_eof117;
2188
+ case 117:
2189
+ #line 2190 "hpricot_css.c"
2190
+ switch( (*p) ) {
2191
+ case -60: goto st20;
2192
+ case 40: goto tr169;
2193
+ case 45: goto tr38;
2194
+ case 92: goto st41;
2195
+ case 95: goto tr38;
2196
+ case 108: goto tr197;
2197
+ }
2198
+ if ( (*p) < -16 ) {
2199
+ if ( (*p) > -33 ) {
2200
+ if ( -32 <= (*p) && (*p) <= -17 )
2201
+ goto st22;
2202
+ } else if ( (*p) >= -59 )
2203
+ goto st21;
2204
+ } else if ( (*p) > -12 ) {
2205
+ if ( (*p) < 65 ) {
2206
+ if ( 48 <= (*p) && (*p) <= 57 )
2207
+ goto tr38;
2208
+ } else if ( (*p) > 90 ) {
2209
+ if ( 97 <= (*p) && (*p) <= 122 )
2210
+ goto tr38;
2211
+ } else
2212
+ goto tr38;
2213
+ } else
2214
+ goto st23;
2215
+ goto tr166;
2216
+ tr197:
2217
+ #line 1 "NONE"
2218
+ {te = p+1;}
2219
+ #line 85 "hpricot_css.rl"
2220
+ {act = 9;}
2221
+ goto st118;
2222
+ st118:
2223
+ if ( ++p == pe )
2224
+ goto _test_eof118;
2225
+ case 118:
2226
+ #line 2227 "hpricot_css.c"
2227
+ switch( (*p) ) {
2228
+ case -60: goto st20;
2229
+ case 40: goto tr169;
2230
+ case 45: goto tr38;
2231
+ case 92: goto st41;
2232
+ case 95: goto tr38;
2233
+ case 121: goto tr198;
2234
+ }
2235
+ if ( (*p) < -16 ) {
2236
+ if ( (*p) > -33 ) {
2237
+ if ( -32 <= (*p) && (*p) <= -17 )
2238
+ goto st22;
2239
+ } else if ( (*p) >= -59 )
2240
+ goto st21;
2241
+ } else if ( (*p) > -12 ) {
2242
+ if ( (*p) < 65 ) {
2243
+ if ( 48 <= (*p) && (*p) <= 57 )
2244
+ goto tr38;
2245
+ } else if ( (*p) > 90 ) {
2246
+ if ( 97 <= (*p) && (*p) <= 122 )
2247
+ goto tr38;
2248
+ } else
2249
+ goto tr38;
2250
+ } else
2251
+ goto st23;
2252
+ goto tr166;
2253
+ tr198:
2254
+ #line 1 "NONE"
2255
+ {te = p+1;}
2256
+ #line 85 "hpricot_css.rl"
2257
+ {act = 9;}
2258
+ goto st119;
2259
+ st119:
2260
+ if ( ++p == pe )
2261
+ goto _test_eof119;
2262
+ case 119:
2263
+ #line 2264 "hpricot_css.c"
2264
+ switch( (*p) ) {
2265
+ case -60: goto st20;
2266
+ case 40: goto tr169;
2267
+ case 45: goto tr199;
2268
+ case 92: goto st41;
2269
+ case 95: goto tr38;
2270
+ }
2271
+ if ( (*p) < -16 ) {
2272
+ if ( (*p) > -33 ) {
2273
+ if ( -32 <= (*p) && (*p) <= -17 )
2274
+ goto st22;
2275
+ } else if ( (*p) >= -59 )
2276
+ goto st21;
2277
+ } else if ( (*p) > -12 ) {
2278
+ if ( (*p) < 65 ) {
2279
+ if ( 48 <= (*p) && (*p) <= 57 )
2280
+ goto tr38;
2281
+ } else if ( (*p) > 90 ) {
2282
+ if ( 97 <= (*p) && (*p) <= 122 )
2283
+ goto tr38;
2284
+ } else
2285
+ goto tr38;
2286
+ } else
2287
+ goto st23;
2288
+ goto tr166;
2289
+ st52:
2290
+ if ( ++p == pe )
2291
+ goto _test_eof52;
2292
+ case 52:
2293
+ switch( (*p) ) {
2294
+ case -60: goto tr77;
2295
+ case 45: goto tr81;
2296
+ case 92: goto tr82;
2297
+ case 95: goto tr81;
2298
+ case 110: goto tr83;
2299
+ }
2300
+ if ( (*p) < -16 ) {
2301
+ if ( (*p) > -33 ) {
2302
+ if ( -32 <= (*p) && (*p) <= -17 )
2303
+ goto tr79;
2304
+ } else if ( (*p) >= -59 )
2305
+ goto tr78;
2306
+ } else if ( (*p) > -12 ) {
2307
+ if ( (*p) < 65 ) {
2308
+ if ( 48 <= (*p) && (*p) <= 57 )
2309
+ goto tr81;
2310
+ } else if ( (*p) > 90 ) {
2311
+ if ( 97 <= (*p) && (*p) <= 122 )
2312
+ goto tr81;
2313
+ } else
2314
+ goto tr81;
2315
+ } else
2316
+ goto tr80;
2317
+ goto st0;
2318
+ tr77:
2319
+ #line 30 "hpricot_css.rl"
2320
+ {
2321
+ aps = p;
2322
+ }
2323
+ goto st53;
2324
+ st53:
2325
+ if ( ++p == pe )
2326
+ goto _test_eof53;
2327
+ case 53:
2328
+ #line 2329 "hpricot_css.c"
2329
+ if ( -88 <= (*p) && (*p) <= -65 )
2330
+ goto st54;
2331
+ goto st0;
2332
+ tr81:
2333
+ #line 30 "hpricot_css.rl"
2334
+ {
2335
+ aps = p;
2336
+ }
2337
+ goto st54;
2338
+ tr91:
2339
+ #line 39 "hpricot_css.rl"
2340
+ {
2341
+ ape = p;
2342
+ aps2 = p;
2343
+ }
2344
+ goto st54;
2345
+ st54:
2346
+ if ( ++p == pe )
2347
+ goto _test_eof54;
2348
+ case 54:
2349
+ #line 2350 "hpricot_css.c"
2350
+ switch( (*p) ) {
2351
+ case -60: goto tr86;
2352
+ case 32: goto tr90;
2353
+ case 45: goto tr91;
2354
+ case 61: goto tr92;
2355
+ case 92: goto tr93;
2356
+ case 95: goto tr91;
2357
+ }
2358
+ if ( (*p) < 9 ) {
2359
+ if ( (*p) < -32 ) {
2360
+ if ( -59 <= (*p) && (*p) <= -33 )
2361
+ goto tr87;
2362
+ } else if ( (*p) > -17 ) {
2363
+ if ( -16 <= (*p) && (*p) <= -12 )
2364
+ goto tr89;
2365
+ } else
2366
+ goto tr88;
2367
+ } else if ( (*p) > 13 ) {
2368
+ if ( (*p) < 65 ) {
2369
+ if ( 48 <= (*p) && (*p) <= 57 )
2370
+ goto tr91;
2371
+ } else if ( (*p) > 90 ) {
2372
+ if ( 97 <= (*p) && (*p) <= 122 )
2373
+ goto tr91;
2374
+ } else
2375
+ goto tr91;
2376
+ } else
2377
+ goto tr90;
2378
+ goto tr85;
2379
+ tr85:
2380
+ #line 39 "hpricot_css.rl"
2381
+ {
2382
+ ape = p;
2383
+ aps2 = p;
2384
+ }
2385
+ goto st55;
2386
+ st55:
2387
+ if ( ++p == pe )
2388
+ goto _test_eof55;
2389
+ case 55:
2390
+ #line 2391 "hpricot_css.c"
2391
+ if ( (*p) == 61 )
2392
+ goto st56;
2393
+ goto st0;
2394
+ st56:
2395
+ if ( ++p == pe )
2396
+ goto _test_eof56;
2397
+ case 56:
2398
+ switch( (*p) ) {
2399
+ case 32: goto tr96;
2400
+ case 34: goto tr97;
2401
+ case 39: goto tr98;
2402
+ case 93: goto st0;
2403
+ }
2404
+ if ( 9 <= (*p) && (*p) <= 13 )
2405
+ goto tr96;
2406
+ goto tr95;
2407
+ tr95:
2408
+ #line 44 "hpricot_css.rl"
2409
+ {
2410
+ ape2 = p;
2411
+ PUSH(aps, ape);
2412
+ PUSH(aps2, ape2);
2413
+ }
2414
+ goto st57;
2415
+ st57:
2416
+ if ( ++p == pe )
2417
+ goto _test_eof57;
2418
+ case 57:
2419
+ #line 2420 "hpricot_css.c"
2420
+ if ( (*p) == 93 )
2421
+ goto tr100;
2422
+ goto st57;
2423
+ tr96:
2424
+ #line 44 "hpricot_css.rl"
2425
+ {
2426
+ ape2 = p;
2427
+ PUSH(aps, ape);
2428
+ PUSH(aps2, ape2);
2429
+ }
2430
+ goto st58;
2431
+ st58:
2432
+ if ( ++p == pe )
2433
+ goto _test_eof58;
2434
+ case 58:
2435
+ #line 2436 "hpricot_css.c"
2436
+ switch( (*p) ) {
2437
+ case 32: goto st58;
2438
+ case 34: goto st59;
2439
+ case 39: goto st62;
2440
+ case 93: goto tr100;
2441
+ }
2442
+ if ( 9 <= (*p) && (*p) <= 13 )
2443
+ goto st58;
2444
+ goto st57;
2445
+ tr97:
2446
+ #line 44 "hpricot_css.rl"
2447
+ {
2448
+ ape2 = p;
2449
+ PUSH(aps, ape);
2450
+ PUSH(aps2, ape2);
2451
+ }
2452
+ goto st59;
2453
+ st59:
2454
+ if ( ++p == pe )
2455
+ goto _test_eof59;
2456
+ case 59:
2457
+ #line 2458 "hpricot_css.c"
2458
+ switch( (*p) ) {
2459
+ case 34: goto st57;
2460
+ case 93: goto tr104;
2461
+ }
2462
+ goto st59;
2463
+ tr104:
2464
+ #line 1 "NONE"
2465
+ {te = p+1;}
2466
+ goto st120;
2467
+ st120:
2468
+ if ( ++p == pe )
2469
+ goto _test_eof120;
2470
+ case 120:
2471
+ #line 2472 "hpricot_css.c"
2472
+ if ( (*p) == 34 )
2473
+ goto st61;
2474
+ goto st60;
2475
+ st60:
2476
+ if ( ++p == pe )
2477
+ goto _test_eof60;
2478
+ case 60:
2479
+ if ( (*p) == 34 )
2480
+ goto st61;
2481
+ goto st60;
2482
+ st61:
2483
+ if ( ++p == pe )
2484
+ goto _test_eof61;
2485
+ case 61:
2486
+ if ( (*p) == 93 )
2487
+ goto tr100;
2488
+ goto tr105;
2489
+ tr98:
2490
+ #line 44 "hpricot_css.rl"
2491
+ {
2492
+ ape2 = p;
2493
+ PUSH(aps, ape);
2494
+ PUSH(aps2, ape2);
2495
+ }
2496
+ goto st62;
2497
+ st62:
2498
+ if ( ++p == pe )
2499
+ goto _test_eof62;
2500
+ case 62:
2501
+ #line 2502 "hpricot_css.c"
2502
+ switch( (*p) ) {
2503
+ case 39: goto st57;
2504
+ case 93: goto tr108;
2505
+ }
2506
+ goto st62;
2507
+ tr108:
2508
+ #line 1 "NONE"
2509
+ {te = p+1;}
2510
+ goto st121;
2511
+ st121:
2512
+ if ( ++p == pe )
2513
+ goto _test_eof121;
2514
+ case 121:
2515
+ #line 2516 "hpricot_css.c"
2516
+ if ( (*p) == 39 )
2517
+ goto st61;
2518
+ goto st63;
2519
+ st63:
2520
+ if ( ++p == pe )
2521
+ goto _test_eof63;
2522
+ case 63:
2523
+ if ( (*p) == 39 )
2524
+ goto st61;
2525
+ goto st63;
2526
+ tr86:
2527
+ #line 39 "hpricot_css.rl"
2528
+ {
2529
+ ape = p;
2530
+ aps2 = p;
2531
+ }
2532
+ goto st64;
2533
+ st64:
2534
+ if ( ++p == pe )
2535
+ goto _test_eof64;
2536
+ case 64:
2537
+ #line 2538 "hpricot_css.c"
2538
+ if ( (*p) == 61 )
2539
+ goto st56;
2540
+ if ( -88 <= (*p) && (*p) <= -65 )
2541
+ goto st54;
2542
+ goto st0;
2543
+ tr87:
2544
+ #line 39 "hpricot_css.rl"
2545
+ {
2546
+ ape = p;
2547
+ aps2 = p;
2548
+ }
2549
+ goto st65;
2550
+ st65:
2551
+ if ( ++p == pe )
2552
+ goto _test_eof65;
2553
+ case 65:
2554
+ #line 2555 "hpricot_css.c"
2555
+ if ( (*p) == 61 )
2556
+ goto st56;
2557
+ if ( (*p) <= -65 )
2558
+ goto st54;
2559
+ goto st0;
2560
+ tr88:
2561
+ #line 39 "hpricot_css.rl"
2562
+ {
2563
+ ape = p;
2564
+ aps2 = p;
2565
+ }
2566
+ goto st66;
2567
+ st66:
2568
+ if ( ++p == pe )
2569
+ goto _test_eof66;
2570
+ case 66:
2571
+ #line 2572 "hpricot_css.c"
2572
+ if ( (*p) == 61 )
2573
+ goto st56;
2574
+ if ( (*p) <= -65 )
2575
+ goto st67;
2576
+ goto st0;
2577
+ tr78:
2578
+ #line 30 "hpricot_css.rl"
2579
+ {
2580
+ aps = p;
2581
+ }
2582
+ goto st67;
2583
+ st67:
2584
+ if ( ++p == pe )
2585
+ goto _test_eof67;
2586
+ case 67:
2587
+ #line 2588 "hpricot_css.c"
2588
+ if ( (*p) <= -65 )
2589
+ goto st54;
2590
+ goto st0;
2591
+ tr89:
2592
+ #line 39 "hpricot_css.rl"
2593
+ {
2594
+ ape = p;
2595
+ aps2 = p;
2596
+ }
2597
+ goto st68;
2598
+ st68:
2599
+ if ( ++p == pe )
2600
+ goto _test_eof68;
2601
+ case 68:
2602
+ #line 2603 "hpricot_css.c"
2603
+ if ( (*p) == 61 )
2604
+ goto st56;
2605
+ if ( (*p) <= -65 )
2606
+ goto st69;
2607
+ goto st0;
2608
+ tr79:
2609
+ #line 30 "hpricot_css.rl"
2610
+ {
2611
+ aps = p;
2612
+ }
2613
+ goto st69;
2614
+ st69:
2615
+ if ( ++p == pe )
2616
+ goto _test_eof69;
2617
+ case 69:
2618
+ #line 2619 "hpricot_css.c"
2619
+ if ( (*p) <= -65 )
2620
+ goto st67;
2621
+ goto st0;
2622
+ tr90:
2623
+ #line 39 "hpricot_css.rl"
2624
+ {
2625
+ ape = p;
2626
+ aps2 = p;
2627
+ }
2628
+ goto st70;
2629
+ st70:
2630
+ if ( ++p == pe )
2631
+ goto _test_eof70;
2632
+ case 70:
2633
+ #line 2634 "hpricot_css.c"
2634
+ switch( (*p) ) {
2635
+ case 32: goto st70;
2636
+ case 61: goto st71;
2637
+ }
2638
+ if ( 9 <= (*p) && (*p) <= 13 )
2639
+ goto st70;
2640
+ goto st55;
2641
+ tr92:
2642
+ #line 39 "hpricot_css.rl"
2643
+ {
2644
+ ape = p;
2645
+ aps2 = p;
2646
+ }
2647
+ goto st71;
2648
+ st71:
2649
+ if ( ++p == pe )
2650
+ goto _test_eof71;
2651
+ case 71:
2652
+ #line 2653 "hpricot_css.c"
2653
+ switch( (*p) ) {
2654
+ case 32: goto tr96;
2655
+ case 34: goto tr97;
2656
+ case 39: goto tr98;
2657
+ case 61: goto tr115;
2658
+ case 93: goto st0;
2659
+ }
2660
+ if ( 9 <= (*p) && (*p) <= 13 )
2661
+ goto tr96;
2662
+ goto tr95;
2663
+ tr115:
2664
+ #line 44 "hpricot_css.rl"
2665
+ {
2666
+ ape2 = p;
2667
+ PUSH(aps, ape);
2668
+ PUSH(aps2, ape2);
2669
+ }
2670
+ goto st72;
2671
+ st72:
2672
+ if ( ++p == pe )
2673
+ goto _test_eof72;
2674
+ case 72:
2675
+ #line 2676 "hpricot_css.c"
2676
+ switch( (*p) ) {
2677
+ case 32: goto tr96;
2678
+ case 34: goto tr97;
2679
+ case 39: goto tr98;
2680
+ case 93: goto tr100;
2681
+ }
2682
+ if ( 9 <= (*p) && (*p) <= 13 )
2683
+ goto tr96;
2684
+ goto tr95;
2685
+ tr93:
2686
+ #line 39 "hpricot_css.rl"
2687
+ {
2688
+ ape = p;
2689
+ aps2 = p;
2690
+ }
2691
+ goto st73;
2692
+ st73:
2693
+ if ( ++p == pe )
2694
+ goto _test_eof73;
2695
+ case 73:
2696
+ #line 2697 "hpricot_css.c"
2697
+ switch( (*p) ) {
2698
+ case 46: goto st54;
2699
+ case 61: goto st56;
2700
+ }
2701
+ goto st0;
2702
+ tr80:
2703
+ #line 30 "hpricot_css.rl"
2704
+ {
2705
+ aps = p;
2706
+ }
2707
+ goto st74;
2708
+ st74:
2709
+ if ( ++p == pe )
2710
+ goto _test_eof74;
2711
+ case 74:
2712
+ #line 2713 "hpricot_css.c"
2713
+ if ( (*p) <= -65 )
2714
+ goto st69;
2715
+ goto st0;
2716
+ tr82:
2717
+ #line 30 "hpricot_css.rl"
2718
+ {
2719
+ aps = p;
2720
+ }
2721
+ goto st75;
2722
+ st75:
2723
+ if ( ++p == pe )
2724
+ goto _test_eof75;
2725
+ case 75:
2726
+ #line 2727 "hpricot_css.c"
2727
+ if ( (*p) == 46 )
2728
+ goto st54;
2729
+ goto st0;
2730
+ tr83:
2731
+ #line 30 "hpricot_css.rl"
2732
+ {
2733
+ aps = p;
2734
+ }
2735
+ goto st76;
2736
+ st76:
2737
+ if ( ++p == pe )
2738
+ goto _test_eof76;
2739
+ case 76:
2740
+ #line 2741 "hpricot_css.c"
2741
+ switch( (*p) ) {
2742
+ case -60: goto tr86;
2743
+ case 32: goto tr90;
2744
+ case 45: goto tr91;
2745
+ case 61: goto tr92;
2746
+ case 92: goto tr93;
2747
+ case 95: goto tr91;
2748
+ case 97: goto tr116;
2749
+ }
2750
+ if ( (*p) < 9 ) {
2751
+ if ( (*p) < -32 ) {
2752
+ if ( -59 <= (*p) && (*p) <= -33 )
2753
+ goto tr87;
2754
+ } else if ( (*p) > -17 ) {
2755
+ if ( -16 <= (*p) && (*p) <= -12 )
2756
+ goto tr89;
2757
+ } else
2758
+ goto tr88;
2759
+ } else if ( (*p) > 13 ) {
2760
+ if ( (*p) < 65 ) {
2761
+ if ( 48 <= (*p) && (*p) <= 57 )
2762
+ goto tr91;
2763
+ } else if ( (*p) > 90 ) {
2764
+ if ( 98 <= (*p) && (*p) <= 122 )
2765
+ goto tr91;
2766
+ } else
2767
+ goto tr91;
2768
+ } else
2769
+ goto tr90;
2770
+ goto tr85;
2771
+ tr116:
2772
+ #line 39 "hpricot_css.rl"
2773
+ {
2774
+ ape = p;
2775
+ aps2 = p;
2776
+ }
2777
+ goto st77;
2778
+ st77:
2779
+ if ( ++p == pe )
2780
+ goto _test_eof77;
2781
+ case 77:
2782
+ #line 2783 "hpricot_css.c"
2783
+ switch( (*p) ) {
2784
+ case -60: goto tr86;
2785
+ case 32: goto tr90;
2786
+ case 45: goto tr91;
2787
+ case 61: goto tr92;
2788
+ case 92: goto tr93;
2789
+ case 95: goto tr91;
2790
+ case 109: goto tr117;
2791
+ }
2792
+ if ( (*p) < 9 ) {
2793
+ if ( (*p) < -32 ) {
2794
+ if ( -59 <= (*p) && (*p) <= -33 )
2795
+ goto tr87;
2796
+ } else if ( (*p) > -17 ) {
2797
+ if ( -16 <= (*p) && (*p) <= -12 )
2798
+ goto tr89;
2799
+ } else
2800
+ goto tr88;
2801
+ } else if ( (*p) > 13 ) {
2802
+ if ( (*p) < 65 ) {
2803
+ if ( 48 <= (*p) && (*p) <= 57 )
2804
+ goto tr91;
2805
+ } else if ( (*p) > 90 ) {
2806
+ if ( 97 <= (*p) && (*p) <= 122 )
2807
+ goto tr91;
2808
+ } else
2809
+ goto tr91;
2810
+ } else
2811
+ goto tr90;
2812
+ goto tr85;
2813
+ tr117:
2814
+ #line 39 "hpricot_css.rl"
2815
+ {
2816
+ ape = p;
2817
+ aps2 = p;
2818
+ }
2819
+ goto st78;
2820
+ st78:
2821
+ if ( ++p == pe )
2822
+ goto _test_eof78;
2823
+ case 78:
2824
+ #line 2825 "hpricot_css.c"
2825
+ switch( (*p) ) {
2826
+ case -60: goto tr86;
2827
+ case 32: goto tr90;
2828
+ case 45: goto tr91;
2829
+ case 61: goto tr92;
2830
+ case 92: goto tr93;
2831
+ case 95: goto tr91;
2832
+ case 101: goto tr118;
2833
+ }
2834
+ if ( (*p) < 9 ) {
2835
+ if ( (*p) < -32 ) {
2836
+ if ( -59 <= (*p) && (*p) <= -33 )
2837
+ goto tr87;
2838
+ } else if ( (*p) > -17 ) {
2839
+ if ( -16 <= (*p) && (*p) <= -12 )
2840
+ goto tr89;
2841
+ } else
2842
+ goto tr88;
2843
+ } else if ( (*p) > 13 ) {
2844
+ if ( (*p) < 65 ) {
2845
+ if ( 48 <= (*p) && (*p) <= 57 )
2846
+ goto tr91;
2847
+ } else if ( (*p) > 90 ) {
2848
+ if ( 97 <= (*p) && (*p) <= 122 )
2849
+ goto tr91;
2850
+ } else
2851
+ goto tr91;
2852
+ } else
2853
+ goto tr90;
2854
+ goto tr85;
2855
+ tr118:
2856
+ #line 39 "hpricot_css.rl"
2857
+ {
2858
+ ape = p;
2859
+ aps2 = p;
2860
+ }
2861
+ goto st79;
2862
+ st79:
2863
+ if ( ++p == pe )
2864
+ goto _test_eof79;
2865
+ case 79:
2866
+ #line 2867 "hpricot_css.c"
2867
+ switch( (*p) ) {
2868
+ case -60: goto tr86;
2869
+ case 32: goto tr90;
2870
+ case 45: goto tr91;
2871
+ case 61: goto tr119;
2872
+ case 92: goto tr93;
2873
+ case 95: goto tr91;
2874
+ }
2875
+ if ( (*p) < 9 ) {
2876
+ if ( (*p) < -32 ) {
2877
+ if ( -59 <= (*p) && (*p) <= -33 )
2878
+ goto tr87;
2879
+ } else if ( (*p) > -17 ) {
2880
+ if ( -16 <= (*p) && (*p) <= -12 )
2881
+ goto tr89;
2882
+ } else
2883
+ goto tr88;
2884
+ } else if ( (*p) > 13 ) {
2885
+ if ( (*p) < 65 ) {
2886
+ if ( 48 <= (*p) && (*p) <= 57 )
2887
+ goto tr91;
2888
+ } else if ( (*p) > 90 ) {
2889
+ if ( 97 <= (*p) && (*p) <= 122 )
2890
+ goto tr91;
2891
+ } else
2892
+ goto tr91;
2893
+ } else
2894
+ goto tr90;
2895
+ goto tr85;
2896
+ tr119:
2897
+ #line 39 "hpricot_css.rl"
2898
+ {
2899
+ ape = p;
2900
+ aps2 = p;
2901
+ }
2902
+ goto st80;
2903
+ st80:
2904
+ if ( ++p == pe )
2905
+ goto _test_eof80;
2906
+ case 80:
2907
+ #line 2908 "hpricot_css.c"
2908
+ switch( (*p) ) {
2909
+ case -60: goto tr120;
2910
+ case 32: goto tr96;
2911
+ case 34: goto tr97;
2912
+ case 39: goto tr98;
2913
+ case 45: goto tr124;
2914
+ case 61: goto tr115;
2915
+ case 92: goto tr125;
2916
+ case 93: goto st0;
2917
+ case 95: goto tr124;
2918
+ }
2919
+ if ( (*p) < 9 ) {
2920
+ if ( (*p) < -32 ) {
2921
+ if ( -59 <= (*p) && (*p) <= -33 )
2922
+ goto tr121;
2923
+ } else if ( (*p) > -17 ) {
2924
+ if ( -16 <= (*p) && (*p) <= -12 )
2925
+ goto tr123;
2926
+ } else
2927
+ goto tr122;
2928
+ } else if ( (*p) > 13 ) {
2929
+ if ( (*p) < 65 ) {
2930
+ if ( 48 <= (*p) && (*p) <= 57 )
2931
+ goto tr124;
2932
+ } else if ( (*p) > 90 ) {
2933
+ if ( 97 <= (*p) && (*p) <= 122 )
2934
+ goto tr124;
2935
+ } else
2936
+ goto tr124;
2937
+ } else
2938
+ goto tr96;
2939
+ goto tr95;
2940
+ tr120:
2941
+ #line 30 "hpricot_css.rl"
2942
+ {
2943
+ aps = p;
2944
+ }
2945
+ #line 44 "hpricot_css.rl"
2946
+ {
2947
+ ape2 = p;
2948
+ PUSH(aps, ape);
2949
+ PUSH(aps2, ape2);
2950
+ }
2951
+ goto st81;
2952
+ st81:
2953
+ if ( ++p == pe )
2954
+ goto _test_eof81;
2955
+ case 81:
2956
+ #line 2957 "hpricot_css.c"
2957
+ if ( (*p) == 93 )
2958
+ goto tr100;
2959
+ if ( -88 <= (*p) && (*p) <= -65 )
2960
+ goto st82;
2961
+ goto st57;
2962
+ tr124:
2963
+ #line 30 "hpricot_css.rl"
2964
+ {
2965
+ aps = p;
2966
+ }
2967
+ #line 44 "hpricot_css.rl"
2968
+ {
2969
+ ape2 = p;
2970
+ PUSH(aps, ape);
2971
+ PUSH(aps2, ape2);
2972
+ }
2973
+ goto st82;
2974
+ st82:
2975
+ if ( ++p == pe )
2976
+ goto _test_eof82;
2977
+ case 82:
2978
+ #line 2979 "hpricot_css.c"
2979
+ switch( (*p) ) {
2980
+ case -60: goto st81;
2981
+ case 45: goto st82;
2982
+ case 92: goto st86;
2983
+ case 93: goto tr132;
2984
+ case 95: goto st82;
2985
+ }
2986
+ if ( (*p) < -16 ) {
2987
+ if ( (*p) > -33 ) {
2988
+ if ( -32 <= (*p) && (*p) <= -17 )
2989
+ goto st84;
2990
+ } else if ( (*p) >= -59 )
2991
+ goto st83;
2992
+ } else if ( (*p) > -12 ) {
2993
+ if ( (*p) < 65 ) {
2994
+ if ( 48 <= (*p) && (*p) <= 57 )
2995
+ goto st82;
2996
+ } else if ( (*p) > 90 ) {
2997
+ if ( 97 <= (*p) && (*p) <= 122 )
2998
+ goto st82;
2999
+ } else
3000
+ goto st82;
3001
+ } else
3002
+ goto st85;
3003
+ goto st57;
3004
+ tr121:
3005
+ #line 30 "hpricot_css.rl"
3006
+ {
3007
+ aps = p;
3008
+ }
3009
+ #line 44 "hpricot_css.rl"
3010
+ {
3011
+ ape2 = p;
3012
+ PUSH(aps, ape);
3013
+ PUSH(aps2, ape2);
3014
+ }
3015
+ goto st83;
3016
+ st83:
3017
+ if ( ++p == pe )
3018
+ goto _test_eof83;
3019
+ case 83:
3020
+ #line 3021 "hpricot_css.c"
3021
+ if ( (*p) == 93 )
3022
+ goto tr100;
3023
+ if ( (*p) <= -65 )
3024
+ goto st82;
3025
+ goto st57;
3026
+ tr122:
3027
+ #line 30 "hpricot_css.rl"
3028
+ {
3029
+ aps = p;
3030
+ }
3031
+ #line 44 "hpricot_css.rl"
3032
+ {
3033
+ ape2 = p;
3034
+ PUSH(aps, ape);
3035
+ PUSH(aps2, ape2);
3036
+ }
3037
+ goto st84;
3038
+ st84:
3039
+ if ( ++p == pe )
3040
+ goto _test_eof84;
3041
+ case 84:
3042
+ #line 3043 "hpricot_css.c"
3043
+ if ( (*p) == 93 )
3044
+ goto tr100;
3045
+ if ( (*p) <= -65 )
3046
+ goto st83;
3047
+ goto st57;
3048
+ tr123:
3049
+ #line 30 "hpricot_css.rl"
3050
+ {
3051
+ aps = p;
3052
+ }
3053
+ #line 44 "hpricot_css.rl"
3054
+ {
3055
+ ape2 = p;
3056
+ PUSH(aps, ape);
3057
+ PUSH(aps2, ape2);
3058
+ }
3059
+ goto st85;
3060
+ st85:
3061
+ if ( ++p == pe )
3062
+ goto _test_eof85;
3063
+ case 85:
3064
+ #line 3065 "hpricot_css.c"
3065
+ if ( (*p) == 93 )
3066
+ goto tr100;
3067
+ if ( (*p) <= -65 )
3068
+ goto st84;
3069
+ goto st57;
3070
+ tr125:
3071
+ #line 30 "hpricot_css.rl"
3072
+ {
3073
+ aps = p;
3074
+ }
3075
+ #line 44 "hpricot_css.rl"
3076
+ {
3077
+ ape2 = p;
3078
+ PUSH(aps, ape);
3079
+ PUSH(aps2, ape2);
3080
+ }
3081
+ goto st86;
3082
+ st86:
3083
+ if ( ++p == pe )
3084
+ goto _test_eof86;
3085
+ case 86:
3086
+ #line 3087 "hpricot_css.c"
3087
+ switch( (*p) ) {
3088
+ case 46: goto st82;
3089
+ case 93: goto tr100;
3090
+ }
3091
+ goto st57;
3092
+ tr147:
3093
+ #line 1 "NONE"
3094
+ {te = p+1;}
3095
+ #line 30 "hpricot_css.rl"
3096
+ {
3097
+ aps = p;
3098
+ }
3099
+ #line 81 "hpricot_css.rl"
3100
+ {act = 5;}
3101
+ goto st122;
3102
+ st122:
3103
+ if ( ++p == pe )
3104
+ goto _test_eof122;
3105
+ case 122:
3106
+ #line 3107 "hpricot_css.c"
3107
+ switch( (*p) ) {
3108
+ case -60: goto st1;
3109
+ case 45: goto tr1;
3110
+ case 92: goto st5;
3111
+ case 95: goto tr1;
3112
+ case 118: goto tr201;
3113
+ }
3114
+ if ( (*p) < -16 ) {
3115
+ if ( (*p) > -33 ) {
3116
+ if ( -32 <= (*p) && (*p) <= -17 )
3117
+ goto st3;
3118
+ } else if ( (*p) >= -59 )
3119
+ goto st2;
3120
+ } else if ( (*p) > -12 ) {
3121
+ if ( (*p) < 65 ) {
3122
+ if ( 48 <= (*p) && (*p) <= 57 )
3123
+ goto tr1;
3124
+ } else if ( (*p) > 90 ) {
3125
+ if ( 97 <= (*p) && (*p) <= 122 )
3126
+ goto tr1;
3127
+ } else
3128
+ goto tr1;
3129
+ } else
3130
+ goto st4;
3131
+ goto tr149;
3132
+ tr201:
3133
+ #line 1 "NONE"
3134
+ {te = p+1;}
3135
+ #line 81 "hpricot_css.rl"
3136
+ {act = 5;}
3137
+ goto st123;
3138
+ st123:
3139
+ if ( ++p == pe )
3140
+ goto _test_eof123;
3141
+ case 123:
3142
+ #line 3143 "hpricot_css.c"
3143
+ switch( (*p) ) {
3144
+ case -60: goto st1;
3145
+ case 45: goto tr1;
3146
+ case 92: goto st5;
3147
+ case 95: goto tr1;
3148
+ case 101: goto tr202;
3149
+ }
3150
+ if ( (*p) < -16 ) {
3151
+ if ( (*p) > -33 ) {
3152
+ if ( -32 <= (*p) && (*p) <= -17 )
3153
+ goto st3;
3154
+ } else if ( (*p) >= -59 )
3155
+ goto st2;
3156
+ } else if ( (*p) > -12 ) {
3157
+ if ( (*p) < 65 ) {
3158
+ if ( 48 <= (*p) && (*p) <= 57 )
3159
+ goto tr1;
3160
+ } else if ( (*p) > 90 ) {
3161
+ if ( 97 <= (*p) && (*p) <= 122 )
3162
+ goto tr1;
3163
+ } else
3164
+ goto tr1;
3165
+ } else
3166
+ goto st4;
3167
+ goto tr149;
3168
+ tr202:
3169
+ #line 1 "NONE"
3170
+ {te = p+1;}
3171
+ #line 81 "hpricot_css.rl"
3172
+ {act = 5;}
3173
+ goto st124;
3174
+ st124:
3175
+ if ( ++p == pe )
3176
+ goto _test_eof124;
3177
+ case 124:
3178
+ #line 3179 "hpricot_css.c"
3179
+ switch( (*p) ) {
3180
+ case -60: goto st1;
3181
+ case 45: goto tr1;
3182
+ case 92: goto st5;
3183
+ case 95: goto tr1;
3184
+ }
3185
+ if ( (*p) < -16 ) {
3186
+ if ( (*p) > -33 ) {
3187
+ if ( -32 <= (*p) && (*p) <= -17 )
3188
+ goto st3;
3189
+ } else if ( (*p) >= -59 )
3190
+ goto st2;
3191
+ } else if ( (*p) > -12 ) {
3192
+ if ( (*p) < 65 ) {
3193
+ if ( 48 <= (*p) && (*p) <= 57 )
3194
+ goto tr1;
3195
+ } else if ( (*p) > 90 ) {
3196
+ if ( 97 <= (*p) && (*p) <= 122 )
3197
+ goto tr1;
3198
+ } else
3199
+ goto tr1;
3200
+ } else
3201
+ goto st4;
3202
+ goto tr149;
3203
+ tr148:
3204
+ #line 1 "NONE"
3205
+ {te = p+1;}
3206
+ #line 30 "hpricot_css.rl"
3207
+ {
3208
+ aps = p;
3209
+ }
3210
+ #line 81 "hpricot_css.rl"
3211
+ {act = 5;}
3212
+ goto st125;
3213
+ st125:
3214
+ if ( ++p == pe )
3215
+ goto _test_eof125;
3216
+ case 125:
3217
+ #line 3218 "hpricot_css.c"
3218
+ switch( (*p) ) {
3219
+ case -60: goto st1;
3220
+ case 45: goto tr1;
3221
+ case 92: goto st5;
3222
+ case 95: goto tr1;
3223
+ case 100: goto tr203;
3224
+ }
3225
+ if ( (*p) < -16 ) {
3226
+ if ( (*p) > -33 ) {
3227
+ if ( -32 <= (*p) && (*p) <= -17 )
3228
+ goto st3;
3229
+ } else if ( (*p) >= -59 )
3230
+ goto st2;
3231
+ } else if ( (*p) > -12 ) {
3232
+ if ( (*p) < 65 ) {
3233
+ if ( 48 <= (*p) && (*p) <= 57 )
3234
+ goto tr1;
3235
+ } else if ( (*p) > 90 ) {
3236
+ if ( 97 <= (*p) && (*p) <= 122 )
3237
+ goto tr1;
3238
+ } else
3239
+ goto tr1;
3240
+ } else
3241
+ goto st4;
3242
+ goto tr149;
3243
+ tr203:
3244
+ #line 1 "NONE"
3245
+ {te = p+1;}
3246
+ #line 81 "hpricot_css.rl"
3247
+ {act = 5;}
3248
+ goto st126;
3249
+ st126:
3250
+ if ( ++p == pe )
3251
+ goto _test_eof126;
3252
+ case 126:
3253
+ #line 3254 "hpricot_css.c"
3254
+ switch( (*p) ) {
3255
+ case -60: goto st1;
3256
+ case 45: goto tr1;
3257
+ case 92: goto st5;
3258
+ case 95: goto tr1;
3259
+ }
3260
+ if ( (*p) < -16 ) {
3261
+ if ( (*p) > -33 ) {
3262
+ if ( -32 <= (*p) && (*p) <= -17 )
3263
+ goto st3;
3264
+ } else if ( (*p) >= -59 )
3265
+ goto st2;
3266
+ } else if ( (*p) > -12 ) {
3267
+ if ( (*p) < 65 ) {
3268
+ if ( 48 <= (*p) && (*p) <= 57 )
3269
+ goto tr1;
3270
+ } else if ( (*p) > 90 ) {
3271
+ if ( 97 <= (*p) && (*p) <= 122 )
3272
+ goto tr1;
3273
+ } else
3274
+ goto tr1;
3275
+ } else
3276
+ goto st4;
3277
+ goto tr149;
3278
+ }
3279
+ _test_eof87: cs = 87; goto _test_eof;
3280
+ _test_eof1: cs = 1; goto _test_eof;
3281
+ _test_eof88: cs = 88; goto _test_eof;
3282
+ _test_eof2: cs = 2; goto _test_eof;
3283
+ _test_eof3: cs = 3; goto _test_eof;
3284
+ _test_eof4: cs = 4; goto _test_eof;
3285
+ _test_eof5: cs = 5; goto _test_eof;
3286
+ _test_eof89: cs = 89; goto _test_eof;
3287
+ _test_eof6: cs = 6; goto _test_eof;
3288
+ _test_eof90: cs = 90; goto _test_eof;
3289
+ _test_eof7: cs = 7; goto _test_eof;
3290
+ _test_eof8: cs = 8; goto _test_eof;
3291
+ _test_eof91: cs = 91; goto _test_eof;
3292
+ _test_eof9: cs = 9; goto _test_eof;
3293
+ _test_eof10: cs = 10; goto _test_eof;
3294
+ _test_eof11: cs = 11; goto _test_eof;
3295
+ _test_eof12: cs = 12; goto _test_eof;
3296
+ _test_eof92: cs = 92; goto _test_eof;
3297
+ _test_eof93: cs = 93; goto _test_eof;
3298
+ _test_eof13: cs = 13; goto _test_eof;
3299
+ _test_eof14: cs = 14; goto _test_eof;
3300
+ _test_eof94: cs = 94; goto _test_eof;
3301
+ _test_eof15: cs = 15; goto _test_eof;
3302
+ _test_eof16: cs = 16; goto _test_eof;
3303
+ _test_eof17: cs = 17; goto _test_eof;
3304
+ _test_eof18: cs = 18; goto _test_eof;
3305
+ _test_eof19: cs = 19; goto _test_eof;
3306
+ _test_eof20: cs = 20; goto _test_eof;
3307
+ _test_eof95: cs = 95; goto _test_eof;
3308
+ _test_eof21: cs = 21; goto _test_eof;
3309
+ _test_eof22: cs = 22; goto _test_eof;
3310
+ _test_eof23: cs = 23; goto _test_eof;
3311
+ _test_eof24: cs = 24; goto _test_eof;
3312
+ _test_eof25: cs = 25; goto _test_eof;
3313
+ _test_eof26: cs = 26; goto _test_eof;
3314
+ _test_eof27: cs = 27; goto _test_eof;
3315
+ _test_eof28: cs = 28; goto _test_eof;
3316
+ _test_eof29: cs = 29; goto _test_eof;
3317
+ _test_eof30: cs = 30; goto _test_eof;
3318
+ _test_eof31: cs = 31; goto _test_eof;
3319
+ _test_eof32: cs = 32; goto _test_eof;
3320
+ _test_eof33: cs = 33; goto _test_eof;
3321
+ _test_eof34: cs = 34; goto _test_eof;
3322
+ _test_eof35: cs = 35; goto _test_eof;
3323
+ _test_eof36: cs = 36; goto _test_eof;
3324
+ _test_eof37: cs = 37; goto _test_eof;
3325
+ _test_eof38: cs = 38; goto _test_eof;
3326
+ _test_eof39: cs = 39; goto _test_eof;
3327
+ _test_eof40: cs = 40; goto _test_eof;
3328
+ _test_eof41: cs = 41; goto _test_eof;
3329
+ _test_eof96: cs = 96; goto _test_eof;
3330
+ _test_eof97: cs = 97; goto _test_eof;
3331
+ _test_eof42: cs = 42; goto _test_eof;
3332
+ _test_eof43: cs = 43; goto _test_eof;
3333
+ _test_eof98: cs = 98; goto _test_eof;
3334
+ _test_eof99: cs = 99; goto _test_eof;
3335
+ _test_eof100: cs = 100; goto _test_eof;
3336
+ _test_eof101: cs = 101; goto _test_eof;
3337
+ _test_eof102: cs = 102; goto _test_eof;
3338
+ _test_eof103: cs = 103; goto _test_eof;
3339
+ _test_eof104: cs = 104; goto _test_eof;
3340
+ _test_eof105: cs = 105; goto _test_eof;
3341
+ _test_eof106: cs = 106; goto _test_eof;
3342
+ _test_eof107: cs = 107; goto _test_eof;
3343
+ _test_eof108: cs = 108; goto _test_eof;
3344
+ _test_eof109: cs = 109; goto _test_eof;
3345
+ _test_eof110: cs = 110; goto _test_eof;
3346
+ _test_eof44: cs = 44; goto _test_eof;
3347
+ _test_eof45: cs = 45; goto _test_eof;
3348
+ _test_eof46: cs = 46; goto _test_eof;
3349
+ _test_eof47: cs = 47; goto _test_eof;
3350
+ _test_eof48: cs = 48; goto _test_eof;
3351
+ _test_eof49: cs = 49; goto _test_eof;
3352
+ _test_eof50: cs = 50; goto _test_eof;
3353
+ _test_eof51: cs = 51; goto _test_eof;
3354
+ _test_eof111: cs = 111; goto _test_eof;
3355
+ _test_eof112: cs = 112; goto _test_eof;
3356
+ _test_eof113: cs = 113; goto _test_eof;
3357
+ _test_eof114: cs = 114; goto _test_eof;
3358
+ _test_eof115: cs = 115; goto _test_eof;
3359
+ _test_eof116: cs = 116; goto _test_eof;
3360
+ _test_eof117: cs = 117; goto _test_eof;
3361
+ _test_eof118: cs = 118; goto _test_eof;
3362
+ _test_eof119: cs = 119; goto _test_eof;
3363
+ _test_eof52: cs = 52; goto _test_eof;
3364
+ _test_eof53: cs = 53; goto _test_eof;
3365
+ _test_eof54: cs = 54; goto _test_eof;
3366
+ _test_eof55: cs = 55; goto _test_eof;
3367
+ _test_eof56: cs = 56; goto _test_eof;
3368
+ _test_eof57: cs = 57; goto _test_eof;
3369
+ _test_eof58: cs = 58; goto _test_eof;
3370
+ _test_eof59: cs = 59; goto _test_eof;
3371
+ _test_eof120: cs = 120; goto _test_eof;
3372
+ _test_eof60: cs = 60; goto _test_eof;
3373
+ _test_eof61: cs = 61; goto _test_eof;
3374
+ _test_eof62: cs = 62; goto _test_eof;
3375
+ _test_eof121: cs = 121; goto _test_eof;
3376
+ _test_eof63: cs = 63; goto _test_eof;
3377
+ _test_eof64: cs = 64; goto _test_eof;
3378
+ _test_eof65: cs = 65; goto _test_eof;
3379
+ _test_eof66: cs = 66; goto _test_eof;
3380
+ _test_eof67: cs = 67; goto _test_eof;
3381
+ _test_eof68: cs = 68; goto _test_eof;
3382
+ _test_eof69: cs = 69; goto _test_eof;
3383
+ _test_eof70: cs = 70; goto _test_eof;
3384
+ _test_eof71: cs = 71; goto _test_eof;
3385
+ _test_eof72: cs = 72; goto _test_eof;
3386
+ _test_eof73: cs = 73; goto _test_eof;
3387
+ _test_eof74: cs = 74; goto _test_eof;
3388
+ _test_eof75: cs = 75; goto _test_eof;
3389
+ _test_eof76: cs = 76; goto _test_eof;
3390
+ _test_eof77: cs = 77; goto _test_eof;
3391
+ _test_eof78: cs = 78; goto _test_eof;
3392
+ _test_eof79: cs = 79; goto _test_eof;
3393
+ _test_eof80: cs = 80; goto _test_eof;
3394
+ _test_eof81: cs = 81; goto _test_eof;
3395
+ _test_eof82: cs = 82; goto _test_eof;
3396
+ _test_eof83: cs = 83; goto _test_eof;
3397
+ _test_eof84: cs = 84; goto _test_eof;
3398
+ _test_eof85: cs = 85; goto _test_eof;
3399
+ _test_eof86: cs = 86; goto _test_eof;
3400
+ _test_eof122: cs = 122; goto _test_eof;
3401
+ _test_eof123: cs = 123; goto _test_eof;
3402
+ _test_eof124: cs = 124; goto _test_eof;
3403
+ _test_eof125: cs = 125; goto _test_eof;
3404
+ _test_eof126: cs = 126; goto _test_eof;
3405
+
3406
+ _test_eof: {}
3407
+ if ( p == eof )
3408
+ {
3409
+ switch ( cs ) {
3410
+ case 1: goto tr0;
3411
+ case 88: goto tr149;
3412
+ case 2: goto tr0;
3413
+ case 3: goto tr0;
3414
+ case 4: goto tr0;
3415
+ case 5: goto tr0;
3416
+ case 89: goto tr153;
3417
+ case 6: goto tr4;
3418
+ case 90: goto tr154;
3419
+ case 8: goto tr0;
3420
+ case 91: goto tr155;
3421
+ case 9: goto tr0;
3422
+ case 10: goto tr0;
3423
+ case 11: goto tr0;
3424
+ case 12: goto tr0;
3425
+ case 92: goto tr159;
3426
+ case 93: goto tr149;
3427
+ case 14: goto tr0;
3428
+ case 94: goto tr162;
3429
+ case 15: goto tr0;
3430
+ case 16: goto tr0;
3431
+ case 17: goto tr0;
3432
+ case 18: goto tr0;
3433
+ case 20: goto tr0;
3434
+ case 95: goto tr166;
3435
+ case 21: goto tr0;
3436
+ case 22: goto tr0;
3437
+ case 23: goto tr0;
3438
+ case 24: goto tr41;
3439
+ case 25: goto tr0;
3440
+ case 26: goto tr0;
3441
+ case 27: goto tr0;
3442
+ case 28: goto tr0;
3443
+ case 29: goto tr0;
3444
+ case 30: goto tr0;
3445
+ case 31: goto tr0;
3446
+ case 32: goto tr0;
3447
+ case 33: goto tr0;
3448
+ case 34: goto tr0;
3449
+ case 35: goto tr0;
3450
+ case 36: goto tr0;
3451
+ case 37: goto tr0;
3452
+ case 38: goto tr0;
3453
+ case 39: goto tr0;
3454
+ case 40: goto tr0;
3455
+ case 41: goto tr0;
3456
+ case 96: goto tr166;
3457
+ case 97: goto tr173;
3458
+ case 42: goto tr62;
3459
+ case 43: goto tr62;
3460
+ case 98: goto tr166;
3461
+ case 99: goto tr166;
3462
+ case 100: goto tr166;
3463
+ case 101: goto tr166;
3464
+ case 102: goto tr166;
3465
+ case 103: goto tr166;
3466
+ case 104: goto tr173;
3467
+ case 105: goto tr166;
3468
+ case 106: goto tr166;
3469
+ case 107: goto tr166;
3470
+ case 108: goto tr166;
3471
+ case 109: goto tr166;
3472
+ case 110: goto tr192;
3473
+ case 44: goto tr66;
3474
+ case 45: goto tr66;
3475
+ case 46: goto tr66;
3476
+ case 47: goto tr66;
3477
+ case 48: goto tr66;
3478
+ case 49: goto tr66;
3479
+ case 50: goto tr66;
3480
+ case 51: goto tr66;
3481
+ case 111: goto tr166;
3482
+ case 112: goto tr166;
3483
+ case 113: goto tr166;
3484
+ case 114: goto tr166;
3485
+ case 115: goto tr166;
3486
+ case 116: goto tr166;
3487
+ case 117: goto tr166;
3488
+ case 118: goto tr166;
3489
+ case 119: goto tr166;
3490
+ case 120: goto tr200;
3491
+ case 60: goto tr105;
3492
+ case 61: goto tr105;
3493
+ case 121: goto tr200;
3494
+ case 63: goto tr105;
3495
+ case 122: goto tr149;
3496
+ case 123: goto tr149;
3497
+ case 124: goto tr149;
3498
+ case 125: goto tr149;
3499
+ case 126: goto tr149;
3500
+ }
3501
+ }
3502
+
3503
+ _out: {}
3504
+ }
3505
+
3506
+ #line 116 "hpricot_css.rl"
3507
+
3508
+ rb_gc_unregister_address(&focus);
3509
+ rb_gc_unregister_address(&tmpt);
3510
+ return focus;
3511
+ }