why-hpricot 0.6.201

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