refinerycms 0.9.6.19 → 0.9.6.21

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