puppet 2.6.18 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (1050) hide show
  1. data/CHANGELOG +733 -187
  2. data/LICENSE +13 -13
  3. data/README.md +5 -9
  4. data/Rakefile +1 -1
  5. data/conf/auth.conf +8 -3
  6. data/conf/redhat/puppet.spec +21 -110
  7. data/conf/solaris/pkginfo +3 -4
  8. data/conf/suse/puppet.spec +1 -1
  9. data/ext/cert_inspector +140 -0
  10. data/ext/nagios/naggen +12 -5
  11. data/ext/puppet-test +11 -5
  12. data/ext/vim/README +1 -2
  13. data/ext/yaml_nodes.rb +11 -5
  14. data/install.rb +1 -54
  15. data/lib/puppet.rb +6 -10
  16. data/lib/puppet/application.rb +23 -32
  17. data/lib/puppet/application/agent.rb +228 -7
  18. data/lib/puppet/application/apply.rb +108 -36
  19. data/lib/puppet/application/catalog.rb +4 -0
  20. data/lib/puppet/application/cert.rb +128 -17
  21. data/lib/puppet/application/certificate.rb +18 -0
  22. data/lib/puppet/application/certificate_request.rb +4 -0
  23. data/lib/puppet/application/certificate_revocation_list.rb +4 -0
  24. data/lib/puppet/application/config.rb +4 -0
  25. data/lib/puppet/application/describe.rb +53 -0
  26. data/lib/puppet/application/device.rb +255 -0
  27. data/lib/puppet/application/doc.rb +92 -6
  28. data/lib/puppet/application/face_base.rb +246 -0
  29. data/lib/puppet/application/facts.rb +4 -0
  30. data/lib/puppet/application/file.rb +4 -0
  31. data/lib/puppet/application/filebucket.rb +102 -0
  32. data/lib/puppet/application/help.rb +4 -0
  33. data/lib/puppet/application/indirection_base.rb +4 -0
  34. data/lib/puppet/application/inspect.rb +21 -23
  35. data/lib/puppet/application/key.rb +4 -0
  36. data/lib/puppet/application/kick.rb +131 -4
  37. data/lib/puppet/application/man.rb +4 -0
  38. data/lib/puppet/application/master.rb +108 -40
  39. data/lib/puppet/application/node.rb +4 -0
  40. data/lib/puppet/application/parser.rb +5 -0
  41. data/lib/puppet/application/plugin.rb +3 -0
  42. data/lib/puppet/application/queue.rb +75 -13
  43. data/lib/puppet/application/report.rb +4 -0
  44. data/lib/puppet/application/resource.rb +115 -23
  45. data/lib/puppet/application/resource_type.rb +4 -0
  46. data/lib/puppet/application/secret_agent.rb +6 -0
  47. data/lib/puppet/application/status.rb +4 -0
  48. data/lib/puppet/configurer.rb +57 -61
  49. data/lib/puppet/configurer/fact_handler.rb +1 -6
  50. data/lib/puppet/daemon.rb +2 -2
  51. data/lib/puppet/defaults.rb +30 -88
  52. data/lib/puppet/dsl/resource_type_api.rb +19 -31
  53. data/lib/puppet/external/nagios/parser.rb +1 -1
  54. data/lib/puppet/face.rb +12 -0
  55. data/lib/puppet/face/catalog.rb +130 -0
  56. data/lib/puppet/face/catalog/select.rb +49 -0
  57. data/lib/puppet/face/certificate.rb +115 -0
  58. data/lib/puppet/face/certificate_request.rb +55 -0
  59. data/lib/puppet/face/certificate_revocation_list.rb +60 -0
  60. data/lib/puppet/face/config.rb +45 -0
  61. data/lib/puppet/face/facts.rb +81 -0
  62. data/lib/puppet/face/file.rb +47 -0
  63. data/lib/puppet/face/file/download.rb +54 -0
  64. data/lib/puppet/face/file/store.rb +21 -0
  65. data/lib/puppet/face/help.rb +131 -0
  66. data/lib/puppet/face/help/action.erb +53 -0
  67. data/lib/puppet/face/help/face.erb +79 -0
  68. data/lib/puppet/face/help/global.erb +19 -0
  69. data/lib/puppet/face/help/man.erb +136 -0
  70. data/lib/puppet/face/key.rb +15 -0
  71. data/lib/puppet/face/man.rb +93 -0
  72. data/lib/puppet/face/node.rb +43 -0
  73. data/lib/puppet/face/parser.rb +42 -0
  74. data/lib/puppet/face/plugin.rb +55 -0
  75. data/lib/puppet/face/report.rb +56 -0
  76. data/lib/puppet/face/resource.rb +53 -0
  77. data/lib/puppet/face/resource_type.rb +81 -0
  78. data/lib/puppet/face/secret_agent.rb +54 -0
  79. data/lib/puppet/face/status.rb +52 -0
  80. data/lib/puppet/feature/ssh.rb +4 -0
  81. data/lib/puppet/file_bucket/dipper.rb +3 -3
  82. data/lib/puppet/file_bucket/file.rb +6 -5
  83. data/lib/puppet/file_bucket/file/indirection_hooks.rb +9 -0
  84. data/lib/puppet/file_serving/configuration.rb +1 -2
  85. data/lib/puppet/file_serving/content.rb +2 -1
  86. data/lib/puppet/file_serving/{terminus_selector.rb → indirection_hooks.rb} +3 -2
  87. data/lib/puppet/file_serving/metadata.rb +2 -1
  88. data/lib/puppet/file_serving/mount/modules.rb +5 -4
  89. data/lib/puppet/indirector.rb +16 -43
  90. data/lib/puppet/indirector/catalog/active_record.rb +1 -1
  91. data/lib/puppet/indirector/catalog/compiler.rb +5 -15
  92. data/lib/puppet/indirector/catalog/static_compiler.rb +137 -0
  93. data/lib/puppet/indirector/certificate_request/ca.rb +8 -0
  94. data/lib/puppet/indirector/certificate_status.rb +4 -0
  95. data/lib/puppet/indirector/certificate_status/file.rb +82 -0
  96. data/lib/puppet/indirector/certificate_status/rest.rb +10 -0
  97. data/lib/puppet/indirector/couch.rb +5 -3
  98. data/lib/puppet/indirector/exec.rb +3 -3
  99. data/lib/puppet/indirector/face.rb +127 -0
  100. data/lib/puppet/indirector/facts/network_device.rb +25 -0
  101. data/lib/puppet/indirector/file.rb +79 -0
  102. data/lib/puppet/indirector/file_bucket_file/file.rb +0 -4
  103. data/lib/puppet/indirector/indirection.rb +1 -2
  104. data/lib/puppet/indirector/inventory/yaml.rb +81 -0
  105. data/lib/puppet/indirector/report/processor.rb +0 -2
  106. data/lib/puppet/indirector/request.rb +0 -4
  107. data/lib/puppet/indirector/resource/ral.rb +0 -4
  108. data/lib/puppet/indirector/resource_type/parser.rb +19 -3
  109. data/lib/puppet/indirector/rest.rb +11 -5
  110. data/lib/puppet/indirector/run/local.rb +0 -4
  111. data/lib/puppet/indirector/ssl_file.rb +1 -5
  112. data/lib/puppet/indirector/terminus.rb +3 -26
  113. data/lib/puppet/indirector/yaml.rb +0 -5
  114. data/lib/puppet/interface.rb +156 -0
  115. data/lib/puppet/interface/action.rb +284 -0
  116. data/lib/puppet/interface/action_builder.rb +74 -0
  117. data/lib/puppet/interface/action_manager.rb +70 -0
  118. data/lib/puppet/interface/documentation.rb +230 -0
  119. data/lib/puppet/interface/face_collection.rb +137 -0
  120. data/lib/puppet/interface/option.rb +108 -0
  121. data/lib/puppet/interface/option_builder.rb +54 -0
  122. data/lib/puppet/interface/option_manager.rb +67 -0
  123. data/lib/puppet/metatype/manager.rb +20 -7
  124. data/lib/puppet/module.rb +1 -1
  125. data/lib/puppet/network/client.rb +179 -0
  126. data/lib/puppet/network/client/ca.rb +56 -0
  127. data/lib/puppet/network/client/file.rb +6 -0
  128. data/lib/puppet/network/client/proxy.rb +27 -0
  129. data/lib/puppet/network/client/report.rb +26 -0
  130. data/lib/puppet/network/client/runner.rb +10 -0
  131. data/lib/puppet/network/client/status.rb +4 -0
  132. data/lib/puppet/network/format.rb +1 -1
  133. data/lib/puppet/network/formats.rb +63 -0
  134. data/lib/puppet/network/handler/ca.rb +106 -16
  135. data/lib/puppet/network/handler/filebucket.rb +2 -4
  136. data/lib/puppet/network/handler/fileserver.rb +3 -2
  137. data/lib/puppet/network/handler/master.rb +5 -3
  138. data/lib/puppet/network/handler/report.rb +0 -2
  139. data/lib/puppet/network/handler/runner.rb +0 -2
  140. data/lib/puppet/network/handler/status.rb +0 -2
  141. data/lib/puppet/network/http/api/v1.rb +11 -3
  142. data/lib/puppet/network/http/handler.rb +26 -35
  143. data/lib/puppet/network/http/rack/rest.rb +2 -7
  144. data/lib/puppet/network/http/webrick.rb +1 -2
  145. data/lib/puppet/network/http_pool.rb +8 -17
  146. data/lib/puppet/network/http_server/mongrel.rb +1 -0
  147. data/lib/puppet/network/http_server/webrick.rb +155 -0
  148. data/lib/puppet/network/rest_authconfig.rb +4 -3
  149. data/lib/puppet/network/rest_authorization.rb +2 -2
  150. data/lib/puppet/network/rights.rb +4 -9
  151. data/lib/puppet/network/server.rb +1 -1
  152. data/lib/puppet/network/xmlrpc/client.rb +211 -0
  153. data/lib/puppet/node.rb +2 -1
  154. data/lib/puppet/node/environment.rb +30 -3
  155. data/lib/puppet/node/facts.rb +15 -15
  156. data/lib/puppet/node/inventory.rb +7 -0
  157. data/lib/puppet/parser/ast.rb +6 -2
  158. data/lib/puppet/parser/ast/astarray.rb +12 -23
  159. data/lib/puppet/parser/ast/caseopt.rb +12 -24
  160. data/lib/puppet/parser/ast/definition.rb +17 -0
  161. data/lib/puppet/parser/ast/hostclass.rb +29 -0
  162. data/lib/puppet/parser/ast/leaf.rb +2 -2
  163. data/lib/puppet/parser/ast/node.rb +20 -0
  164. data/lib/puppet/parser/ast/resource.rb +42 -50
  165. data/lib/puppet/parser/ast/resource_instance.rb +9 -0
  166. data/lib/puppet/parser/ast/resource_override.rb +2 -3
  167. data/lib/puppet/parser/ast/resource_reference.rb +1 -1
  168. data/lib/puppet/parser/ast/top_level_construct.rb +4 -0
  169. data/lib/puppet/parser/ast/vardef.rb +1 -1
  170. data/lib/puppet/parser/compiler.rb +16 -17
  171. data/lib/puppet/parser/functions/create_resources.rb +47 -0
  172. data/lib/puppet/parser/functions/extlookup.rb +2 -7
  173. data/lib/puppet/parser/functions/fqdn_rand.rb +2 -2
  174. data/lib/puppet/parser/functions/sha1.rb +1 -1
  175. data/lib/puppet/parser/grammar.ra +67 -144
  176. data/lib/puppet/parser/lexer.rb +1 -1
  177. data/lib/puppet/parser/parser.rb +1190 -1262
  178. data/lib/puppet/parser/parser_support.rb +48 -73
  179. data/lib/puppet/parser/resource.rb +2 -19
  180. data/lib/puppet/parser/scope.rb +33 -103
  181. data/lib/puppet/parser/templatewrapper.rb +21 -22
  182. data/lib/puppet/parser/type_loader.rb +60 -35
  183. data/lib/puppet/provider/aixobject.rb +393 -0
  184. data/lib/puppet/provider/augeas/augeas.rb +37 -15
  185. data/lib/puppet/provider/cisco.rb +9 -0
  186. data/lib/puppet/provider/cron/crontab.rb +1 -7
  187. data/lib/puppet/provider/exec/posix.rb +3 -6
  188. data/lib/puppet/provider/exec/shell.rb +2 -11
  189. data/lib/puppet/provider/file/posix.rb +1 -1
  190. data/lib/puppet/provider/file/win32.rb +1 -1
  191. data/lib/puppet/provider/group/aix.rb +141 -0
  192. data/lib/puppet/provider/group/directoryservice.rb +0 -14
  193. data/lib/puppet/provider/host/parsed.rb +23 -55
  194. data/lib/puppet/provider/interface/base.rb +0 -0
  195. data/lib/puppet/provider/interface/cisco.rb +27 -0
  196. data/lib/puppet/provider/mcx/mcxcontent.rb +57 -96
  197. data/lib/puppet/provider/mount/parsed.rb +1 -1
  198. data/lib/puppet/provider/naginator.rb +1 -9
  199. data/lib/puppet/provider/nameservice/directoryservice.rb +41 -26
  200. data/lib/puppet/provider/network_device.rb +68 -0
  201. data/lib/puppet/provider/package/appdmg.rb +13 -13
  202. data/lib/puppet/provider/package/aptitude.rb +0 -1
  203. data/lib/puppet/provider/package/pip.rb +109 -0
  204. data/lib/puppet/provider/package/pkgdmg.rb +24 -32
  205. data/lib/puppet/provider/package/pkgutil.rb +175 -0
  206. data/lib/puppet/provider/package/yum.rb +8 -1
  207. data/lib/puppet/provider/service/daemontools.rb +1 -1
  208. data/lib/puppet/provider/service/launchd.rb +1 -1
  209. data/lib/puppet/provider/service/smf.rb +3 -3
  210. data/lib/puppet/provider/service/upstart.rb +73 -0
  211. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -10
  212. data/lib/puppet/provider/user/aix.rb +353 -0
  213. data/lib/puppet/provider/user/directoryservice.rb +0 -14
  214. data/lib/puppet/provider/user/user_role_add.rb +17 -32
  215. data/lib/puppet/provider/vlan/cisco.rb +28 -0
  216. data/lib/puppet/provider/zfs/solaris.rb +1 -1
  217. data/lib/puppet/provider/zone/solaris.rb +3 -0
  218. data/lib/puppet/provider/zpool/solaris.rb +7 -5
  219. data/lib/puppet/rails.rb +1 -1
  220. data/lib/puppet/rails/benchmark.rb +1 -1
  221. data/lib/puppet/rails/fact_name.rb +1 -0
  222. data/lib/puppet/rails/host.rb +0 -7
  223. data/lib/puppet/reference/configuration.rb +26 -101
  224. data/lib/puppet/reports/store.rb +3 -7
  225. data/lib/puppet/resource.rb +1 -1
  226. data/lib/puppet/resource/catalog.rb +86 -36
  227. data/lib/puppet/resource/type.rb +10 -15
  228. data/lib/puppet/resource/type_collection.rb +55 -63
  229. data/lib/puppet/simple_graph.rb +370 -269
  230. data/lib/puppet/ssl/base.rb +0 -8
  231. data/lib/puppet/ssl/certificate.rb +0 -6
  232. data/lib/puppet/ssl/certificate_authority.rb +24 -109
  233. data/lib/puppet/ssl/certificate_authority/interface.rb +19 -66
  234. data/lib/puppet/ssl/certificate_factory.rb +91 -112
  235. data/lib/puppet/ssl/certificate_request.rb +15 -98
  236. data/lib/puppet/ssl/certificate_revocation_list.rb +1 -1
  237. data/lib/puppet/ssl/host.rb +85 -51
  238. data/lib/puppet/ssl/inventory.rb +1 -1
  239. data/lib/puppet/sslcertificates.rb +146 -0
  240. data/lib/puppet/sslcertificates/ca.rb +375 -0
  241. data/lib/puppet/sslcertificates/certificate.rb +255 -0
  242. data/lib/puppet/sslcertificates/inventory.rb +38 -0
  243. data/lib/puppet/sslcertificates/support.rb +146 -0
  244. data/lib/puppet/status.rb +1 -1
  245. data/lib/puppet/transaction.rb +163 -94
  246. data/lib/puppet/transaction/event.rb +1 -1
  247. data/lib/puppet/transaction/event_manager.rb +19 -3
  248. data/lib/puppet/transaction/report.rb +9 -3
  249. data/lib/puppet/type.rb +107 -62
  250. data/lib/puppet/type/augeas.rb +10 -14
  251. data/lib/puppet/type/cron.rb +13 -14
  252. data/lib/puppet/type/exec.rb +0 -9
  253. data/lib/puppet/type/file.rb +20 -29
  254. data/lib/puppet/type/file/ctime.rb +1 -1
  255. data/lib/puppet/type/file/ensure.rb +1 -1
  256. data/lib/puppet/type/file/group.rb +1 -1
  257. data/lib/puppet/type/file/mode.rb +1 -1
  258. data/lib/puppet/type/file/mtime.rb +1 -1
  259. data/lib/puppet/type/file/selcontext.rb +1 -1
  260. data/lib/puppet/type/file/source.rb +3 -3
  261. data/lib/puppet/type/file/type.rb +1 -1
  262. data/lib/puppet/type/group.rb +36 -0
  263. data/lib/puppet/type/host.rb +18 -43
  264. data/lib/puppet/type/interface.rb +109 -0
  265. data/lib/puppet/type/k5login.rb +1 -4
  266. data/lib/puppet/type/macauthorization.rb +3 -3
  267. data/lib/puppet/type/mcx.rb +2 -21
  268. data/lib/puppet/type/router.rb +14 -0
  269. data/lib/puppet/type/schedule.rb +2 -0
  270. data/lib/puppet/type/service.rb +2 -0
  271. data/lib/puppet/type/sshkey.rb +6 -1
  272. data/lib/puppet/type/tidy.rb +12 -12
  273. data/lib/puppet/type/user.rb +36 -9
  274. data/lib/puppet/type/vlan.rb +26 -0
  275. data/lib/puppet/type/whit.rb +13 -1
  276. data/lib/puppet/type/zfs.rb +100 -8
  277. data/lib/puppet/type/zone.rb +45 -1
  278. data/lib/puppet/type/zpool.rb +1 -0
  279. data/lib/puppet/util.rb +63 -91
  280. data/lib/puppet/util/autoload.rb +16 -14
  281. data/lib/puppet/util/classgen.rb +13 -1
  282. data/lib/puppet/util/command_line.rb +109 -22
  283. data/lib/puppet/util/log.rb +1 -0
  284. data/lib/puppet/util/log/destinations.rb +16 -4
  285. data/lib/puppet/util/logging.rb +11 -0
  286. data/lib/puppet/util/monkey_patches.rb +7 -77
  287. data/lib/puppet/util/network_device.rb +17 -0
  288. data/lib/puppet/util/network_device/base.rb +27 -0
  289. data/lib/puppet/util/network_device/cisco.rb +4 -0
  290. data/lib/puppet/util/network_device/cisco/device.rb +256 -0
  291. data/lib/puppet/util/network_device/cisco/facts.rb +72 -0
  292. data/lib/puppet/util/network_device/cisco/interface.rb +82 -0
  293. data/lib/puppet/util/network_device/config.rb +93 -0
  294. data/lib/puppet/util/network_device/ipcalc.rb +68 -0
  295. data/lib/puppet/util/network_device/transport.rb +3 -0
  296. data/lib/puppet/util/network_device/transport/base.rb +26 -0
  297. data/lib/puppet/util/network_device/transport/ssh.rb +121 -0
  298. data/lib/puppet/util/network_device/transport/telnet.rb +42 -0
  299. data/lib/puppet/util/rdoc.rb +4 -10
  300. data/lib/puppet/util/rdoc/parser.rb +34 -23
  301. data/lib/puppet/util/reference.rb +7 -8
  302. data/lib/puppet/util/selinux.rb +2 -2
  303. data/lib/puppet/util/settings.rb +1 -6
  304. data/lib/puppet/util/settings/file_setting.rb +0 -1
  305. data/lib/puppet/util/suidmanager.rb +30 -79
  306. data/lib/puppet/util/zaml.rb +41 -40
  307. data/man/man5/puppet.conf.5 +291 -873
  308. data/man/man8/filebucket.8 +47 -71
  309. data/man/man8/pi.8 +44 -10
  310. data/man/man8/puppet-agent.8 +154 -0
  311. data/man/man8/puppet-apply.8 +75 -0
  312. data/man/man8/puppet-catalog.8 +286 -0
  313. data/man/man8/puppet-cert.8 +97 -0
  314. data/man/man8/puppet-certificate.8 +229 -0
  315. data/man/man8/puppet-certificate_request.8 +168 -0
  316. data/man/man8/puppet-certificate_revocation_list.8 +165 -0
  317. data/man/man8/puppet-config.8 +80 -0
  318. data/man/man8/puppet-describe.8 +51 -0
  319. data/man/man8/puppet-device.8 +86 -0
  320. data/man/man8/puppet-doc.8 +101 -0
  321. data/man/man8/puppet-facts.8 +217 -0
  322. data/man/man8/puppet-file.8 +225 -0
  323. data/man/man8/puppet-filebucket.8 +81 -0
  324. data/man/man8/puppet-help.8 +71 -0
  325. data/man/man8/puppet-inspect.8 +28 -0
  326. data/man/man8/puppet-key.8 +126 -0
  327. data/man/man8/puppet-kick.8 +95 -0
  328. data/man/man8/puppet-man.8 +74 -0
  329. data/man/man8/puppet-master.8 +74 -0
  330. data/man/man8/puppet-node.8 +171 -0
  331. data/man/man8/puppet-parser.8 +71 -0
  332. data/man/man8/puppet-plugin.8 +77 -0
  333. data/man/man8/puppet-queue.8 +55 -0
  334. data/man/man8/puppet-report.8 +187 -0
  335. data/man/man8/puppet-resource.8 +84 -0
  336. data/man/man8/puppet-resource_type.8 +214 -0
  337. data/man/man8/puppet-secret_agent.8 +74 -0
  338. data/man/man8/puppet-status.8 +150 -0
  339. data/man/man8/puppet.8 +2 -2
  340. data/man/man8/puppetca.8 +64 -136
  341. data/man/man8/puppetd.8 +99 -228
  342. data/man/man8/puppetdoc.8 +41 -48
  343. data/man/man8/puppetmasterd.8 +54 -32
  344. data/man/man8/puppetqd.8 +45 -10
  345. data/man/man8/puppetrun.8 +56 -134
  346. data/man/man8/ralsh.8 +48 -49
  347. data/spec/fixtures/faulty_face/puppet/face/syntax.rb +8 -0
  348. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +28 -0
  349. data/spec/fixtures/unit/parser/lexer/aliastest.pp +16 -0
  350. data/spec/fixtures/unit/parser/lexer/append.pp +11 -0
  351. data/spec/fixtures/unit/parser/lexer/argumentdefaults.pp +14 -0
  352. data/spec/fixtures/unit/parser/lexer/arithmetic_expression.pp +8 -0
  353. data/spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp +3 -0
  354. data/spec/fixtures/unit/parser/lexer/casestatement.pp +65 -0
  355. data/spec/fixtures/unit/parser/lexer/classheirarchy.pp +15 -0
  356. data/spec/fixtures/unit/parser/lexer/classincludes.pp +17 -0
  357. data/spec/fixtures/unit/parser/lexer/classpathtest.pp +11 -0
  358. data/spec/fixtures/unit/parser/lexer/collection.pp +10 -0
  359. data/spec/fixtures/unit/parser/lexer/collection_override.pp +8 -0
  360. data/spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp +20 -0
  361. data/spec/fixtures/unit/parser/lexer/componentmetaparams.pp +11 -0
  362. data/spec/fixtures/unit/parser/lexer/componentrequire.pp +8 -0
  363. data/spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp +23 -0
  364. data/spec/fixtures/unit/parser/lexer/defineoverrides.pp +17 -0
  365. data/spec/fixtures/unit/parser/lexer/emptyclass.pp +9 -0
  366. data/spec/fixtures/unit/parser/lexer/emptyexec.pp +3 -0
  367. data/spec/fixtures/unit/parser/lexer/emptyifelse.pp +9 -0
  368. data/spec/fixtures/unit/parser/lexer/falsevalues.pp +3 -0
  369. data/spec/fixtures/unit/parser/lexer/filecreate.pp +11 -0
  370. data/spec/fixtures/unit/parser/lexer/fqdefinition.pp +5 -0
  371. data/spec/fixtures/unit/parser/lexer/fqparents.pp +11 -0
  372. data/spec/fixtures/unit/parser/lexer/funccomma.pp +5 -0
  373. data/spec/fixtures/unit/parser/lexer/hash.pp +33 -0
  374. data/spec/fixtures/unit/parser/lexer/ifexpression.pp +12 -0
  375. data/spec/fixtures/unit/parser/lexer/implicititeration.pp +15 -0
  376. data/spec/fixtures/unit/parser/lexer/multilinecomments.pp +10 -0
  377. data/spec/fixtures/unit/parser/lexer/multipleclass.pp +9 -0
  378. data/spec/fixtures/unit/parser/lexer/multipleinstances.pp +7 -0
  379. data/spec/fixtures/unit/parser/lexer/multisubs.pp +13 -0
  380. data/spec/fixtures/unit/parser/lexer/namevartest.pp +9 -0
  381. data/spec/fixtures/unit/parser/lexer/scopetest.pp +13 -0
  382. data/spec/fixtures/unit/parser/lexer/selectorvalues.pp +49 -0
  383. data/spec/fixtures/unit/parser/lexer/simpledefaults.pp +5 -0
  384. data/spec/fixtures/unit/parser/lexer/simpleselector.pp +38 -0
  385. data/spec/fixtures/unit/parser/lexer/singleary.pp +19 -0
  386. data/spec/fixtures/unit/parser/lexer/singlequote.pp +11 -0
  387. data/spec/fixtures/unit/parser/lexer/singleselector.pp +22 -0
  388. data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +11 -0
  389. data/spec/fixtures/unit/parser/lexer/tag.pp +9 -0
  390. data/spec/fixtures/unit/parser/lexer/tagged.pp +35 -0
  391. data/spec/fixtures/unit/parser/lexer/virtualresources.pp +14 -0
  392. data/spec/fixtures/unit/provider/host/parsed/valid_hosts +19 -0
  393. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +144 -0
  394. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -0
  395. data/spec/fixtures/unit/provider/mount/parsed/darwin.mount +6 -0
  396. data/spec/fixtures/unit/provider/mount/parsed/freebsd.fstab +8 -0
  397. data/spec/fixtures/unit/provider/mount/parsed/freebsd.mount +3 -0
  398. data/spec/fixtures/unit/provider/mount/parsed/hpux.mount +17 -0
  399. data/spec/fixtures/unit/provider/mount/parsed/linux.fstab +11 -0
  400. data/spec/fixtures/unit/provider/mount/parsed/linux.mount +5 -0
  401. data/spec/fixtures/unit/provider/mount/parsed/netbsd.fstab +9 -0
  402. data/spec/fixtures/unit/provider/mount/parsed/netbsd.mount +8 -0
  403. data/spec/fixtures/unit/provider/mount/parsed/openbsd.fstab +4 -0
  404. data/spec/fixtures/unit/provider/mount/parsed/openbsd.mount +4 -0
  405. data/spec/fixtures/unit/provider/mount/parsed/solaris.fstab +11 -0
  406. data/spec/fixtures/unit/provider/mount/parsed/solaris.mount +6 -0
  407. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys +7 -0
  408. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1 +3 -0
  409. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2 +1 -0
  410. data/spec/fixtures/unit/reports/tagmail/tagmail_failers.conf +3 -0
  411. data/spec/fixtures/unit/reports/tagmail/tagmail_passers.conf +30 -0
  412. data/spec/fixtures/unit/util/rdoc/basic.pp +16 -0
  413. data/spec/integration/application/apply_spec.rb +2 -5
  414. data/spec/integration/application/doc_spec.rb +5 -6
  415. data/spec/integration/configurer_spec.rb +10 -6
  416. data/spec/integration/defaults_spec.rb +18 -52
  417. data/spec/integration/faces/documentation_spec.rb +55 -0
  418. data/spec/integration/file_serving/content_spec.rb +10 -3
  419. data/spec/integration/file_serving/fileset_spec.rb +2 -3
  420. data/spec/integration/file_serving/metadata_spec.rb +10 -3
  421. data/spec/integration/file_serving/terminus_helper_spec.rb +2 -3
  422. data/spec/integration/indirector/catalog/compiler_spec.rb +7 -12
  423. data/spec/integration/indirector/catalog/queue_spec.rb +3 -4
  424. data/spec/integration/indirector/direct_file_server_spec.rb +2 -2
  425. data/spec/integration/indirector/file_content/file_server_spec.rb +7 -7
  426. data/spec/integration/indirector/file_metadata/file_server_spec.rb +2 -2
  427. data/spec/integration/indirector/node/ldap_spec.rb +3 -4
  428. data/spec/integration/network/client_spec.rb +18 -0
  429. data/spec/integration/network/formats_spec.rb +3 -4
  430. data/spec/integration/network/handler_spec.rb +3 -4
  431. data/spec/integration/network/server/mongrel_spec.rb +3 -4
  432. data/spec/integration/network/server/webrick_spec.rb +4 -4
  433. data/spec/integration/node/environment_spec.rb +2 -3
  434. data/spec/integration/node/facts_spec.rb +6 -6
  435. data/spec/integration/node_spec.rb +16 -16
  436. data/spec/integration/parser/collector_spec.rb +3 -4
  437. data/spec/integration/parser/compiler_spec.rb +43 -3
  438. data/spec/integration/parser/functions/require_spec.rb +2 -3
  439. data/spec/integration/parser/functions_spec.rb +3 -4
  440. data/spec/integration/parser/parser_spec.rb +7 -6
  441. data/spec/integration/parser/ruby_manifest_spec.rb +2 -3
  442. data/spec/integration/provider/mailalias/aliases_spec.rb +5 -19
  443. data/spec/integration/provider/mount_spec.rb +2 -2
  444. data/spec/integration/provider/package_spec.rb +3 -4
  445. data/spec/integration/provider/service/init_spec.rb +4 -6
  446. data/spec/integration/reference/providers_spec.rb +2 -3
  447. data/spec/integration/reports_spec.rb +2 -2
  448. data/spec/integration/resource/catalog_spec.rb +6 -7
  449. data/spec/integration/resource/type_collection_spec.rb +2 -3
  450. data/spec/integration/ssl/certificate_authority_spec.rb +7 -7
  451. data/spec/integration/ssl/certificate_request_spec.rb +7 -7
  452. data/spec/integration/ssl/certificate_revocation_list_spec.rb +2 -2
  453. data/spec/integration/ssl/host_spec.rb +4 -4
  454. data/spec/integration/transaction/report_spec.rb +3 -3
  455. data/spec/integration/transaction_spec.rb +61 -6
  456. data/spec/integration/type/file_spec.rb +10 -8
  457. data/spec/integration/type/package_spec.rb +2 -3
  458. data/spec/integration/type/tidy_spec.rb +2 -3
  459. data/spec/integration/type_spec.rb +2 -14
  460. data/spec/integration/util/autoload_spec.rb +2 -3
  461. data/spec/integration/util/feature_spec.rb +2 -3
  462. data/spec/integration/util/file_locking_spec.rb +3 -4
  463. data/spec/integration/util/rdoc/parser_spec.rb +3 -4
  464. data/spec/integration/util/settings_spec.rb +2 -3
  465. data/spec/lib/matchers/json.rb +111 -0
  466. data/spec/lib/puppet/face/basetest.rb +46 -0
  467. data/spec/lib/puppet/face/huzzah.rb +7 -0
  468. data/spec/lib/puppet/face/version_matching.rb +12 -0
  469. data/spec/lib/puppet_spec/files.rb +38 -5
  470. data/spec/lib/puppet_spec/fixtures.rb +28 -0
  471. data/spec/lib/puppet_spec/matchers.rb +87 -0
  472. data/spec/lib/puppet_spec/verbose.rb +0 -0
  473. data/spec/monkey_patches/alias_should_to_must.rb +0 -0
  474. data/spec/monkey_patches/publicize_methods.rb +0 -0
  475. data/spec/shared_behaviours/all_parsedfile_providers.rb +21 -0
  476. data/spec/shared_behaviours/an_indirector_face.rb +6 -0
  477. data/spec/shared_behaviours/documentation_on_faces.rb +263 -0
  478. data/spec/shared_behaviours/file_server_terminus.rb +1 -1
  479. data/spec/shared_behaviours/file_serving.rb +61 -70
  480. data/spec/shared_behaviours/memory_terminus.rb +0 -0
  481. data/spec/shared_behaviours/path_parameters.rb +0 -0
  482. data/spec/shared_behaviours/things_that_declare_options.rb +150 -0
  483. data/spec/spec.opts +0 -2
  484. data/spec/spec_helper.rb +33 -75
  485. data/spec/unit/agent/locker_spec.rb +2 -3
  486. data/spec/unit/agent_spec.rb +2 -2
  487. data/spec/unit/application/agent_spec.rb +51 -76
  488. data/spec/unit/application/apply_spec.rb +86 -150
  489. data/spec/unit/application/cert_spec.rb +8 -30
  490. data/spec/unit/application/certificate_spec.rb +20 -0
  491. data/spec/unit/application/config_spec.rb +9 -0
  492. data/spec/unit/application/describe_spec.rb +2 -3
  493. data/spec/unit/application/device_spec.rb +342 -0
  494. data/spec/unit/application/doc_spec.rb +11 -18
  495. data/spec/unit/application/face_base_spec.rb +360 -0
  496. data/spec/unit/application/facts_spec.rb +27 -0
  497. data/spec/unit/application/filebucket_spec.rb +7 -18
  498. data/spec/unit/application/indirection_base_spec.rb +42 -0
  499. data/spec/unit/application/inspect_spec.rb +7 -13
  500. data/spec/unit/application/kick_spec.rb +15 -38
  501. data/spec/unit/application/master_spec.rb +25 -81
  502. data/spec/unit/application/queue_spec.rb +12 -22
  503. data/spec/unit/application/resource_spec.rb +19 -53
  504. data/spec/unit/application/secret_agent_spec.rb +32 -0
  505. data/spec/unit/application_spec.rb +65 -34
  506. data/spec/unit/configurer/downloader_spec.rb +2 -3
  507. data/spec/unit/configurer/fact_handler_spec.rb +39 -46
  508. data/spec/unit/configurer/plugin_handler_spec.rb +2 -3
  509. data/spec/unit/configurer_spec.rb +329 -411
  510. data/spec/unit/daemon_spec.rb +7 -14
  511. data/spec/unit/dsl/resource_api_spec.rb +2 -3
  512. data/spec/unit/dsl/resource_type_api_spec.rb +24 -37
  513. data/spec/unit/face/catalog_spec.rb +7 -0
  514. data/spec/unit/face/certificate_request_spec.rb +7 -0
  515. data/spec/unit/face/certificate_revocation_list_spec.rb +7 -0
  516. data/spec/unit/face/certificate_spec.rb +23 -0
  517. data/spec/unit/face/config_spec.rb +24 -0
  518. data/spec/unit/face/facts_spec.rb +23 -0
  519. data/spec/unit/face/file_spec.rb +12 -0
  520. data/spec/unit/face/help_spec.rb +129 -0
  521. data/spec/unit/face/key_spec.rb +7 -0
  522. data/spec/unit/face/node_spec.rb +7 -0
  523. data/spec/unit/face/plugin_spec.rb +10 -0
  524. data/spec/unit/face/report_spec.rb +7 -0
  525. data/spec/unit/face/resource_spec.rb +7 -0
  526. data/spec/unit/face/resource_type_spec.rb +7 -0
  527. data/spec/unit/face/secret_agent_spec.rb +25 -0
  528. data/spec/unit/face_spec.rb +1 -0
  529. data/spec/unit/file_bucket/dipper_spec.rb +7 -8
  530. data/spec/unit/file_bucket/file_spec.rb +7 -16
  531. data/spec/unit/file_collection/lookup_spec.rb +2 -3
  532. data/spec/unit/file_collection_spec.rb +2 -3
  533. data/spec/unit/file_serving/base_spec.rb +2 -3
  534. data/spec/unit/file_serving/configuration/parser_spec.rb +2 -3
  535. data/spec/unit/file_serving/configuration_spec.rb +31 -40
  536. data/spec/unit/file_serving/content_spec.rb +6 -3
  537. data/spec/unit/file_serving/fileset_spec.rb +2 -3
  538. data/spec/unit/file_serving/{terminus_selector_spec.rb → indirection_hooks_spec.rb} +14 -13
  539. data/spec/unit/file_serving/metadata_spec.rb +6 -3
  540. data/spec/unit/file_serving/mount/file_spec.rb +2 -3
  541. data/spec/unit/file_serving/mount/modules_spec.rb +2 -11
  542. data/spec/unit/file_serving/mount/plugins_spec.rb +2 -3
  543. data/spec/unit/file_serving/mount_spec.rb +2 -3
  544. data/spec/unit/file_serving/terminus_helper_spec.rb +2 -2
  545. data/spec/unit/indirector/active_record_spec.rb +5 -7
  546. data/spec/unit/indirector/catalog/active_record_spec.rb +2 -3
  547. data/spec/unit/indirector/catalog/compiler_spec.rb +30 -50
  548. data/spec/unit/indirector/catalog/queue_spec.rb +2 -3
  549. data/spec/unit/indirector/catalog/rest_spec.rb +2 -3
  550. data/spec/unit/indirector/catalog/yaml_spec.rb +2 -3
  551. data/spec/unit/indirector/certificate/ca_spec.rb +2 -2
  552. data/spec/unit/indirector/certificate/file_spec.rb +2 -2
  553. data/spec/unit/indirector/certificate/rest_spec.rb +2 -3
  554. data/spec/unit/indirector/certificate_request/ca_spec.rb +47 -2
  555. data/spec/unit/indirector/certificate_request/file_spec.rb +2 -2
  556. data/spec/unit/indirector/certificate_request/rest_spec.rb +2 -3
  557. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +2 -2
  558. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +2 -2
  559. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +2 -3
  560. data/spec/unit/indirector/certificate_status/file_spec.rb +187 -0
  561. data/spec/unit/indirector/certificate_status/rest_spec.rb +14 -0
  562. data/spec/unit/indirector/code_spec.rb +6 -8
  563. data/spec/unit/indirector/direct_file_server_spec.rb +6 -7
  564. data/spec/unit/indirector/envelope_spec.rb +2 -3
  565. data/spec/unit/indirector/exec_spec.rb +12 -13
  566. data/spec/unit/indirector/face_spec.rb +68 -0
  567. data/spec/unit/indirector/facts/active_record_spec.rb +2 -3
  568. data/spec/unit/indirector/facts/couch_spec.rb +71 -66
  569. data/spec/unit/indirector/facts/facter_spec.rb +2 -2
  570. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +20 -20
  571. data/spec/unit/indirector/facts/network_device_spec.rb +89 -0
  572. data/spec/unit/indirector/facts/rest_spec.rb +2 -3
  573. data/spec/unit/indirector/facts/yaml_spec.rb +2 -3
  574. data/spec/unit/indirector/file_bucket_file/file_spec.rb +17 -18
  575. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +2 -3
  576. data/spec/unit/indirector/file_content/file_server_spec.rb +2 -2
  577. data/spec/unit/indirector/file_content/file_spec.rb +2 -2
  578. data/spec/unit/indirector/file_content/rest_spec.rb +2 -3
  579. data/spec/unit/indirector/file_metadata/file_server_spec.rb +2 -2
  580. data/spec/unit/indirector/file_metadata/file_spec.rb +2 -2
  581. data/spec/unit/indirector/file_metadata/rest_spec.rb +2 -3
  582. data/spec/unit/indirector/file_server_spec.rb +8 -7
  583. data/spec/unit/indirector/file_spec.rb +179 -0
  584. data/spec/unit/indirector/indirection_spec.rb +3 -24
  585. data/spec/unit/indirector/inventory/yaml_spec.rb +220 -0
  586. data/spec/unit/indirector/key/ca_spec.rb +2 -2
  587. data/spec/unit/indirector/key/file_spec.rb +2 -2
  588. data/spec/unit/indirector/ldap_spec.rb +6 -8
  589. data/spec/unit/indirector/memory_spec.rb +5 -7
  590. data/spec/unit/indirector/node/active_record_spec.rb +2 -3
  591. data/spec/unit/indirector/node/exec_spec.rb +3 -4
  592. data/spec/unit/indirector/node/ldap_spec.rb +3 -4
  593. data/spec/unit/indirector/node/memory_spec.rb +2 -3
  594. data/spec/unit/indirector/node/plain_spec.rb +2 -3
  595. data/spec/unit/indirector/node/rest_spec.rb +2 -3
  596. data/spec/unit/indirector/node/yaml_spec.rb +2 -3
  597. data/spec/unit/indirector/plain_spec.rb +5 -7
  598. data/spec/unit/indirector/queue_spec.rb +11 -14
  599. data/spec/unit/indirector/report/processor_spec.rb +7 -9
  600. data/spec/unit/indirector/report/rest_spec.rb +2 -3
  601. data/spec/unit/indirector/report/yaml_spec.rb +3 -4
  602. data/spec/unit/indirector/request_spec.rb +3 -25
  603. data/spec/unit/indirector/resource/ral_spec.rb +3 -4
  604. data/spec/unit/indirector/resource/rest_spec.rb +2 -3
  605. data/spec/unit/indirector/resource_type/parser_spec.rb +87 -13
  606. data/spec/unit/indirector/resource_type/rest_spec.rb +2 -3
  607. data/spec/unit/indirector/rest_spec.rb +45 -16
  608. data/spec/unit/indirector/run/local_spec.rb +2 -3
  609. data/spec/unit/indirector/run/rest_spec.rb +2 -3
  610. data/spec/unit/indirector/ssl_file_spec.rb +9 -27
  611. data/spec/unit/indirector/status/rest_spec.rb +2 -3
  612. data/spec/unit/indirector/terminus_spec.rb +180 -187
  613. data/spec/unit/indirector/yaml_spec.rb +9 -23
  614. data/spec/unit/indirector_spec.rb +61 -79
  615. data/spec/unit/interface/action_builder_spec.rb +214 -0
  616. data/spec/unit/interface/action_manager_spec.rb +282 -0
  617. data/spec/unit/interface/action_spec.rb +545 -0
  618. data/spec/unit/interface/documentation_spec.rb +34 -0
  619. data/spec/unit/interface/face_collection_spec.rb +180 -0
  620. data/spec/unit/interface/option_builder_spec.rb +77 -0
  621. data/spec/unit/interface/option_spec.rb +100 -0
  622. data/spec/unit/interface_spec.rb +228 -0
  623. data/spec/unit/module_spec.rb +34 -10
  624. data/spec/unit/network/authconfig_spec.rb +3 -4
  625. data/spec/unit/network/authstore_spec.rb +3 -4
  626. data/spec/unit/network/client_spec.rb +45 -0
  627. data/spec/unit/network/format_handler_spec.rb +2 -3
  628. data/spec/unit/network/format_spec.rb +2 -3
  629. data/spec/unit/network/formats_spec.rb +107 -3
  630. data/spec/unit/network/handler/fileserver_spec.rb +3 -4
  631. data/spec/unit/network/http/api/v1_spec.rb +61 -27
  632. data/spec/unit/network/http/compression_spec.rb +2 -3
  633. data/spec/unit/network/http/handler_spec.rb +78 -109
  634. data/spec/unit/network/http/mongrel/rest_spec.rb +3 -4
  635. data/spec/unit/network/http/mongrel_spec.rb +6 -6
  636. data/spec/unit/network/http/rack/rest_spec.rb +2 -20
  637. data/spec/unit/network/http/rack/xmlrpc_spec.rb +2 -3
  638. data/spec/unit/network/http/rack_spec.rb +2 -3
  639. data/spec/unit/network/http/webrick/rest_spec.rb +3 -4
  640. data/spec/unit/network/http/webrick_spec.rb +4 -8
  641. data/spec/unit/network/http_pool_spec.rb +82 -95
  642. data/spec/unit/network/http_spec.rb +2 -2
  643. data/spec/unit/network/rest_authconfig_spec.rb +9 -42
  644. data/spec/unit/network/rights_spec.rb +6 -7
  645. data/spec/unit/network/server_spec.rb +2 -2
  646. data/spec/unit/network/xmlrpc/client_spec.rb +172 -0
  647. data/spec/unit/node/environment_spec.rb +63 -7
  648. data/spec/unit/node/facts_spec.rb +9 -13
  649. data/spec/unit/node_spec.rb +5 -13
  650. data/spec/unit/other/selinux_spec.rb +2 -3
  651. data/spec/unit/other/transbucket_spec.rb +2 -3
  652. data/spec/unit/other/transobject_spec.rb +2 -3
  653. data/spec/unit/parameter/path_spec.rb +2 -2
  654. data/spec/unit/parameter/value_collection_spec.rb +2 -3
  655. data/spec/unit/parameter/value_spec.rb +2 -3
  656. data/spec/unit/parameter_spec.rb +2 -3
  657. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +2 -13
  658. data/spec/unit/parser/ast/astarray_spec.rb +18 -36
  659. data/spec/unit/parser/ast/asthash_spec.rb +4 -4
  660. data/spec/unit/parser/ast/boolean_operator_spec.rb +2 -3
  661. data/spec/unit/parser/ast/casestatement_spec.rb +17 -14
  662. data/spec/unit/parser/ast/collection_spec.rb +2 -3
  663. data/spec/unit/parser/ast/collexpr_spec.rb +2 -3
  664. data/spec/unit/parser/ast/comparison_operator_spec.rb +4 -5
  665. data/spec/unit/parser/ast/definition_spec.rb +21 -0
  666. data/spec/unit/parser/ast/function_spec.rb +3 -4
  667. data/spec/unit/parser/ast/hostclass_spec.rb +72 -0
  668. data/spec/unit/parser/ast/ifstatement_spec.rb +2 -3
  669. data/spec/unit/parser/ast/in_operator_spec.rb +2 -3
  670. data/spec/unit/parser/ast/leaf_spec.rb +23 -19
  671. data/spec/unit/parser/ast/match_operator_spec.rb +2 -3
  672. data/spec/unit/parser/ast/minus_spec.rb +2 -3
  673. data/spec/unit/parser/ast/node_spec.rb +30 -0
  674. data/spec/unit/parser/ast/nop_spec.rb +2 -3
  675. data/spec/unit/parser/ast/not_spec.rb +2 -3
  676. data/spec/unit/parser/ast/relationship_spec.rb +2 -3
  677. data/spec/unit/parser/ast/resource_defaults_spec.rb +2 -3
  678. data/spec/unit/parser/ast/resource_override_spec.rb +2 -3
  679. data/spec/unit/parser/ast/resource_reference_spec.rb +21 -8
  680. data/spec/unit/parser/ast/resource_spec.rb +24 -13
  681. data/spec/unit/parser/ast/selector_spec.rb +3 -4
  682. data/spec/unit/parser/ast/vardef_spec.rb +15 -9
  683. data/spec/unit/parser/ast_spec.rb +2 -3
  684. data/spec/unit/parser/collector_spec.rb +2 -3
  685. data/spec/unit/parser/compiler_spec.rb +62 -35
  686. data/spec/unit/parser/files_spec.rb +2 -3
  687. data/spec/unit/parser/functions/create_resources_spec.rb +137 -0
  688. data/spec/unit/parser/functions/defined_spec.rb +5 -3
  689. data/spec/unit/parser/functions/extlookup_spec.rb +10 -10
  690. data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -13
  691. data/spec/unit/parser/functions/generate_spec.rb +5 -3
  692. data/spec/unit/parser/functions/include_spec.rb +5 -3
  693. data/spec/unit/parser/functions/inline_template_spec.rb +6 -17
  694. data/spec/unit/parser/functions/realize_spec.rb +5 -3
  695. data/spec/unit/parser/functions/regsubst_spec.rb +5 -3
  696. data/spec/unit/parser/functions/require_spec.rb +5 -3
  697. data/spec/unit/parser/functions/shellquote_spec.rb +8 -6
  698. data/spec/unit/parser/functions/split_spec.rb +5 -3
  699. data/spec/unit/parser/functions/sprintf_spec.rb +5 -3
  700. data/spec/unit/parser/functions/tag_spec.rb +5 -3
  701. data/spec/unit/parser/functions/template_spec.rb +6 -21
  702. data/spec/unit/parser/functions/versioncmp_spec.rb +5 -3
  703. data/spec/unit/parser/functions_spec.rb +2 -3
  704. data/spec/unit/parser/lexer_spec.rb +3 -7
  705. data/spec/unit/parser/parser_spec.rb +71 -90
  706. data/spec/unit/parser/relationship_spec.rb +2 -3
  707. data/spec/unit/parser/resource_spec.rb +6 -65
  708. data/spec/unit/parser/scope_spec.rb +28 -179
  709. data/spec/unit/parser/templatewrapper_spec.rb +25 -43
  710. data/spec/unit/parser/type_loader_spec.rb +120 -78
  711. data/spec/unit/property/ensure_spec.rb +2 -3
  712. data/spec/unit/property/keyvalue_spec.rb +4 -8
  713. data/spec/unit/property/list_spec.rb +2 -3
  714. data/spec/unit/property/ordered_list_spec.rb +2 -3
  715. data/spec/unit/property_spec.rb +2 -3
  716. data/spec/unit/provider/augeas/augeas_spec.rb +80 -3
  717. data/spec/unit/provider/cisco_spec.rb +16 -0
  718. data/spec/unit/provider/confine/exists_spec.rb +2 -3
  719. data/spec/unit/provider/confine/false_spec.rb +2 -3
  720. data/spec/unit/provider/confine/feature_spec.rb +2 -3
  721. data/spec/unit/provider/confine/true_spec.rb +2 -3
  722. data/spec/unit/provider/confine/variable_spec.rb +2 -3
  723. data/spec/unit/provider/confine_collection_spec.rb +2 -3
  724. data/spec/unit/provider/confine_spec.rb +2 -3
  725. data/spec/unit/provider/confiner_spec.rb +2 -3
  726. data/spec/unit/provider/exec/posix_spec.rb +2 -2
  727. data/spec/unit/provider/exec/shell_spec.rb +2 -2
  728. data/spec/unit/provider/group/groupadd_spec.rb +2 -3
  729. data/spec/unit/provider/group/ldap_spec.rb +2 -2
  730. data/spec/unit/provider/host/parsed_spec.rb +197 -0
  731. data/spec/unit/provider/interface/cisco_spec.rb +58 -0
  732. data/spec/unit/provider/ldap_spec.rb +2 -2
  733. data/spec/unit/provider/macauthorization_spec.rb +2 -2
  734. data/spec/unit/provider/mcx/mcxcontent_spec.rb +2 -21
  735. data/spec/unit/provider/mount/parsed_spec.rb +61 -86
  736. data/spec/unit/provider/mount_spec.rb +2 -3
  737. data/spec/unit/provider/naginator_spec.rb +2 -3
  738. data/spec/unit/provider/nameservice/directoryservice_spec.rb +2 -63
  739. data/spec/unit/provider/network_device_spec.rb +153 -0
  740. data/spec/unit/provider/package/aix_spec.rb +2 -3
  741. data/spec/unit/provider/package/apt_spec.rb +2 -3
  742. data/spec/unit/provider/package/dpkg_spec.rb +2 -3
  743. data/spec/unit/provider/package/freebsd_spec.rb +2 -3
  744. data/spec/unit/provider/package/gem_spec.rb +2 -3
  745. data/spec/unit/provider/package/hpux_spec.rb +2 -3
  746. data/spec/unit/provider/package/macports_spec.rb +2 -2
  747. data/spec/unit/provider/package/nim_spec.rb +2 -3
  748. data/spec/unit/provider/package/pip_spec.rb +180 -0
  749. data/spec/unit/provider/package/pkg_spec.rb +2 -3
  750. data/spec/unit/provider/package/pkgdmg_spec.rb +49 -56
  751. data/spec/unit/provider/package/pkgutil_spec.rb +182 -0
  752. data/spec/unit/provider/package/yum_spec.rb +66 -0
  753. data/spec/unit/provider/package/zypper_spec.rb +2 -3
  754. data/spec/unit/provider/parsedfile_spec.rb +2 -3
  755. data/spec/unit/provider/selboolean_spec.rb +2 -3
  756. data/spec/unit/provider/selmodule_spec.rb +2 -2
  757. data/spec/unit/provider/service/daemontools_spec.rb +2 -2
  758. data/spec/unit/provider/service/debian_spec.rb +2 -2
  759. data/spec/unit/provider/service/freebsd_spec.rb +2 -3
  760. data/spec/unit/provider/service/init_spec.rb +3 -3
  761. data/spec/unit/provider/service/launchd_spec.rb +2 -2
  762. data/spec/unit/provider/service/redhat_spec.rb +2 -2
  763. data/spec/unit/provider/service/runit_spec.rb +2 -2
  764. data/spec/unit/provider/service/smf_spec.rb +137 -0
  765. data/spec/unit/provider/service/src_spec.rb +7 -7
  766. data/spec/unit/provider/service/upstart.rb +48 -0
  767. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +28 -47
  768. data/spec/unit/provider/sshkey/parsed_spec.rb +2 -3
  769. data/spec/unit/provider/user/hpux_spec.rb +2 -3
  770. data/spec/unit/provider/user/ldap_spec.rb +2 -2
  771. data/spec/unit/provider/user/user_role_add_spec.rb +15 -53
  772. data/spec/unit/provider/user/useradd_spec.rb +2 -3
  773. data/spec/unit/provider/vlan/cisco_spec.rb +56 -0
  774. data/spec/unit/provider/zfs/solaris_spec.rb +4 -4
  775. data/spec/unit/provider/zone/solaris_spec.rb +2 -3
  776. data/spec/unit/provider/zpool/solaris_spec.rb +33 -4
  777. data/spec/unit/provider_spec.rb +2 -3
  778. data/spec/unit/puppet/provider/README.markdown +4 -0
  779. data/spec/unit/puppet/type/README.markdown +4 -0
  780. data/spec/unit/puppet_spec.rb +2 -2
  781. data/spec/unit/rails/host_spec.rb +2 -11
  782. data/spec/unit/rails/param_value_spec.rb +2 -3
  783. data/spec/unit/rails/resource_spec.rb +2 -3
  784. data/spec/unit/rails_spec.rb +2 -3
  785. data/spec/unit/relationship_spec.rb +2 -2
  786. data/spec/unit/reports/http_spec.rb +2 -3
  787. data/spec/unit/reports/rrdgraph_spec.rb +2 -3
  788. data/spec/unit/reports/store_spec.rb +2 -17
  789. data/spec/unit/reports/tagmail_spec.rb +4 -8
  790. data/spec/unit/reports_spec.rb +2 -3
  791. data/spec/unit/resource/catalog_spec.rb +15 -74
  792. data/spec/unit/resource/status_spec.rb +3 -4
  793. data/spec/unit/resource/type_collection_helper_spec.rb +2 -3
  794. data/spec/unit/resource/type_collection_spec.rb +69 -81
  795. data/spec/unit/resource/type_spec.rb +26 -44
  796. data/spec/unit/resource_spec.rb +3 -4
  797. data/spec/unit/run_spec.rb +2 -3
  798. data/spec/unit/simple_graph_spec.rb +434 -80
  799. data/spec/unit/ssl/base_spec.rb +3 -4
  800. data/spec/unit/ssl/certificate_authority/interface_spec.rb +56 -96
  801. data/spec/unit/ssl/certificate_authority_spec.rb +71 -246
  802. data/spec/unit/ssl/certificate_factory_spec.rb +72 -93
  803. data/spec/unit/ssl/certificate_request_spec.rb +11 -76
  804. data/spec/unit/ssl/certificate_revocation_list_spec.rb +4 -5
  805. data/spec/unit/ssl/certificate_spec.rb +2 -34
  806. data/spec/unit/ssl/host_spec.rb +202 -207
  807. data/spec/unit/ssl/inventory_spec.rb +4 -5
  808. data/spec/unit/ssl/key_spec.rb +2 -3
  809. data/spec/unit/sslcertificates/ca_spec.rb +110 -0
  810. data/spec/unit/status_spec.rb +8 -5
  811. data/spec/unit/transaction/event_manager_spec.rb +2 -3
  812. data/spec/unit/transaction/event_spec.rb +7 -8
  813. data/spec/unit/transaction/report_spec.rb +25 -14
  814. data/spec/unit/transaction/resource_harness_spec.rb +2 -4
  815. data/spec/unit/transaction_spec.rb +31 -28
  816. data/spec/unit/transportable_spec.rb +0 -0
  817. data/spec/unit/type/augeas_spec.rb +3 -4
  818. data/spec/unit/type/component_spec.rb +2 -3
  819. data/spec/unit/type/computer_spec.rb +2 -3
  820. data/spec/unit/type/cron_spec.rb +12 -3
  821. data/spec/unit/type/exec_spec.rb +2 -32
  822. data/spec/unit/type/file/checksum_spec.rb +2 -3
  823. data/spec/unit/type/file/content_spec.rb +2 -3
  824. data/spec/unit/type/file/ctime.rb +2 -3
  825. data/spec/unit/type/file/ensure_spec.rb +2 -3
  826. data/spec/unit/type/file/group_spec.rb +2 -3
  827. data/spec/unit/type/file/mtime.rb +2 -3
  828. data/spec/unit/type/file/owner_spec.rb +2 -3
  829. data/spec/unit/type/file/selinux_spec.rb +2 -3
  830. data/spec/unit/type/file/source_spec.rb +9 -10
  831. data/spec/unit/type/file/type.rb +2 -3
  832. data/spec/unit/type/file_spec.rb +15 -30
  833. data/spec/unit/type/filebucket_spec.rb +2 -3
  834. data/spec/unit/type/group_spec.rb +4 -5
  835. data/spec/unit/type/host_spec.rb +129 -0
  836. data/spec/unit/type/interface_spec.rb +98 -0
  837. data/spec/unit/type/macauthorization_spec.rb +2 -3
  838. data/spec/unit/type/maillist_spec.rb +2 -3
  839. data/spec/unit/type/mcx_spec.rb +2 -23
  840. data/spec/unit/type/mount_spec.rb +41 -18
  841. data/spec/unit/type/nagios_spec.rb +2 -3
  842. data/spec/unit/type/noop_metaparam_spec.rb +2 -3
  843. data/spec/unit/type/package_spec.rb +2 -3
  844. data/spec/unit/type/resources_spec.rb +3 -4
  845. data/spec/unit/type/schedule_spec.rb +19 -12
  846. data/spec/unit/type/selboolean_spec.rb +2 -3
  847. data/spec/unit/type/selmodule_spec.rb +2 -3
  848. data/spec/unit/type/service_spec.rb +6 -3
  849. data/spec/unit/type/ssh_authorized_key_spec.rb +2 -3
  850. data/spec/unit/type/sshkey_spec.rb +70 -0
  851. data/spec/unit/type/stage_spec.rb +2 -3
  852. data/spec/unit/type/tidy_spec.rb +4 -4
  853. data/spec/unit/type/user_spec.rb +2 -11
  854. data/spec/unit/type/vlan_spec.rb +45 -0
  855. data/spec/unit/type/whit_spec.rb +4 -5
  856. data/spec/unit/type/zfs_spec.rb +2 -3
  857. data/spec/unit/type/zone_spec.rb +22 -3
  858. data/spec/unit/type/zpool_spec.rb +2 -3
  859. data/spec/unit/type_spec.rb +2 -69
  860. data/spec/unit/util/autoload/file_cache_spec.rb +2 -3
  861. data/spec/unit/util/autoload_spec.rb +6 -7
  862. data/spec/unit/util/backups_spec.rb +2 -3
  863. data/spec/unit/util/cache_accumulator_spec.rb +2 -3
  864. data/spec/unit/util/cacher_spec.rb +3 -4
  865. data/spec/unit/util/checksums_spec.rb +2 -2
  866. data/spec/unit/util/command_line_spec.rb +11 -8
  867. data/spec/unit/util/constant_inflector_spec.rb +2 -2
  868. data/spec/unit/util/errors_spec.rb +2 -3
  869. data/spec/unit/util/execution_spec.rb +2 -3
  870. data/spec/unit/util/execution_stub_spec.rb +2 -3
  871. data/spec/unit/util/feature_spec.rb +2 -3
  872. data/spec/unit/util/file_locking_spec.rb +4 -5
  873. data/spec/unit/util/filetype_spec.rb +2 -3
  874. data/spec/unit/util/inline_docs_spec.rb +2 -3
  875. data/spec/unit/util/ldap/connection_spec.rb +2 -2
  876. data/spec/unit/util/ldap/generator_spec.rb +2 -2
  877. data/spec/unit/util/ldap/manager_spec.rb +2 -2
  878. data/spec/unit/util/loadedfile_spec.rb +2 -3
  879. data/spec/unit/util/log/destinations_spec.rb +2 -3
  880. data/spec/unit/util/log_spec.rb +6 -7
  881. data/spec/unit/util/logging_spec.rb +27 -3
  882. data/spec/unit/util/metric_spec.rb +2 -3
  883. data/spec/unit/util/monkey_patches_spec.rb +48 -10
  884. data/spec/unit/util/nagios_maker_spec.rb +2 -2
  885. data/spec/unit/util/network_device/cisco/device_spec.rb +408 -0
  886. data/spec/unit/util/network_device/cisco/facts_spec.rb +63 -0
  887. data/spec/unit/util/network_device/cisco/interface_spec.rb +89 -0
  888. data/spec/unit/util/network_device/config_spec.rb +102 -0
  889. data/spec/unit/util/network_device/ipcalc_spec.rb +63 -0
  890. data/spec/unit/util/network_device/transport/base_spec.rb +42 -0
  891. data/spec/unit/util/network_device/transport/ssh_spec.rb +219 -0
  892. data/spec/unit/util/network_device/transport/telnet_spec.rb +76 -0
  893. data/spec/unit/util/network_device_spec.rb +50 -0
  894. data/spec/unit/util/package_spec.rb +2 -3
  895. data/spec/unit/util/posix_spec.rb +2 -3
  896. data/spec/unit/util/pson_spec.rb +3 -4
  897. data/spec/unit/util/queue/stomp_spec.rb +4 -5
  898. data/spec/unit/util/queue_spec.rb +2 -3
  899. data/spec/unit/util/rdoc/parser_spec.rb +17 -12
  900. data/spec/unit/util/rdoc_spec.rb +19 -58
  901. data/spec/unit/util/reference_serializer_spec.rb +2 -3
  902. data/spec/unit/util/resource_template_spec.rb +2 -3
  903. data/spec/unit/util/run_mode_spec.rb +2 -3
  904. data/spec/unit/util/selinux_spec.rb +4 -5
  905. data/spec/unit/util/settings/file_setting_spec.rb +2 -7
  906. data/spec/unit/util/settings_spec.rb +2 -24
  907. data/spec/unit/util/storage_spec.rb +2 -3
  908. data/spec/unit/util/tagging_spec.rb +2 -2
  909. data/spec/unit/util/user_attr_spec.rb +2 -3
  910. data/spec/unit/util/warnings_spec.rb +2 -3
  911. data/spec/unit/util/zaml_spec.rb +23 -53
  912. data/spec/watchr.rb +146 -0
  913. data/tasks/rake/gem.rake +5 -4
  914. data/tasks/rake/git_workflow.rake +62 -51
  915. data/tasks/rake/manpages.rake +69 -0
  916. data/test/certmgr/certmgr.rb +308 -0
  917. data/test/certmgr/inventory.rb +69 -0
  918. data/test/certmgr/support.rb +105 -0
  919. data/test/data/providers/host/parsed/valid_hosts +19 -0
  920. data/test/language/ast.rb +1 -1
  921. data/test/language/ast/variable.rb +1 -1
  922. data/test/language/functions.rb +8 -9
  923. data/test/language/parser.rb +44 -52
  924. data/test/language/scope.rb +13 -24
  925. data/test/language/snippets.rb +11 -2
  926. data/test/language/transportable.rb +1 -1
  927. data/test/lib/puppettest.rb +2 -2
  928. data/test/lib/puppettest/exetest.rb +1 -1
  929. data/test/lib/puppettest/parsertesting.rb +5 -8
  930. data/test/lib/puppettest/servertest.rb +1 -0
  931. data/test/lib/puppettest/support/assertions.rb +6 -1
  932. data/test/lib/puppettest/support/utils.rb +0 -19
  933. data/test/network/authconfig.rb +1 -1
  934. data/test/network/authorization.rb +1 -1
  935. data/test/network/authstore.rb +1 -1
  936. data/test/network/client/ca.rb +69 -0
  937. data/test/network/client/dipper.rb +34 -0
  938. data/test/network/client_request.rb +1 -1
  939. data/test/network/handler/ca.rb +273 -0
  940. data/test/network/handler/fileserver.rb +1 -1
  941. data/test/network/handler/master.rb +13 -9
  942. data/test/network/handler/report.rb +1 -1
  943. data/test/network/handler/runner.rb +1 -1
  944. data/test/network/rights.rb +1 -1
  945. data/test/network/server/mongrel_test.rb +99 -0
  946. data/test/network/server/webrick.rb +128 -0
  947. data/test/network/xmlrpc/client.rb +45 -0
  948. data/test/network/xmlrpc/processor.rb +1 -1
  949. data/test/network/xmlrpc/server.rb +1 -1
  950. data/test/network/xmlrpc/webrick_servlet.rb +1 -1
  951. data/test/other/provider.rb +1 -1
  952. data/test/other/puppet.rb +1 -1
  953. data/test/other/relationships.rb +11 -18
  954. data/test/other/report.rb +1 -1
  955. data/test/other/transactions.rb +2 -35
  956. data/test/puppet/defaults.rb +1 -1
  957. data/test/puppet/errortest.rb +1 -1
  958. data/test/puppet/tc_suidmanager.rb +120 -0
  959. data/test/rails/rails.rb +2 -1
  960. data/test/rails/railsparameter.rb +2 -2
  961. data/test/ral/manager/attributes.rb +1 -1
  962. data/test/ral/manager/instances.rb +1 -1
  963. data/test/ral/manager/manager.rb +1 -1
  964. data/test/ral/manager/provider.rb +1 -1
  965. data/test/ral/manager/type.rb +1 -1
  966. data/test/ral/providers/cron/crontab.rb +1 -1
  967. data/test/ral/providers/group.rb +1 -1
  968. data/test/ral/providers/host/parsed.rb +1 -203
  969. data/test/ral/providers/mailalias/aliases.rb +1 -1
  970. data/test/ral/providers/nameservice.rb +1 -1
  971. data/test/ral/providers/package.rb +1 -1
  972. data/test/ral/providers/package/aptitude.rb +1 -1
  973. data/test/ral/providers/package/aptrpm.rb +1 -1
  974. data/test/ral/providers/parsedfile.rb +1 -1
  975. data/test/ral/providers/port/parsed.rb +1 -1
  976. data/test/ral/providers/provider.rb +1 -1
  977. data/test/ral/providers/service/base.rb +1 -1
  978. data/test/ral/providers/sshkey/parsed.rb +1 -1
  979. data/test/ral/providers/user.rb +1 -1
  980. data/test/ral/providers/user/useradd.rb +1 -1
  981. data/test/ral/type/cron.rb +1 -1
  982. data/test/ral/type/exec.rb +1 -42
  983. data/test/ral/type/file.rb +1 -1
  984. data/test/ral/type/file/target.rb +6 -19
  985. data/test/ral/type/fileignoresource.rb +1 -1
  986. data/test/ral/type/filesources.rb +61 -1
  987. data/test/ral/type/host.rb +1 -1
  988. data/test/ral/type/mailalias.rb +1 -1
  989. data/test/ral/type/port.rb +1 -1
  990. data/test/ral/type/resources.rb +1 -1
  991. data/test/ral/type/service.rb +1 -1
  992. data/test/ral/type/sshkey.rb +1 -1
  993. data/test/ral/type/user.rb +1 -1
  994. data/test/ral/type/yumrepo.rb +1 -1
  995. data/test/ral/type/zone.rb +1 -1
  996. data/test/test +2 -2
  997. data/test/util/classgen.rb +1 -1
  998. data/test/util/execution.rb +1 -1
  999. data/test/util/fileparsing.rb +1 -1
  1000. data/test/util/inifile.rb +1 -1
  1001. data/test/util/instance_loader.rb +1 -1
  1002. data/test/util/log.rb +1 -1
  1003. data/test/util/metrics.rb +1 -1
  1004. data/test/util/package.rb +1 -1
  1005. data/test/util/pidlock.rb +1 -1
  1006. data/test/util/settings.rb +1 -1
  1007. data/test/util/storage.rb +1 -1
  1008. data/test/util/subclass_loader.rb +1 -1
  1009. data/test/util/utiltest.rb +1 -1
  1010. metadata +312 -48
  1011. data/CHANGELOG.old +0 -1705
  1012. data/CONTRIBUTING.md +0 -299
  1013. data/COPYING +0 -340
  1014. data/README.queueing +0 -126
  1015. data/ext/upload_facts.rb +0 -120
  1016. data/ext/vim/ftplugin/puppet.vim +0 -94
  1017. data/ext/vim/indent/puppet.vim +0 -76
  1018. data/lib/puppet/indirector/errors.rb +0 -5
  1019. data/lib/puppet/indirector/facts/inventory_service.rb +0 -20
  1020. data/lib/puppet/indirector/file_bucket_file/selector.rb +0 -53
  1021. data/lib/puppet/indirector/file_content/selector.rb +0 -30
  1022. data/lib/puppet/indirector/file_metadata/selector.rb +0 -30
  1023. data/lib/puppet/indirector/resource/validator.rb +0 -8
  1024. data/lib/puppet/util/command_line/filebucket +0 -97
  1025. data/lib/puppet/util/command_line/pi +0 -48
  1026. data/lib/puppet/util/command_line/puppet +0 -73
  1027. data/lib/puppet/util/command_line/puppetca +0 -131
  1028. data/lib/puppet/util/command_line/puppetd +0 -188
  1029. data/lib/puppet/util/command_line/puppetdoc +0 -67
  1030. data/lib/puppet/util/command_line/puppetmasterd +0 -70
  1031. data/lib/puppet/util/command_line/puppetqd +0 -53
  1032. data/lib/puppet/util/command_line/puppetrun +0 -125
  1033. data/lib/puppet/util/command_line/ralsh +0 -89
  1034. data/spec/integration/file_bucket/file_spec.rb +0 -44
  1035. data/spec/integration/indirector/bucket_file/rest_spec.rb +0 -77
  1036. data/spec/integration/indirector/certificate/rest_spec.rb +0 -69
  1037. data/spec/integration/indirector/certificate_request/rest_spec.rb +0 -89
  1038. data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +0 -85
  1039. data/spec/integration/indirector/report/rest_spec.rb +0 -93
  1040. data/spec/shared_behaviours/file_serving_model.rb +0 -73
  1041. data/spec/unit/indirector/facts/inventory_service_spec.rb +0 -22
  1042. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +0 -29
  1043. data/spec/unit/indirector/file_content/selector_spec.rb +0 -10
  1044. data/spec/unit/indirector/file_metadata/selector_spec.rb +0 -11
  1045. data/spec/unit/network/handler/ca_spec.rb +0 -87
  1046. data/spec/unit/network/rest_authorization_spec.rb +0 -43
  1047. data/spec/unit/provider/package/appdmg_spec.rb +0 -42
  1048. data/spec/unit/type/k5login_spec.rb +0 -115
  1049. data/spec/unit/util/suidmanager_spec.rb +0 -220
  1050. data/spec/unit/util_spec.rb +0 -104
@@ -1,5 +1,5 @@
1
1
  Puppet::Parser::Functions::newfunction(:sha1, :type => :rvalue, :doc => "Returns a SHA1 hash value from a provided string.") do |args|
2
- require 'sha1'
2
+ require 'digest/sha1'
3
3
 
4
4
  Digest::SHA1.hexdigest(args[0])
5
5
  end
@@ -28,41 +28,33 @@ prechigh
28
28
  preclow
29
29
 
30
30
  rule
31
- program: statements {
32
- if val[0]
33
- # Make sure we always return an array.
34
- if val[0].is_a?(AST::ASTArray)
35
- if val[0].children.empty?
36
- result = nil
37
- else
38
- result = val[0]
39
- end
40
- else
41
- result = aryfy(val[0])
42
- end
43
- else
44
- result = nil
45
- end
46
- }
31
+ program: statements_and_declarations
47
32
  | nil
48
33
 
49
- statements: statement
50
- | statements statement {
51
- if val[0] and val[1]
52
- if val[0].instance_of?(AST::ASTArray)
34
+ statements_and_declarations: statement_or_declaration {
35
+ result = ast AST::ASTArray, :children => (val[0] ? [val[0]] : [])
36
+ }
37
+ | statements_and_declarations statement_or_declaration {
38
+ if val[1]
53
39
  val[0].push(val[1])
54
- result = val[0]
55
- else
56
- result = ast AST::ASTArray, :children => [val[0],val[1]]
57
40
  end
58
- elsif obj = (val[0] || val[1])
59
- result = obj
60
- else result = nil
41
+ result = val[0]
42
+ }
43
+
44
+ # statements is like statements_and_declarations, but it doesn't allow
45
+ # nested definitions, classes, or nodes.
46
+ statements: statements_and_declarations {
47
+ val[0].each do |stmt|
48
+ if stmt.is_a?(AST::TopLevelConstruct)
49
+ error "Classes, definitions, and nodes may only appear at toplevel or inside other classes", \
50
+ :line => stmt.context[:line], :file => stmt.context[:file]
51
+ end
61
52
  end
53
+ result = val[0]
62
54
  }
63
55
 
64
56
  # The main list of valid statements
65
- statement: resource
57
+ statement_or_declaration: resource
66
58
  | virtualresource
67
59
  | collection
68
60
  | assignment
@@ -89,19 +81,17 @@ relationship_side: resource | resourceref | collection
89
81
  edge: IN_EDGE | OUT_EDGE | IN_EDGE_SUB | OUT_EDGE_SUB
90
82
 
91
83
  fstatement: NAME LPAREN funcvalues RPAREN {
92
- args = aryfy(val[2])
93
84
  result = ast AST::Function,
94
85
  :name => val[0][:value],
95
86
  :line => val[0][:line],
96
- :arguments => args,
87
+ :arguments => val[2],
97
88
  :ftype => :statement
98
89
  }
99
90
  | NAME LPAREN funcvalues COMMA RPAREN {
100
- args = aryfy(val[2])
101
91
  result = ast AST::Function,
102
92
  :name => val[0][:value],
103
93
  :line => val[0][:line],
104
- :arguments => args,
94
+ :arguments => val[2],
105
95
  :ftype => :statement
106
96
  } | NAME LPAREN RPAREN {
107
97
  result = ast AST::Function,
@@ -111,29 +101,22 @@ fstatement: NAME LPAREN funcvalues RPAREN {
111
101
  :ftype => :statement
112
102
  }
113
103
  | NAME funcvalues {
114
- args = aryfy(val[1])
115
104
  result = ast AST::Function,
116
105
  :name => val[0][:value],
117
106
  :line => val[0][:line],
118
- :arguments => args,
107
+ :arguments => val[1],
119
108
  :ftype => :statement
120
109
  }
121
110
 
122
- funcvalues: namestring
123
- | resourceref
111
+ funcvalues: namestring { result = aryfy(val[0]) }
112
+ | resourceref { result = aryfy(val[0]) }
124
113
  | funcvalues COMMA namestring {
125
- result = aryfy(val[0], val[2])
126
- result.line = @lexer.line
127
- result.file = @lexer.file
114
+ val[0].push(val[2])
115
+ result = val[0]
128
116
  }
129
117
  | funcvalues COMMA resourceref {
130
- unless val[0].is_a?(AST::ASTArray)
131
- val[0] = aryfy(val[0])
132
- end
133
-
134
- val[0].push(val[2])
135
-
136
- result = val[0]
118
+ val[0].push(val[2])
119
+ result = val[0]
137
120
  }
138
121
 
139
122
  # This is *almost* an rvalue, but I couldn't get a full
@@ -152,23 +135,7 @@ namestring: name
152
135
 
153
136
  resource: classname LBRACE resourceinstances endsemi RBRACE {
154
137
  @lexer.commentpop
155
- array = val[2]
156
- array = [array] if array.instance_of?(AST::ResourceInstance)
157
- result = ast AST::ASTArray
158
-
159
- # this iterates across each specified resourceinstance
160
- array.each { |instance|
161
- raise Puppet::Dev, "Got something that isn't an instance" unless instance.instance_of?(AST::ResourceInstance)
162
- # now, i need to somehow differentiate between those things with
163
- # arrays in their names, and normal things
164
-
165
- result.push ast(
166
- AST::Resource,
167
- :type => val[0],
168
- :title => instance[0],
169
-
170
- :parameters => instance[1])
171
- }
138
+ result = ast(AST::Resource, :type => val[0], :instances => val[2])
172
139
  } | classname LBRACE params endcomma RBRACE {
173
140
  # This is a deprecated syntax.
174
141
  error "All resource specifications require names"
@@ -189,7 +156,7 @@ resourceoverride: resourceref LBRACE anyparams endcomma RBRACE {
189
156
  virtualresource: at resource {
190
157
  type = val[0]
191
158
 
192
- if (type == :exported and ! Puppet[:storeconfigs]) and ! Puppet[:parseonly]
159
+ if (type == :exported and ! Puppet[:storeconfigs])
193
160
  Puppet.warning addcontext("You cannot collect without storeconfigs being set")
194
161
  end
195
162
 
@@ -197,14 +164,8 @@ virtualresource: at resource {
197
164
 
198
165
  method = type.to_s + "="
199
166
 
200
- # Just mark our resources as exported and pass them through.
201
- if val[1].instance_of?(AST::ASTArray)
202
- val[1].each do |obj|
203
- obj.send(method, true)
204
- end
205
- else
206
- val[1].send(method, true)
207
- end
167
+ # Just mark our resource as exported and pass it through.
168
+ val[1].send(method, true)
208
169
 
209
170
  result = val[1]
210
171
  }
@@ -227,7 +188,7 @@ collection: classref collectrhand LBRACE anyparams endcomma RBRACE {
227
188
  else
228
189
  args[:form] = val[1]
229
190
  end
230
- if args[:form] == :exported and ! Puppet[:storeconfigs] and ! Puppet[:parseonly]
191
+ if args[:form] == :exported and ! Puppet[:storeconfigs]
231
192
  Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
232
193
  end
233
194
  args[:override] = val[3]
@@ -247,7 +208,7 @@ collection: classref collectrhand LBRACE anyparams endcomma RBRACE {
247
208
  else
248
209
  args[:form] = val[1]
249
210
  end
250
- if args[:form] == :exported and ! Puppet[:storeconfigs] and ! Puppet[:parseonly]
211
+ if args[:form] == :exported and ! Puppet[:storeconfigs]
251
212
  Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
252
213
  end
253
214
  result = ast AST::Collection, args
@@ -303,17 +264,13 @@ colllval: variable
303
264
  | name
304
265
 
305
266
  resourceinst: resourcename COLON params endcomma {
306
- result = ast AST::ResourceInstance, :children => [val[0],val[2]]
267
+ result = ast AST::ResourceInstance, :title => val[0], :parameters => val[2]
307
268
  }
308
269
 
309
- resourceinstances: resourceinst
270
+ resourceinstances: resourceinst { result = aryfy(val[0]) }
310
271
  | resourceinstances SEMIC resourceinst {
311
- if val[0].instance_of?(AST::ResourceInstance)
312
- result = ast AST::ASTArray, :children => [val[0],val[2]]
313
- else
314
272
  val[0].push val[2]
315
273
  result = val[0]
316
- end
317
274
  }
318
275
 
319
276
  endsemi: # nothing
@@ -358,14 +315,10 @@ params: # nothing
358
315
  {
359
316
  result = ast AST::ASTArray
360
317
  }
361
- | param { result = val[0] }
318
+ | param { result = aryfy(val[0]) }
362
319
  | params COMMA param {
363
- if val[0].instance_of?(AST::ASTArray)
364
320
  val[0].push(val[2])
365
321
  result = val[0]
366
- else
367
- result = ast AST::ASTArray, :children => [val[0],val[2]]
368
- end
369
322
  }
370
323
 
371
324
  param: NAME FARROW rvalue {
@@ -384,24 +337,14 @@ anyparams: # nothing
384
337
  {
385
338
  result = ast AST::ASTArray
386
339
  }
387
- | anyparam { result = val[0] }
340
+ | anyparam { result = aryfy(val[0]) }
388
341
  | anyparams COMMA anyparam {
389
- if val[0].instance_of?(AST::ASTArray)
390
342
  val[0].push(val[2])
391
343
  result = val[0]
392
- else
393
- result = ast AST::ASTArray, :children => [val[0],val[2]]
394
- end
395
344
  }
396
345
 
397
- rvalues: rvalue
398
- | rvalues comma rvalue {
399
- if val[0].instance_of?(AST::ASTArray)
400
- result = val[0].push(val[2])
401
- else
402
- result = ast AST::ASTArray, :children => [val[0],val[2]]
403
- end
404
- }
346
+ rvalues: rvalue { result = aryfy(val[0]) }
347
+ | rvalues comma rvalue { result = val[0].push(val[2]) }
405
348
 
406
349
  simplervalue: quotedtext
407
350
  | name
@@ -425,10 +368,9 @@ rvalue: quotedtext
425
368
 
426
369
  # We currently require arguments in these functions.
427
370
  funcrvalue: NAME LPAREN funcvalues RPAREN {
428
- args = aryfy(val[2])
429
371
  result = ast AST::Function,
430
372
  :name => val[0][:value], :line => val[0][:line],
431
- :arguments => args,
373
+ :arguments => val[2],
432
374
  :ftype => :rvalue
433
375
  } | NAME LPAREN RPAREN {
434
376
  result = ast AST::Function,
@@ -572,19 +514,13 @@ expression: rvalue
572
514
 
573
515
  casestatement: CASE rvalue LBRACE caseopts RBRACE {
574
516
  @lexer.commentpop
575
- options = val[3]
576
- options = ast AST::ASTArray, :children => [val[3]] unless options.instance_of?(AST::ASTArray)
577
- result = ast AST::CaseStatement, :test => val[1], :options => options
517
+ result = ast AST::CaseStatement, :test => val[1], :options => val[3]
578
518
  }
579
519
 
580
- caseopts: caseopt
520
+ caseopts: caseopt { result = aryfy(val[0]) }
581
521
  | caseopts caseopt {
582
- if val[0].instance_of?(AST::ASTArray)
583
522
  val[0].push val[1]
584
523
  result = val[0]
585
- else
586
- result = ast AST::ASTArray, :children => [val[0], val[1]]
587
- end
588
524
  }
589
525
 
590
526
  caseopt: casevalues COLON LBRACE statements RBRACE {
@@ -601,14 +537,10 @@ caseopt: casevalues COLON LBRACE statements RBRACE {
601
537
  )
602
538
  }
603
539
 
604
- casevalues: selectlhand
540
+ casevalues: selectlhand { result = aryfy(val[0]) }
605
541
  | casevalues COMMA selectlhand {
606
- if val[0].instance_of?(AST::ASTArray)
607
542
  val[0].push(val[2])
608
543
  result = val[0]
609
- else
610
- result = ast AST::ASTArray, :children => [val[0],val[2]]
611
- end
612
544
  }
613
545
 
614
546
  selector: selectlhand QMARK svalues {
@@ -658,48 +590,51 @@ import: IMPORT strings {
658
590
  import(file)
659
591
  end
660
592
 
661
- result = AST::ASTArray.new(:children => [])
593
+ result = nil
662
594
  }
663
595
 
664
596
  # Disable definition inheritance for now. 8/27/06, luke
665
597
  #definition: DEFINE NAME argumentlist parent LBRACE statements RBRACE {
666
598
  definition: DEFINE classname argumentlist LBRACE statements RBRACE {
667
599
  @lexer.commentpop
668
- newdefine classname(val[1]), :arguments => val[2], :code => val[4], :line => val[0][:line]
600
+ result = Puppet::Parser::AST::Definition.new(classname(val[1]),
601
+ ast_context(true).merge(:arguments => val[2], :code => val[4],
602
+ :line => val[0][:line]))
669
603
  @lexer.indefine = false
670
- result = nil
671
604
 
672
605
  #} | DEFINE NAME argumentlist parent LBRACE RBRACE {
673
606
  } | DEFINE classname argumentlist LBRACE RBRACE {
674
607
  @lexer.commentpop
675
- newdefine classname(val[1]), :arguments => val[2], :line => val[0][:line]
608
+ result = Puppet::Parser::AST::Definition.new(classname(val[1]),
609
+ ast_context(true).merge(:arguments => val[2], :line => val[0][:line]))
676
610
  @lexer.indefine = false
677
- result = nil
678
611
  }
679
612
 
680
613
  #hostclass: CLASS NAME argumentlist parent LBRACE statements RBRACE {
681
- hostclass: CLASS classname argumentlist classparent LBRACE statements RBRACE {
614
+ hostclass: CLASS classname argumentlist classparent LBRACE statements_and_declarations RBRACE {
682
615
  @lexer.commentpop
683
616
  # Our class gets defined in the parent namespace, not our own.
684
617
  @lexer.namepop
685
- newclass classname(val[1]), :arguments => val[2], :parent => val[3], :code => val[5], :line => val[0][:line]
686
- result = nil
618
+ result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
619
+ ast_context(true).merge(:arguments => val[2], :parent => val[3],
620
+ :code => val[5], :line => val[0][:line]))
687
621
  } | CLASS classname argumentlist classparent LBRACE RBRACE {
688
622
  @lexer.commentpop
689
623
  # Our class gets defined in the parent namespace, not our own.
690
624
  @lexer.namepop
691
- newclass classname(val[1]), :arguments => val[2], :parent => val[3], :line => val[0][:line]
692
- result = nil
625
+ result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
626
+ ast_context(true).merge(:arguments => val[2], :parent => val[3],
627
+ :line => val[0][:line]))
693
628
  }
694
629
 
695
630
  nodedef: NODE hostnames nodeparent LBRACE statements RBRACE {
696
631
  @lexer.commentpop
697
- newnode val[1], :parent => val[2], :code => val[4], :line => val[0][:line]
698
- result = nil
632
+ result = Puppet::Parser::AST::Node.new(val[1],
633
+ ast_context(true).merge(:parent => val[2], :code => val[4],
634
+ :line => val[0][:line]))
699
635
  } | NODE hostnames nodeparent LBRACE RBRACE {
700
636
  @lexer.commentpop
701
- newnode val[1], :parent => val[2], :line => val[0][:line]
702
- result = nil
637
+ result = Puppet::Parser::AST::Node.new(val[1], ast_context(true).merge(:parent => val[2], :line => val[0][:line]))
703
638
  }
704
639
 
705
640
  classref: CLASSREF { result = val[0][:value] }
@@ -710,10 +645,11 @@ classname: NAME { result = val[0][:value] }
710
645
 
711
646
  # Multiple hostnames, as used for node names. These are all literal
712
647
  # strings, not AST objects.
713
- hostnames: nodename
648
+ hostnames: nodename {
649
+ result = [result]
650
+ }
714
651
  | hostnames COMMA nodename {
715
652
  result = val[0]
716
- result = [result] unless result.is_a?(Array)
717
653
  result << val[2]
718
654
  }
719
655
 
@@ -779,22 +715,9 @@ variable: VARIABLE {
779
715
  result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
780
716
  }
781
717
 
782
- array: LBRACK rvalues RBRACK {
783
- if val[1].instance_of?(AST::ASTArray)
784
- result = val[1]
785
- else
786
- result = ast AST::ASTArray, :children => [val[1]]
787
- end
788
- }
789
- | LBRACK rvalues COMMA RBRACK {
790
- if val[1].instance_of?(AST::ASTArray)
791
- result = val[1]
792
- else
793
- result = ast AST::ASTArray, :children => [val[1]]
794
- end
795
- } | LBRACK RBRACK {
796
- result = ast AST::ASTArray
797
- }
718
+ array: LBRACK rvalues RBRACK { result = val[1] }
719
+ | LBRACK rvalues COMMA RBRACK { result = val[1] }
720
+ | LBRACK RBRACK { result = ast AST::ASTArray }
798
721
 
799
722
  comma: FARROW
800
723
  | COMMA
@@ -533,7 +533,7 @@ class Puppet::Parser::Lexer
533
533
  when 'n'; "\n"
534
534
  when 't'; "\t"
535
535
  when 's'; " "
536
- when "\n": ''
536
+ when "\n"; ''
537
537
  else ch
538
538
  end
539
539
  else
@@ -21,7 +21,7 @@ module Puppet
21
21
  module Parser
22
22
  class Parser < Racc::Parser
23
23
 
24
- module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra', 866)
24
+ module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra', 789)
25
25
 
26
26
  # It got too annoying having code in a file that needs to be compiled.
27
27
  require 'puppet/parser/parser_support'
@@ -30,647 +30,612 @@ require 'puppet/parser/parser_support'
30
30
  # Local Variables:
31
31
  # mode: ruby
32
32
  # End:
33
-
34
- # $Id$
35
33
  ...end grammar.ra/module_eval...
36
34
  ##### State transition tables begin ###
37
35
 
38
36
  racc_action_table = [
39
- 256, 257, 228, 63, 327, 64, 156, 54, 82, 356,
40
- -166, 245, 176, 205, 210, 254, 37, 357, 65, 244,
41
- 38, -168, 201, 203, 206, 209, 184, 11, 255, 241,
42
- 242, 158, 54, 251, 72, 75, 72, 75, 102, 117,
43
- 106, -170, 62, 194, 230, 58, 204, 208, 60, 306,
44
- 213, 196, 197, 198, 200, 202, 97, 207, 211, 72,
45
- 75, 241, 242, 102, 199, 106, 163, 71, 59, 307,
46
- 58, 83, 86, 60, 193, 92, 54, 162, 72, 75,
47
- 78, 100, 169, 163, 89, 72, 75, 94, 308, 102,
48
- 163, 106, 71, 59, 162, 59, 83, 86, 59, 169,
49
- 92, 162, 311, 72, 75, 78, 169, 97, 181, 89,
50
- 353, 71, 228, 352, 58, 83, 269, 60, 71, 92,
51
- 59, 345, 83, 86, 137, 184, 92, -171, 89, 72,
52
- 75, 78, 100, 246, 368, 89, 71, 59, 94, 59,
53
- 83, 86, 309, 173, 92, 314, 59, 163, 76, 78,
54
- 72, 75, -167, 89, 102, 310, 106, 37, 162, 173,
55
- 218, 127, 71, 169, 59, 220, 83, 269, 11, 14,
56
- 92, 63, 97, 152, 37, 137, 72, 75, 127, 89,
57
- 102, 319, 106, 71, 218, 11, 14, 83, 86, 220,
58
- 59, 92, 72, 75, 72, 75, 78, 100, 270, 279,
59
- 89, 349, 278, 94, 353, 207, 211, 352, 320, 71,
60
- -169, 59, 199, 83, 86, 197, 198, 92, 72, 75,
61
- 207, 211, 78, -169, 37, 71, 89, 199, 38, 83,
62
- 269, -167, 193, 92, -166, 11, 14, 59, 137, 72,
63
- 75, 272, 89, 102, 182, 106, 37, 207, 211, -186,
64
- 38, 71, 181, 59, 199, 83, 86, 11, 337, 92,
65
- 231, 97, 339, 76, 78, 72, 75, 37, 89, 82,
66
- 48, 38, 71, 48, 323, 176, 83, 86, 11, 59,
67
- 92, 342, 46, 47, 184, 78, 100, 74, -168, 89,
68
- 72, 75, 94, -172, 102, 346, 106, -173, 71, 175,
69
- 59, 59, 83, 86, 240, -171, 92, -170, 241, 242,
70
- 76, 78, 97, 197, 198, 89, 72, 75, 207, 211,
71
- 102, 214, 106, 71, 64, 199, 59, 83, 86, 276,
72
- 215, 92, 217, 246, 275, 173, 78, 100, 97, 82,
73
- 89, 72, 75, 94, 155, 102, 122, 106, 152, 71,
74
- 223, 59, -168, 83, 86, 249, 277, 92, 176, 246,
75
- 247, 122, 78, 100, 225, -166, 89, 72, 75, 94,
76
- 117, 102, 226, 106, 71, -169, 271, 59, 83, 86,
77
- 246, 247, 92, -21, -21, -21, -21, 78, 226, 97,
78
- -167, 89, 72, 75, 52, -168, 102, -166, 106, -169,
79
- 71, -167, 59, -171, 83, 86, 366, 152, 92, -23,
80
- -23, -23, -23, 78, 100, 228, 226, 89, 72, 75,
81
- 94, 50, 102, 373, 106, 71, 49, 375, 59, 83,
82
- 86, 229, -221, 92, 237, 378, 72, 75, 78, 40,
83
- 97, 39, 89, 355, 44, 45, 41, 42, 231, 234,
84
- nil, 71, nil, 59, nil, 83, 86, nil, nil, 92,
85
- 44, 45, 41, 42, 78, 100, 72, 75, 89, 71,
86
- 102, 94, 106, 83, 269, nil, nil, 92, nil, 59,
87
- nil, nil, 137, nil, nil, nil, 89, nil, 97, nil,
88
- nil, nil, 72, 75, nil, nil, 102, 59, 106, 71,
89
- nil, nil, nil, 83, 86, nil, nil, 92, nil, nil,
90
- nil, nil, 78, 100, 97, nil, 89, nil, nil, 94,
91
- nil, nil, 72, 75, nil, 71, 102, 59, 106, 83,
92
- 86, nil, nil, 92, nil, nil, nil, nil, 78, 100,
93
- nil, nil, 89, nil, 97, 94, nil, nil, 72, 75,
94
- nil, nil, 102, 59, 106, 71, nil, nil, nil, 83,
95
- 86, nil, nil, 92, nil, nil, 72, 75, 78, 100,
96
- 97, nil, 89, 72, 75, 94, nil, 102, nil, 106,
97
- nil, 71, nil, 59, nil, 83, 86, 72, 75, 92,
98
- nil, 102, nil, nil, 78, 100, nil, nil, 89, 71,
99
- nil, 94, nil, 83, 269, nil, 71, 92, nil, 59,
100
- 83, 86, 137, nil, 92, nil, 89, nil, nil, 78,
101
- 71, nil, nil, 89, 83, 143, nil, 59, 92, nil,
102
- nil, nil, nil, 137, 59, 72, 75, 89, nil, 102,
103
- nil, 106, 213, 196, 197, 198, 200, 202, 59, 207,
104
- 211, nil, 213, 196, 197, 198, 199, 97, nil, 207,
105
- 211, 72, 75, nil, nil, 102, 199, 106, 71, nil,
106
- nil, nil, 83, 86, nil, nil, 92, nil, nil, nil,
107
- nil, 78, 100, 97, nil, 89, nil, nil, 94, nil,
108
- nil, 72, 75, nil, 71, 102, 59, 106, 83, 86,
109
- nil, nil, 92, nil, nil, nil, nil, 78, 100, nil,
110
- nil, 89, nil, 97, 94, nil, nil, nil, nil, nil,
111
- nil, nil, 59, nil, 71, nil, nil, nil, 83, 86,
112
- 72, 75, 92, nil, 102, 189, 106, 78, 100, nil,
113
- nil, 89, nil, nil, 94, nil, nil, nil, nil, 72,
114
- 75, nil, 59, 102, nil, 106, 72, 75, nil, nil,
115
- 102, nil, 106, 71, nil, nil, nil, 83, 86, nil,
116
- nil, 92, nil, nil, nil, nil, 78, nil, 97, nil,
117
- 89, nil, 71, nil, nil, nil, 83, 86, nil, 71,
118
- 92, 59, nil, 83, 86, 78, nil, 92, nil, 89,
119
- nil, nil, 78, 100, nil, nil, 89, 72, 75, 94,
120
- 59, 102, nil, 106, nil, nil, nil, 59, nil, nil,
121
- nil, nil, nil, nil, nil, nil, 72, 75, nil, 97,
122
- 102, nil, 106, 72, 75, nil, nil, 102, nil, 106,
123
- 71, nil, nil, nil, 83, 86, nil, nil, 92, nil,
124
- nil, nil, nil, 78, 100, 97, nil, 89, nil, 71,
125
- 94, nil, nil, 83, 86, nil, 71, 92, 59, nil,
126
- 83, 86, 78, nil, 92, nil, 89, nil, nil, 78,
127
- 100, nil, nil, 89, 72, 75, 94, 59, 102, nil,
128
- 106, nil, nil, nil, 59, nil, nil, nil, nil, nil,
129
- nil, nil, nil, 72, 75, nil, 97, nil, nil, 72,
130
- 75, nil, nil, nil, nil, nil, nil, 71, nil, nil,
131
- nil, 83, 86, nil, nil, 92, 340, nil, nil, nil,
132
- 78, 100, 177, nil, 89, nil, 71, 94, nil, nil,
133
- 83, 86, 71, nil, 92, 59, 83, 86, 76, 78,
134
- 92, nil, nil, 89, 76, 78, 72, 75, nil, 89,
135
- 102, nil, 106, nil, 59, nil, 213, 196, 197, 198,
136
- 59, nil, nil, 207, 211, 72, 75, nil, 97, 102,
137
- 199, 106, 72, 75, nil, nil, nil, nil, nil, 71,
138
- nil, nil, nil, 83, 86, nil, nil, 92, nil, nil,
139
- 72, 75, 78, 100, nil, nil, 89, nil, 71, 94,
140
- nil, nil, 83, 86, nil, 71, 92, 59, nil, 83,
141
- 269, 78, nil, 92, nil, 89, nil, nil, 137, nil,
142
- nil, nil, 89, 71, nil, nil, 59, 83, 269, nil,
143
- nil, 92, nil, 59, nil, nil, 137, 72, 75, nil,
144
- 89, 102, nil, 106, nil, nil, nil, nil, nil, nil,
145
- nil, 59, nil, nil, nil, nil, 72, 75, nil, 97,
146
- 102, nil, 106, 72, 75, nil, nil, 102, nil, 106,
147
- 71, nil, nil, nil, 83, 86, nil, nil, 92, nil,
148
- nil, nil, nil, 78, 100, 72, 75, 89, nil, 71,
149
- 94, nil, nil, 83, 86, nil, 71, 92, 59, nil,
150
- 83, 86, 78, nil, 92, nil, 89, nil, nil, 78,
151
- 72, 75, nil, 89, 102, nil, 106, 59, 71, nil,
152
- nil, nil, 83, 269, 59, nil, 92, nil, 72, 75,
153
- nil, 137, 102, nil, 106, 89, nil, nil, nil, nil,
154
- nil, nil, nil, 71, nil, nil, 59, 83, 86, nil,
155
- 97, 92, nil, 72, 75, nil, 78, 102, nil, 106,
156
- 89, 71, nil, 72, 75, 83, 86, 102, nil, 92,
157
- nil, 59, nil, nil, 78, 100, nil, nil, 89, nil,
158
- nil, 94, nil, nil, nil, nil, 71, nil, nil, 59,
159
- 83, 86, nil, nil, 92, nil, 71, nil, nil, 78,
160
- 83, 269, nil, 89, 92, nil, 72, 75, nil, 137,
161
- 102, nil, 106, 89, 59, nil, nil, nil, nil, nil,
162
- nil, nil, nil, nil, 59, 72, 75, nil, 97, 102,
163
- nil, 106, 72, 75, nil, nil, 102, nil, 106, 71,
164
- nil, nil, nil, 83, 86, nil, nil, 92, nil, nil,
165
- nil, nil, 78, 100, 97, nil, 89, nil, 71, 94,
166
- nil, nil, 83, 86, nil, 71, 92, 59, nil, 83,
167
- 86, 78, nil, 92, nil, 89, nil, nil, 78, 100,
168
- 212, nil, 89, nil, nil, 94, 59, nil, nil, 205,
169
- 210, nil, nil, 59, nil, nil, nil, nil, 201, 203,
170
- 206, 209, nil, nil, 205, 210, nil, nil, nil, nil,
171
- nil, nil, 274, 201, 203, 206, 209, nil, nil, nil,
172
- nil, nil, 204, 208, nil, nil, 213, 196, 197, 198,
173
- 200, 202, nil, 207, 211, nil, nil, 204, 208, nil,
174
- 199, 213, 196, 197, 198, 200, 202, nil, 207, 211,
175
- 205, 210, nil, nil, nil, 199, nil, nil, nil, 201,
176
- 203, 206, 209, nil, nil, 205, 210, nil, nil, nil,
177
- nil, nil, nil, nil, 201, 203, 206, 209, nil, nil,
178
- nil, nil, nil, nil, 208, nil, nil, 213, 196, 197,
179
- 198, 200, 202, nil, 207, 211, nil, nil, 204, 208,
180
- nil, 199, 213, 196, 197, 198, 200, 202, nil, 207,
181
- 211, 205, 210, nil, nil, nil, 199, nil, nil, nil,
182
- 201, 203, 206, 209, nil, nil, 205, 210, nil, nil,
183
- nil, nil, nil, nil, nil, 201, 203, 206, 209, nil,
184
- nil, nil, nil, nil, 204, 208, nil, nil, 213, 196,
185
- 197, 198, 200, 202, nil, 207, 211, nil, nil, nil,
186
- nil, nil, 199, 213, 196, 197, 198, 200, 202, nil,
187
- 207, 211, 205, 210, nil, nil, nil, 199, nil, nil,
188
- nil, 201, 203, 206, 209, nil, nil, nil, 210, nil,
189
- 213, 196, 197, 198, 200, 202, 201, 207, 211, nil,
190
- nil, nil, nil, nil, 199, 204, 208, 210, nil, 213,
191
- 196, 197, 198, 200, 202, 201, 207, 211, nil, nil,
192
- nil, nil, 210, 199, 213, 196, 197, 198, 200, 202,
193
- 201, 207, 211, nil, nil, nil, nil, nil, 199, nil,
194
- nil, 210, nil, 213, 196, 197, 198, 200, 202, 201,
195
- 207, 211, nil, nil, nil, nil, nil, 199, 213, 196,
196
- 197, 198, 200, 202, nil, 207, 211, nil, nil, 384,
197
- nil, nil, 199, nil, nil, nil, nil, 213, 196, 197,
198
- 198, 200, 202, nil, 207, 211, nil, nil, 297, nil,
199
- 26, 199, 33, 1, nil, 7, 12, nil, 17, nil,
200
- 23, nil, 29, nil, 3, nil, nil, 11, 14, 26,
201
- 305, 33, 1, nil, 7, 12, nil, 17, nil, 23,
202
- nil, 29, nil, 3, nil, nil, 11, 14, nil, 383,
203
- nil, 26, nil, 33, 1, nil, 7, 12, nil, 17,
204
- nil, 23, nil, 29, nil, 3, nil, nil, 11, 14,
205
- 26, 325, 33, 1, nil, 7, 12, nil, 17, nil,
206
- 23, nil, 29, nil, 3, nil, nil, 11, 14, nil,
207
- 382, nil, 26, nil, 33, 1, nil, 7, 12, nil,
208
- 17, nil, 23, nil, 29, nil, 3, nil, nil, 11,
209
- 14, 26, 380, 33, 1, nil, 7, 12, nil, 17,
210
- nil, 23, nil, 29, nil, 3, nil, nil, 11, 14,
211
- nil, 376, nil, 26, nil, 33, 1, nil, 7, 12,
212
- nil, 17, nil, 23, nil, 29, nil, 3, nil, nil,
213
- 11, 14, 26, 350, 33, 1, nil, 7, 12, nil,
214
- 17, nil, 23, nil, 29, nil, 3, nil, nil, 11,
215
- 14, nil, 358, nil, 26, nil, 33, 1, nil, 7,
216
- 12, nil, 17, nil, 23, nil, 29, nil, 3, nil,
217
- nil, 11, 14, 26, 365, 33, 1, nil, 7, 12,
218
- nil, 17, nil, 23, nil, 29, nil, 3, nil, nil,
219
- 11, 14, nil, 364, nil, 26, nil, 33, 1, nil,
220
- 7, 12, nil, 17, nil, 23, nil, 29, nil, 3,
221
- nil, nil, 11, 14, 26, nil, 33, 1, nil, 7,
222
- 12, nil, 17, nil, 23, nil, 29, nil, 3, nil,
223
- nil, 11, 14, 26, nil, 33, 1, nil, 7, 12,
224
- nil, 17, nil, 23, nil, 29, nil, 3, nil, nil,
225
- 11, 14, 26, nil, 33, 1, nil, 7, 12, nil,
226
- 17, nil, 23, nil, 29, nil, 3, nil, nil, 11,
227
- 14 ]
37
+ 242, 243, 55, 68, 71, 299, 157, 55, 78, 117,
38
+ 199, 68, 71, 181, 186, -169, 36, 112, 341, 113,
39
+ 38, 55, 177, 179, 182, 185, 170, 10, 68, 71,
40
+ 231, 158, 114, 292, 293, 356, 257, 368, 68, 71,
41
+ 59, 198, 100, 61, 103, 59, 180, 184, 61, 198,
42
+ 189, 172, 173, 174, 176, 178, 111, 183, 187, 59,
43
+ 95, 66, 61, 60, 175, 79, 253, 154, 60, 88,
44
+ 345, 66, 233, 229, 139, 79, 81, 231, 84, 88,
45
+ 68, 71, 60, 225, 74, 99, 68, 71, 84, 60,
46
+ 100, 90, 103, 203, 203, 292, 293, 223, 296, 60,
47
+ 203, 117, 231, 78, 202, 202, 295, 240, 95, 209,
48
+ 209, 202, 166, 66, 186, 170, 209, 79, 253, 66,
49
+ 241, 88, 177, 79, 81, 334, 139, 88, 68, 71,
50
+ 84, 310, 74, 99, 68, 71, 84, 357, 100, 90,
51
+ 103, 60, 183, 187, 311, 358, 307, 60, 308, 175,
52
+ 189, 172, 173, 174, 176, 178, 95, 183, 187, 36,
53
+ 309, 66, 288, 38, 175, 79, 253, 66, 218, 88,
54
+ 10, 79, 81, 219, 139, 88, 338, 312, 84, 336,
55
+ 74, 99, 68, 71, 84, 218, 100, 90, 103, 60,
56
+ 219, 173, 174, 217, 285, 60, 183, 187, 257, 284,
57
+ 203, 68, 71, 175, 95, 100, 36, 103, 68, 71,
58
+ 127, 202, 100, 316, 103, 66, 209, 10, 15, 79,
59
+ 81, 173, 174, 88, 183, 187, 183, 187, 74, 99,
60
+ 95, 175, 84, 175, 66, 90, 113, 338, 79, 81,
61
+ 336, 66, 88, 60, 213, 79, 81, 74, 319, 88,
62
+ 216, 84, 68, 71, 74, 99, 213, 49, 84, 68,
63
+ 71, 90, 60, 100, 215, 103, 47, 48, 287, 60,
64
+ 154, 286, 189, 172, 173, 174, 324, 68, 71, 183,
65
+ 187, 100, 213, 103, 36, 66, 175, 327, 38, 79,
66
+ 253, 314, 66, 88, 200, 10, 79, 81, 139, 95,
67
+ 88, -171, 84, 68, 71, 74, 330, 78, 170, 84,
68
+ 66, -172, 259, 60, 79, 81, 257, 258, 88, -173,
69
+ 60, -168, -170, 74, 99, 70, 228, 84, 68, 71,
70
+ 90, 36, 100, -167, 103, 127, 66, -167, 60, 161,
71
+ 79, 81, 10, 15, 88, -169, -171, 297, 72, 74,
72
+ 95, 257, 258, 84, 68, 71, 36, -172, 100, -168,
73
+ 38, 66, 112, -170, 60, 79, 81, 10, 15, 88,
74
+ -22, -22, -22, -22, 74, 99, 68, 71, 84, 290,
75
+ 100, 90, 103, 292, 293, -167, 167, 66, 166, 60,
76
+ 335, 79, 253, 229, -187, 88, 339, 68, 71, 161,
77
+ 139, 100, 49, 103, 84, 43, 44, 40, 41, 66,
78
+ 234, -169, -174, 79, 81, 60, 156, 88, 154, 68,
79
+ 71, 354, 74, 100, 122, 103, 84, 122, 359, 161,
80
+ 66, 60, -170, 53, 79, 81, 229, 60, 88, 366,
81
+ 68, 71, 52, 74, 100, -168, 103, 84, 43, 44,
82
+ 40, 41, 66, 232, 51, 373, 79, 81, 60, 374,
83
+ 88, -169, 95, -167, -170, 74, 68, 71, -168, 84,
84
+ 100, -172, 103, 66, 60, 376, 45, 79, 81, -222,
85
+ 60, 88, -24, -24, -24, -24, 74, 99, 95, 234,
86
+ 84, 379, 238, 90, 39, 384, 68, 71, 385, 66,
87
+ 100, 60, 103, 79, 81, nil, nil, 88, nil, nil,
88
+ nil, nil, 74, 99, nil, nil, 84, nil, 95, 90,
89
+ nil, nil, 68, 71, nil, nil, 100, 60, 103, 66,
90
+ nil, nil, nil, 79, 81, nil, nil, 88, nil, nil,
91
+ nil, nil, 74, 99, 95, nil, 84, nil, nil, 90,
92
+ nil, nil, 68, 71, nil, 66, 100, 60, 103, 79,
93
+ 81, nil, nil, 88, nil, nil, nil, nil, 74, 99,
94
+ nil, nil, 84, nil, 95, 90, nil, nil, 68, 71,
95
+ nil, nil, 100, 60, 103, 66, nil, nil, nil, 79,
96
+ 81, nil, nil, 88, nil, nil, nil, nil, 74, 99,
97
+ 95, nil, 84, nil, nil, 90, nil, nil, 68, 71,
98
+ nil, 66, 100, 60, 103, 79, 81, nil, nil, 88,
99
+ nil, nil, nil, nil, 74, 99, nil, nil, 84, nil,
100
+ 95, 90, nil, nil, 68, 71, nil, nil, 100, 60,
101
+ 103, 66, nil, nil, nil, 79, 81, nil, nil, 88,
102
+ 68, 71, nil, nil, 74, 99, 68, 71, 84, nil,
103
+ 100, 90, 103, nil, nil, nil, nil, 66, nil, 60,
104
+ nil, 79, 81, nil, nil, 88, nil, nil, 95, nil,
105
+ 74, 68, 71, 66, 84, 100, nil, 79, 253, 66,
106
+ nil, 88, nil, 79, 81, 60, 139, 88, nil, nil,
107
+ 84, nil, 74, 99, nil, nil, 84, 68, 71, 90,
108
+ nil, 60, nil, nil, 66, nil, nil, 60, 79, 144,
109
+ nil, nil, 88, nil, nil, nil, nil, 139, 68, 71,
110
+ nil, 84, 100, nil, 103, nil, nil, nil, nil, nil,
111
+ 66, nil, 60, nil, 79, 253, 68, 71, 88, nil,
112
+ 100, nil, 103, 139, nil, nil, nil, 84, nil, nil,
113
+ nil, 66, nil, nil, nil, 79, 81, nil, 60, 88,
114
+ nil, 68, 71, nil, 74, nil, nil, nil, 84, 66,
115
+ nil, nil, nil, 79, 81, nil, nil, 88, nil, 60,
116
+ nil, nil, 74, nil, 261, nil, 84, 68, 71, nil,
117
+ nil, 100, nil, 103, 66, nil, nil, 60, 79, 81,
118
+ nil, nil, 88, nil, nil, nil, 72, 74, 68, 71,
119
+ nil, 84, 100, nil, 103, nil, nil, nil, nil, nil,
120
+ 66, nil, 60, nil, 79, 81, nil, nil, 88, nil,
121
+ 95, nil, nil, 74, 68, 71, nil, 84, nil, nil,
122
+ nil, 66, nil, nil, nil, 79, 81, nil, 60, 88,
123
+ nil, nil, nil, nil, 74, 99, nil, 162, 84, 68,
124
+ 71, 90, nil, 100, nil, 103, nil, 66, nil, 60,
125
+ nil, 79, 81, nil, nil, 88, nil, nil, nil, 72,
126
+ 74, 95, nil, nil, 84, 68, 71, nil, nil, 100,
127
+ nil, 103, 66, nil, nil, 60, 79, 81, nil, nil,
128
+ 88, nil, nil, nil, nil, 74, 99, 95, nil, 84,
129
+ 68, 71, 90, nil, 100, nil, 103, nil, 66, nil,
130
+ 60, nil, 79, 81, 68, 71, 88, nil, nil, nil,
131
+ 255, 74, 99, nil, nil, 84, nil, nil, 90, nil,
132
+ nil, nil, nil, 66, nil, nil, 60, 79, 81, 68,
133
+ 71, 88, nil, 100, nil, 103, 74, 66, nil, nil,
134
+ 84, 79, 253, nil, nil, 88, nil, nil, 68, 71,
135
+ 139, 60, nil, nil, 84, nil, nil, nil, nil, nil,
136
+ nil, nil, 66, nil, nil, 60, 79, 81, nil, nil,
137
+ 88, 328, nil, 68, 71, 74, nil, nil, nil, 84,
138
+ nil, 66, nil, nil, nil, 79, 81, nil, nil, 88,
139
+ 60, 68, 71, 72, 74, 100, 193, 103, 84, nil,
140
+ nil, nil, nil, nil, nil, nil, 66, nil, nil, 60,
141
+ 79, 253, 68, 71, 88, nil, 100, nil, 103, 139,
142
+ nil, nil, nil, 84, 66, nil, nil, nil, 79, 81,
143
+ nil, nil, 88, nil, 60, nil, nil, 74, 68, 71,
144
+ nil, 84, 100, nil, 103, 66, nil, nil, nil, 79,
145
+ 81, nil, 60, 88, nil, nil, nil, nil, 74, nil,
146
+ 95, nil, 84, nil, 68, 71, nil, nil, 100, nil,
147
+ 103, 66, nil, 60, nil, 79, 81, nil, nil, 88,
148
+ nil, nil, nil, nil, 74, 99, 95, nil, 84, 68,
149
+ 71, 90, nil, 100, nil, 103, nil, 66, nil, 60,
150
+ nil, 79, 81, 68, 71, 88, nil, nil, nil, nil,
151
+ 74, 99, nil, nil, 84, nil, nil, 90, nil, nil,
152
+ nil, nil, 66, nil, nil, 60, 79, 81, nil, nil,
153
+ 88, nil, nil, nil, nil, 74, 66, nil, nil, 84,
154
+ 79, 81, nil, nil, 88, nil, nil, nil, 72, 74,
155
+ 60, 68, 71, 84, nil, 100, nil, 103, 189, 172,
156
+ 173, 174, 176, 178, 60, 183, 187, nil, 189, 172,
157
+ 173, 174, 175, 95, nil, 183, 187, 68, 71, nil,
158
+ nil, 100, 175, 103, 66, nil, nil, nil, 79, 81,
159
+ nil, nil, 88, nil, nil, nil, nil, 74, 99, 95,
160
+ nil, 84, nil, nil, 90, nil, nil, 68, 71, nil,
161
+ 66, 100, 60, 103, 79, 81, nil, nil, 88, nil,
162
+ nil, nil, nil, 74, 99, nil, nil, 84, nil, 95,
163
+ 90, nil, nil, 68, 71, nil, nil, 100, 60, 103,
164
+ 66, nil, nil, nil, 79, 81, nil, nil, 88, nil,
165
+ nil, nil, nil, 74, 99, 95, nil, 84, nil, nil,
166
+ 90, nil, nil, nil, nil, nil, 66, nil, 60, nil,
167
+ 79, 81, 188, nil, 88, nil, nil, nil, nil, 74,
168
+ 99, 181, 186, 84, nil, nil, 90, nil, nil, nil,
169
+ 177, 179, 182, 185, 60, nil, 181, 186, nil, nil,
170
+ nil, nil, nil, nil, nil, 177, 179, 182, 185, nil,
171
+ nil, nil, nil, nil, 180, 184, nil, nil, 189, 172,
172
+ 173, 174, 176, 178, nil, 183, 187, nil, nil, 180,
173
+ 184, nil, 175, 189, 172, 173, 174, 176, 178, nil,
174
+ 183, 187, 181, 186, nil, nil, nil, 175, nil, nil,
175
+ 283, 177, 179, 182, 185, nil, nil, 181, 186, nil,
176
+ nil, nil, nil, nil, nil, nil, 177, 179, 182, 185,
177
+ nil, nil, nil, nil, nil, 180, 184, nil, nil, 189,
178
+ 172, 173, 174, 176, 178, nil, 183, 187, nil, nil,
179
+ nil, 184, nil, 175, 189, 172, 173, 174, 176, 178,
180
+ nil, 183, 187, 181, 186, nil, nil, nil, 175, nil,
181
+ nil, nil, 177, 179, 182, 185, nil, nil, 181, 186,
182
+ nil, nil, nil, nil, nil, nil, nil, 177, 179, 182,
183
+ 185, nil, nil, nil, nil, nil, 180, 184, nil, nil,
184
+ 189, 172, 173, 174, 176, 178, nil, 183, 187, nil,
185
+ nil, 180, 184, nil, 175, 189, 172, 173, 174, 176,
186
+ 178, nil, 183, 187, 181, 186, nil, nil, nil, 175,
187
+ nil, nil, nil, 177, 179, 182, 185, nil, nil, 26,
188
+ 186, 32, 1, nil, 8, 11, nil, 18, 177, 23,
189
+ nil, 29, nil, 2, nil, nil, 10, 15, nil, 186,
190
+ nil, 189, 172, 173, 174, 176, 178, 177, 183, 187,
191
+ nil, nil, nil, nil, 186, 175, 189, 172, 173, 174,
192
+ 176, 178, 177, 183, 187, nil, nil, nil, nil, nil,
193
+ 175, nil, nil, nil, nil, 189, 172, 173, 174, 176,
194
+ 178, nil, 183, 187, 281, nil, nil, nil, nil, 175,
195
+ 189, 172, 173, 174, 176, 178, nil, 183, 187, nil,
196
+ nil, nil, nil, 377, 175, 26, nil, 32, 1, nil,
197
+ 8, 11, nil, 18, nil, 23, nil, 29, nil, 2,
198
+ nil, nil, 10, 15, 26, 364, 32, 1, nil, 8,
199
+ 11, nil, 18, nil, 23, nil, 29, nil, 2, nil,
200
+ nil, 10, 15, nil, 383, nil, 26, nil, 32, 1,
201
+ nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
202
+ 2, nil, nil, 10, 15, 26, 306, 32, 1, nil,
203
+ 8, 11, nil, 18, nil, 23, nil, 29, nil, 2,
204
+ nil, nil, 10, 15, nil, 381, nil, 26, nil, 32,
205
+ 1, nil, 8, 11, nil, 18, nil, 23, nil, 29,
206
+ nil, 2, nil, nil, 10, 15, 26, 326, 32, 1,
207
+ nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
208
+ 2, nil, nil, 10, 15, nil, nil, nil, 26, nil,
209
+ 32, 1, nil, 8, 11, nil, 18, nil, 23, nil,
210
+ 29, nil, 2, nil, nil, 10, 15, 26, nil, 32,
211
+ 1, nil, 8, 11, nil, 18, nil, 23, nil, 29,
212
+ nil, 2, nil, nil, 10, 15, 26, nil, 32, 1,
213
+ nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
214
+ 2, nil, nil, 10, 15, 189, 172, 173, 174, 176,
215
+ 178, nil, 183, 187, nil, nil, nil, nil, nil, 175 ]
228
216
 
229
217
  racc_action_check = [
230
- 180, 180, 152, 22, 243, 22, 55, 17, 86, 301,
231
- 81, 165, 96, 180, 180, 178, 12, 301, 22, 165,
232
- 12, 95, 180, 180, 180, 180, 86, 12, 178, 243,
233
- 243, 55, 156, 174, 208, 208, 106, 106, 208, 215,
234
- 208, 91, 22, 106, 152, 17, 180, 180, 17, 218,
235
- 180, 180, 180, 180, 180, 180, 208, 180, 180, 176,
236
- 176, 174, 174, 176, 180, 176, 62, 208, 17, 219,
237
- 156, 208, 208, 156, 106, 208, 158, 62, 369, 369,
238
- 208, 208, 62, 239, 208, 205, 205, 208, 220, 205,
239
- 65, 205, 176, 156, 239, 208, 176, 176, 211, 239,
240
- 176, 65, 224, 181, 181, 176, 65, 205, 273, 176,
241
- 350, 369, 143, 350, 158, 369, 369, 158, 205, 369,
242
- 176, 273, 205, 205, 369, 143, 205, 90, 369, 356,
243
- 356, 205, 205, 344, 344, 205, 181, 158, 205, 369,
244
- 181, 181, 221, 226, 181, 227, 205, 163, 181, 181,
245
- 352, 352, 87, 181, 352, 221, 352, 120, 163, 229,
246
- 309, 120, 356, 163, 181, 309, 356, 356, 120, 120,
247
- 356, 85, 352, 231, 43, 356, 342, 342, 43, 356,
248
- 342, 232, 342, 352, 122, 43, 43, 352, 352, 122,
249
- 356, 352, 182, 182, 278, 278, 352, 352, 182, 195,
250
- 352, 278, 195, 352, 297, 281, 281, 297, 233, 342,
251
- 103, 352, 281, 342, 342, 280, 280, 342, 184, 184,
252
- 280, 280, 342, 84, 30, 182, 342, 280, 30, 182,
253
- 182, 105, 278, 182, 101, 30, 30, 342, 182, 204,
254
- 204, 184, 182, 204, 80, 204, 1, 282, 282, 78,
255
- 1, 184, 77, 182, 282, 184, 184, 1, 250, 184,
256
- 252, 204, 253, 184, 184, 23, 23, 234, 184, 23,
257
- 71, 234, 204, 7, 234, 70, 204, 204, 234, 184,
258
- 204, 264, 7, 7, 269, 204, 204, 23, 68, 204,
259
- 26, 26, 204, 107, 26, 275, 26, 67, 23, 66,
260
- 204, 207, 23, 23, 160, 108, 23, 109, 160, 160,
261
- 23, 23, 26, 298, 298, 23, 196, 196, 298, 298,
262
- 196, 114, 196, 26, 115, 298, 23, 26, 26, 188,
263
- 119, 26, 121, 188, 188, 64, 26, 26, 196, 127,
264
- 26, 29, 29, 26, 52, 29, 51, 29, 50, 196,
265
- 132, 26, 133, 196, 196, 171, 192, 196, 135, 171,
266
- 171, 36, 196, 196, 136, 138, 196, 213, 213, 196,
267
- 33, 213, 139, 213, 29, 140, 183, 196, 29, 29,
268
- 183, 183, 29, 28, 28, 28, 28, 29, 316, 213,
269
- 142, 29, 306, 306, 16, 328, 306, 329, 306, 331,
270
- 213, 332, 29, 333, 213, 213, 338, 175, 213, 35,
271
- 35, 35, 35, 213, 213, 173, 172, 213, 197, 197,
272
- 213, 9, 197, 353, 197, 306, 8, 357, 213, 306,
273
- 306, 144, 368, 306, 157, 370, 299, 299, 306, 3,
274
- 197, 2, 306, 299, 34, 34, 34, 34, 153, 154,
275
- nil, 197, nil, 306, nil, 197, 197, nil, nil, 197,
276
- 4, 4, 4, 4, 197, 197, 39, 39, 197, 299,
277
- 39, 197, 39, 299, 299, nil, nil, 299, nil, 197,
278
- nil, nil, 299, nil, nil, nil, 299, nil, 39, nil,
279
- nil, nil, 206, 206, nil, nil, 206, 299, 206, 39,
280
- nil, nil, nil, 39, 39, nil, nil, 39, nil, nil,
281
- nil, nil, 39, 39, 206, nil, 39, nil, nil, 39,
282
- nil, nil, 46, 46, nil, 206, 46, 39, 46, 206,
283
- 206, nil, nil, 206, nil, nil, nil, nil, 206, 206,
284
- nil, nil, 206, nil, 46, 206, nil, nil, 47, 47,
285
- nil, nil, 47, 206, 47, 46, nil, nil, nil, 46,
286
- 46, nil, nil, 46, nil, nil, 270, 270, 46, 46,
287
- 47, nil, 46, 48, 48, 46, nil, 48, nil, 48,
288
- nil, 47, nil, 46, nil, 47, 47, 49, 49, 47,
289
- nil, 49, nil, nil, 47, 47, nil, nil, 47, 270,
290
- nil, 47, nil, 270, 270, nil, 48, 270, nil, 47,
291
- 48, 48, 270, nil, 48, nil, 270, nil, nil, 48,
292
- 49, nil, nil, 48, 49, 49, nil, 270, 49, nil,
293
- nil, nil, nil, 49, 48, 203, 203, 49, nil, 203,
294
- nil, 203, 294, 294, 294, 294, 294, 294, 49, 294,
295
- 294, nil, 284, 284, 284, 284, 294, 203, nil, 284,
296
- 284, 209, 209, nil, nil, 209, 284, 209, 203, nil,
297
- nil, nil, 203, 203, nil, nil, 203, nil, nil, nil,
298
- nil, 203, 203, 209, nil, 203, nil, nil, 203, nil,
299
- nil, 210, 210, nil, 209, 210, 203, 210, 209, 209,
300
- nil, nil, 209, nil, nil, nil, nil, 209, 209, nil,
301
- nil, 209, nil, 210, 209, nil, nil, nil, nil, nil,
302
- nil, nil, 209, nil, 210, nil, nil, nil, 210, 210,
303
- 102, 102, 210, nil, 102, 102, 102, 210, 210, nil,
304
- nil, 210, nil, nil, 210, nil, nil, nil, nil, 63,
305
- 63, nil, 210, 63, nil, 63, 202, 202, nil, nil,
306
- 202, nil, 202, 102, nil, nil, nil, 102, 102, nil,
307
- nil, 102, nil, nil, nil, nil, 102, nil, 202, nil,
308
- 102, nil, 63, nil, nil, nil, 63, 63, nil, 202,
309
- 63, 102, nil, 202, 202, 63, nil, 202, nil, 63,
310
- nil, nil, 202, 202, nil, nil, 202, 100, 100, 202,
311
- 63, 100, nil, 100, nil, nil, nil, 202, nil, nil,
312
- nil, nil, nil, nil, nil, nil, 277, 277, nil, 100,
313
- 277, nil, 277, 198, 198, nil, nil, 198, nil, 198,
314
- 100, nil, nil, nil, 100, 100, nil, nil, 100, nil,
315
- nil, nil, nil, 100, 100, 198, nil, 100, nil, 277,
316
- 100, nil, nil, 277, 277, nil, 198, 277, 100, nil,
317
- 198, 198, 277, nil, 198, nil, 277, nil, nil, 198,
318
- 198, nil, nil, 198, 256, 256, 198, 277, 256, nil,
319
- 256, nil, nil, nil, 198, nil, nil, nil, nil, nil,
320
- nil, nil, nil, 254, 254, nil, 256, nil, nil, 74,
321
- 74, nil, nil, nil, nil, nil, nil, 256, nil, nil,
322
- nil, 256, 256, nil, nil, 256, 254, nil, nil, nil,
323
- 256, 256, 74, nil, 256, nil, 254, 256, nil, nil,
324
- 254, 254, 74, nil, 254, 256, 74, 74, 254, 254,
325
- 74, nil, nil, 254, 74, 74, 75, 75, nil, 74,
326
- 75, nil, 75, nil, 254, nil, 286, 286, 286, 286,
327
- 74, nil, nil, 286, 286, 248, 248, nil, 75, 248,
328
- 286, 248, 245, 245, nil, nil, nil, nil, nil, 75,
329
- nil, nil, nil, 75, 75, nil, nil, 75, nil, nil,
330
- 244, 244, 75, 75, nil, nil, 75, nil, 248, 75,
331
- nil, nil, 248, 248, nil, 245, 248, 75, nil, 245,
332
- 245, 248, nil, 245, nil, 248, nil, nil, 245, nil,
333
- nil, nil, 245, 244, nil, nil, 248, 244, 244, nil,
334
- nil, 244, nil, 245, nil, nil, 244, 97, 97, nil,
335
- 244, 97, nil, 97, nil, nil, nil, nil, nil, nil,
336
- nil, 244, nil, nil, nil, nil, 82, 82, nil, 97,
337
- 82, nil, 82, 199, 199, nil, nil, 199, nil, 199,
338
- 97, nil, nil, nil, 97, 97, nil, nil, 97, nil,
339
- nil, nil, nil, 97, 97, 214, 214, 97, nil, 82,
340
- 97, nil, nil, 82, 82, nil, 199, 82, 97, nil,
341
- 199, 199, 82, nil, 199, nil, 82, nil, nil, 199,
342
- 230, 230, nil, 199, 230, nil, 230, 82, 214, nil,
343
- nil, nil, 214, 214, 199, nil, 214, nil, 200, 200,
344
- nil, 214, 200, nil, 200, 214, nil, nil, nil, nil,
345
- nil, nil, nil, 230, nil, nil, 214, 230, 230, nil,
346
- 200, 230, nil, 228, 228, nil, 230, 228, nil, 228,
347
- 230, 200, nil, 225, 225, 200, 200, 225, nil, 200,
348
- nil, 230, nil, nil, 200, 200, nil, nil, 200, nil,
349
- nil, 200, nil, nil, nil, nil, 228, nil, nil, 200,
350
- 228, 228, nil, nil, 228, nil, 225, nil, nil, 228,
351
- 225, 225, nil, 228, 225, nil, 201, 201, nil, 225,
352
- 201, nil, 201, 225, 228, nil, nil, nil, nil, nil,
353
- nil, nil, nil, nil, 225, 308, 308, nil, 201, 308,
354
- nil, 308, 94, 94, nil, nil, 94, nil, 94, 201,
355
- nil, nil, nil, 201, 201, nil, nil, 201, nil, nil,
356
- nil, nil, 201, 201, 94, nil, 201, nil, 308, 201,
357
- nil, nil, 308, 308, nil, 94, 308, 201, nil, 94,
358
- 94, 308, nil, 94, nil, 308, nil, nil, 94, 94,
359
- 111, nil, 94, nil, nil, 94, 308, nil, nil, 111,
360
- 111, nil, nil, 94, nil, nil, nil, nil, 111, 111,
361
- 111, 111, nil, nil, 186, 186, nil, nil, nil, nil,
362
- nil, nil, 186, 186, 186, 186, 186, nil, nil, nil,
363
- nil, nil, 111, 111, nil, nil, 111, 111, 111, 111,
364
- 111, 111, nil, 111, 111, nil, nil, 186, 186, nil,
365
- 111, 186, 186, 186, 186, 186, 186, nil, 186, 186,
366
- 288, 288, nil, nil, nil, 186, nil, nil, nil, 288,
367
- 288, 288, 288, nil, nil, 131, 131, nil, nil, nil,
368
- nil, nil, nil, nil, 131, 131, 131, 131, nil, nil,
369
- nil, nil, nil, nil, 288, nil, nil, 288, 288, 288,
370
- 288, 288, 288, nil, 288, 288, nil, nil, 131, 131,
371
- nil, 288, 131, 131, 131, 131, 131, 131, nil, 131,
372
- 131, 130, 130, nil, nil, nil, 131, nil, nil, nil,
373
- 130, 130, 130, 130, nil, nil, 292, 292, nil, nil,
374
- nil, nil, nil, nil, nil, 292, 292, 292, 292, nil,
375
- nil, nil, nil, nil, 130, 130, nil, nil, 130, 130,
376
- 130, 130, 130, 130, nil, 130, 130, nil, nil, nil,
377
- nil, nil, 130, 292, 292, 292, 292, 292, 292, nil,
378
- 292, 292, 124, 124, nil, nil, nil, 292, nil, nil,
379
- nil, 124, 124, 124, 124, nil, nil, nil, 293, nil,
380
- 285, 285, 285, 285, 285, 285, 293, 285, 285, nil,
381
- nil, nil, nil, nil, 285, 124, 124, 289, nil, 124,
382
- 124, 124, 124, 124, 124, 289, 124, 124, nil, nil,
383
- nil, nil, 287, 124, 293, 293, 293, 293, 293, 293,
384
- 287, 293, 293, nil, nil, nil, nil, nil, 293, nil,
385
- nil, 290, nil, 289, 289, 289, 289, 289, 289, 290,
386
- 289, 289, nil, nil, nil, nil, nil, 289, 287, 287,
387
- 287, 287, 287, 287, nil, 287, 287, nil, nil, 381,
388
- nil, nil, 287, nil, nil, nil, nil, 290, 290, 290,
389
- 290, 290, 290, nil, 290, 290, nil, nil, 212, nil,
390
- 381, 290, 381, 381, nil, 381, 381, nil, 381, nil,
391
- 381, nil, 381, nil, 381, nil, nil, 381, 381, 212,
392
- 217, 212, 212, nil, 212, 212, nil, 212, nil, 212,
393
- nil, 212, nil, 212, nil, nil, 212, 212, nil, 379,
394
- nil, 217, nil, 217, 217, nil, 217, 217, nil, 217,
395
- nil, 217, nil, 217, nil, 217, nil, nil, 217, 217,
396
- 379, 237, 379, 379, nil, 379, 379, nil, 379, nil,
397
- 379, nil, 379, nil, 379, nil, nil, 379, 379, nil,
398
- 375, nil, 237, nil, 237, 237, nil, 237, 237, nil,
399
- 237, nil, 237, nil, 237, nil, 237, nil, nil, 237,
400
- 237, 375, 373, 375, 375, nil, 375, 375, nil, 375,
401
- nil, 375, nil, 375, nil, 375, nil, nil, 375, 375,
402
- nil, 363, nil, 373, nil, 373, 373, nil, 373, 373,
403
- nil, 373, nil, 373, nil, 373, nil, 373, nil, nil,
404
- 373, 373, 363, 296, 363, 363, nil, 363, 363, nil,
405
- 363, nil, 363, nil, 363, nil, 363, nil, nil, 363,
406
- 363, nil, 304, nil, 296, nil, 296, 296, nil, 296,
407
- 296, nil, 296, nil, 296, nil, 296, nil, 296, nil,
408
- nil, 296, 296, 304, 324, 304, 304, nil, 304, 304,
409
- nil, 304, nil, 304, nil, 304, nil, 304, nil, nil,
410
- 304, 304, nil, 320, nil, 324, nil, 324, 324, nil,
411
- 324, 324, nil, 324, nil, 324, nil, 324, nil, 324,
412
- nil, nil, 324, 324, 320, nil, 320, 320, nil, 320,
413
- 320, nil, 320, nil, 320, nil, 320, nil, 320, nil,
414
- nil, 320, 320, 19, nil, 19, 19, nil, 19, 19,
415
- nil, 19, nil, 19, nil, 19, nil, 19, nil, nil,
416
- 19, 19, 0, nil, 0, 0, nil, 0, 0, nil,
417
- 0, nil, 0, nil, 0, nil, 0, nil, nil, 0,
418
- 0 ]
218
+ 164, 164, 18, 103, 103, 214, 56, 157, 81, 32,
219
+ 103, 286, 286, 164, 164, 136, 11, 27, 286, 27,
220
+ 11, 158, 164, 164, 164, 164, 81, 11, 300, 300,
221
+ 154, 56, 27, 214, 214, 300, 332, 332, 189, 189,
222
+ 18, 103, 189, 18, 189, 157, 164, 164, 157, 286,
223
+ 164, 164, 164, 164, 164, 164, 27, 164, 164, 158,
224
+ 189, 300, 158, 18, 164, 300, 300, 200, 157, 300,
225
+ 294, 189, 154, 212, 300, 189, 189, 213, 300, 189,
226
+ 369, 369, 158, 134, 189, 189, 186, 186, 189, 300,
227
+ 186, 189, 186, 203, 291, 294, 294, 133, 206, 189,
228
+ 111, 216, 144, 127, 203, 291, 206, 163, 186, 203,
229
+ 291, 111, 262, 369, 273, 144, 111, 369, 369, 186,
230
+ 163, 369, 273, 186, 186, 262, 369, 186, 357, 357,
231
+ 369, 221, 186, 186, 185, 185, 186, 302, 185, 186,
232
+ 185, 369, 264, 264, 221, 302, 218, 186, 219, 264,
233
+ 273, 273, 273, 273, 273, 273, 185, 273, 273, 1,
234
+ 220, 357, 197, 1, 273, 357, 357, 185, 122, 357,
235
+ 1, 185, 185, 122, 357, 185, 281, 224, 357, 281,
236
+ 185, 185, 176, 176, 185, 310, 176, 185, 176, 357,
237
+ 310, 282, 282, 121, 192, 185, 282, 282, 192, 192,
238
+ 114, 175, 175, 282, 176, 175, 46, 175, 336, 336,
239
+ 46, 114, 336, 227, 336, 176, 114, 46, 46, 176,
240
+ 176, 263, 263, 176, 265, 265, 263, 263, 176, 176,
241
+ 336, 265, 176, 263, 175, 176, 119, 335, 175, 175,
242
+ 335, 336, 175, 176, 229, 336, 336, 175, 230, 336,
243
+ 116, 175, 215, 215, 336, 336, 232, 8, 336, 330,
244
+ 330, 336, 175, 330, 115, 330, 8, 8, 194, 336,
245
+ 234, 194, 267, 267, 267, 267, 235, 184, 184, 267,
246
+ 267, 184, 113, 184, 225, 215, 267, 239, 225, 215,
247
+ 215, 225, 330, 215, 110, 225, 330, 330, 215, 184,
248
+ 330, 108, 215, 23, 23, 330, 250, 23, 253, 330,
249
+ 184, 107, 169, 215, 184, 184, 169, 169, 184, 106,
250
+ 330, 105, 102, 184, 184, 23, 140, 184, 26, 26,
251
+ 184, 42, 26, 141, 26, 42, 23, 101, 184, 96,
252
+ 23, 23, 42, 42, 23, 94, 89, 211, 23, 23,
253
+ 26, 211, 211, 23, 228, 228, 33, 87, 228, 85,
254
+ 33, 26, 83, 82, 23, 26, 26, 33, 33, 26,
255
+ 31, 31, 31, 31, 26, 26, 29, 29, 26, 201,
256
+ 29, 26, 29, 201, 201, 80, 77, 228, 75, 26,
257
+ 280, 228, 228, 142, 74, 228, 284, 308, 308, 69,
258
+ 228, 308, 66, 308, 228, 6, 6, 6, 6, 29,
259
+ 289, 65, 64, 29, 29, 228, 53, 29, 52, 307,
260
+ 307, 298, 29, 307, 50, 307, 29, 37, 305, 138,
261
+ 308, 187, 143, 17, 308, 308, 321, 29, 308, 325,
262
+ 174, 174, 13, 308, 174, 146, 174, 308, 3, 3,
263
+ 3, 3, 307, 147, 12, 338, 307, 307, 308, 343,
264
+ 307, 347, 174, 348, 350, 307, 179, 179, 351, 307,
265
+ 179, 352, 179, 174, 183, 358, 5, 174, 174, 368,
266
+ 307, 174, 4, 4, 4, 4, 174, 174, 179, 155,
267
+ 174, 370, 159, 174, 2, 380, 173, 173, 382, 179,
268
+ 173, 174, 173, 179, 179, nil, nil, 179, nil, nil,
269
+ nil, nil, 179, 179, nil, nil, 179, nil, 173, 179,
270
+ nil, nil, 45, 45, nil, nil, 45, 179, 45, 173,
271
+ nil, nil, nil, 173, 173, nil, nil, 173, nil, nil,
272
+ nil, nil, 173, 173, 45, nil, 173, nil, nil, 173,
273
+ nil, nil, 172, 172, nil, 45, 172, 173, 172, 45,
274
+ 45, nil, nil, 45, nil, nil, nil, nil, 45, 45,
275
+ nil, nil, 45, nil, 172, 45, nil, nil, 47, 47,
276
+ nil, nil, 47, 45, 47, 172, nil, nil, nil, 172,
277
+ 172, nil, nil, 172, nil, nil, nil, nil, 172, 172,
278
+ 47, nil, 172, nil, nil, 172, nil, nil, 48, 48,
279
+ nil, 47, 48, 172, 48, 47, 47, nil, nil, 47,
280
+ nil, nil, nil, nil, 47, 47, nil, nil, 47, nil,
281
+ 48, 47, nil, nil, 49, 49, nil, nil, 49, 47,
282
+ 49, 48, nil, nil, nil, 48, 48, nil, nil, 48,
283
+ 296, 296, nil, nil, 48, 48, 177, 177, 48, nil,
284
+ 177, 48, 177, nil, nil, nil, nil, 49, nil, 48,
285
+ nil, 49, 49, nil, nil, 49, nil, nil, 177, nil,
286
+ 49, 51, 51, 296, 49, 51, nil, 296, 296, 177,
287
+ nil, 296, nil, 177, 177, 49, 296, 177, nil, nil,
288
+ 296, nil, 177, 177, nil, nil, 177, 295, 295, 177,
289
+ nil, 296, nil, nil, 51, nil, nil, 177, 51, 51,
290
+ nil, nil, 51, nil, nil, nil, nil, 51, 231, 231,
291
+ nil, 51, 231, nil, 231, nil, nil, nil, nil, nil,
292
+ 295, nil, 51, nil, 295, 295, 233, 233, 295, nil,
293
+ 233, nil, 233, 295, nil, nil, nil, 295, nil, nil,
294
+ nil, 231, nil, nil, nil, 231, 231, nil, 295, 231,
295
+ nil, 170, 170, nil, 231, nil, nil, nil, 231, 233,
296
+ nil, nil, nil, 233, 233, nil, nil, 233, nil, 231,
297
+ nil, nil, 233, nil, 170, nil, 233, 288, 288, nil,
298
+ nil, 288, nil, 288, 170, nil, nil, 233, 170, 170,
299
+ nil, nil, 170, nil, nil, nil, 170, 170, 182, 182,
300
+ nil, 170, 182, nil, 182, nil, nil, nil, nil, nil,
301
+ 288, nil, 170, nil, 288, 288, nil, nil, 288, nil,
302
+ 182, nil, nil, 288, 70, 70, nil, 288, nil, nil,
303
+ nil, 182, nil, nil, nil, 182, 182, nil, 288, 182,
304
+ nil, nil, nil, nil, 182, 182, nil, 70, 182, 71,
305
+ 71, 182, nil, 71, nil, 71, nil, 70, nil, 182,
306
+ nil, 70, 70, nil, nil, 70, nil, nil, nil, 70,
307
+ 70, 71, nil, nil, 70, 180, 180, nil, nil, 180,
308
+ nil, 180, 71, nil, nil, 70, 71, 71, nil, nil,
309
+ 71, nil, nil, nil, nil, 71, 71, 180, nil, 71,
310
+ 112, 112, 71, nil, 112, nil, 112, nil, 180, nil,
311
+ 71, nil, 180, 180, 167, 167, 180, nil, nil, nil,
312
+ 167, 180, 180, nil, nil, 180, nil, nil, 180, nil,
313
+ nil, nil, nil, 112, nil, nil, 180, 112, 112, 78,
314
+ 78, 112, nil, 78, nil, 78, 112, 167, nil, nil,
315
+ 112, 167, 167, nil, nil, 167, nil, nil, 240, 240,
316
+ 167, 112, nil, nil, 167, nil, nil, nil, nil, nil,
317
+ nil, nil, 78, nil, nil, 167, 78, 78, nil, nil,
318
+ 78, 240, nil, 255, 255, 78, nil, nil, nil, 78,
319
+ nil, 240, nil, nil, nil, 240, 240, nil, nil, 240,
320
+ 78, 100, 100, 240, 240, 100, 100, 100, 240, nil,
321
+ nil, nil, nil, nil, nil, nil, 255, nil, nil, 240,
322
+ 255, 255, 260, 260, 255, nil, 260, nil, 260, 255,
323
+ nil, nil, nil, 255, 100, nil, nil, nil, 100, 100,
324
+ nil, nil, 100, nil, 255, nil, nil, 100, 181, 181,
325
+ nil, 100, 181, nil, 181, 260, nil, nil, nil, 260,
326
+ 260, nil, 100, 260, nil, nil, nil, nil, 260, nil,
327
+ 181, nil, 260, nil, 90, 90, nil, nil, 90, nil,
328
+ 90, 181, nil, 260, nil, 181, 181, nil, nil, 181,
329
+ nil, nil, nil, nil, 181, 181, 90, nil, 181, 161,
330
+ 161, 181, nil, 161, nil, 161, nil, 90, nil, 181,
331
+ nil, 90, 90, 166, 166, 90, nil, nil, nil, nil,
332
+ 90, 90, nil, nil, 90, nil, nil, 90, nil, nil,
333
+ nil, nil, 161, nil, nil, 90, 161, 161, nil, nil,
334
+ 161, nil, nil, nil, nil, 161, 166, nil, nil, 161,
335
+ 166, 166, nil, nil, 166, nil, nil, nil, 166, 166,
336
+ 161, 95, 95, 166, nil, 95, nil, 95, 277, 277,
337
+ 277, 277, 277, 277, 166, 277, 277, nil, 269, 269,
338
+ 269, 269, 277, 95, nil, 269, 269, 178, 178, nil,
339
+ nil, 178, 269, 178, 95, nil, nil, nil, 95, 95,
340
+ nil, nil, 95, nil, nil, nil, nil, 95, 95, 178,
341
+ nil, 95, nil, nil, 95, nil, nil, 99, 99, nil,
342
+ 178, 99, 95, 99, 178, 178, nil, nil, 178, nil,
343
+ nil, nil, nil, 178, 178, nil, nil, 178, nil, 99,
344
+ 178, nil, nil, 242, 242, nil, nil, 242, 178, 242,
345
+ 99, nil, nil, nil, 99, 99, nil, nil, 99, nil,
346
+ nil, nil, nil, 99, 99, 242, nil, 99, nil, nil,
347
+ 99, nil, nil, nil, nil, nil, 242, nil, 99, nil,
348
+ 242, 242, 91, nil, 242, nil, nil, nil, nil, 242,
349
+ 242, 91, 91, 242, nil, nil, 242, nil, nil, nil,
350
+ 91, 91, 91, 91, 242, nil, 129, 129, nil, nil,
351
+ nil, nil, nil, nil, nil, 129, 129, 129, 129, nil,
352
+ nil, nil, nil, nil, 91, 91, nil, nil, 91, 91,
353
+ 91, 91, 91, 91, nil, 91, 91, nil, nil, 129,
354
+ 129, nil, 91, 129, 129, 129, 129, 129, 129, nil,
355
+ 129, 129, 190, 190, nil, nil, nil, 129, nil, nil,
356
+ 190, 190, 190, 190, 190, nil, nil, 271, 271, nil,
357
+ nil, nil, nil, nil, nil, nil, 271, 271, 271, 271,
358
+ nil, nil, nil, nil, nil, 190, 190, nil, nil, 190,
359
+ 190, 190, 190, 190, 190, nil, 190, 190, nil, nil,
360
+ nil, 271, nil, 190, 271, 271, 271, 271, 271, 271,
361
+ nil, 271, 271, 131, 131, nil, nil, nil, 271, nil,
362
+ nil, nil, 131, 131, 131, 131, nil, nil, 132, 132,
363
+ nil, nil, nil, nil, nil, nil, nil, 132, 132, 132,
364
+ 132, nil, nil, nil, nil, nil, 131, 131, nil, nil,
365
+ 131, 131, 131, 131, 131, 131, nil, 131, 131, nil,
366
+ nil, 132, 132, nil, 131, 132, 132, 132, 132, 132,
367
+ 132, nil, 132, 132, 275, 275, nil, nil, nil, 132,
368
+ nil, nil, nil, 275, 275, 275, 275, nil, nil, 279,
369
+ 276, 279, 279, nil, 279, 279, nil, 279, 276, 279,
370
+ nil, 279, nil, 279, nil, nil, 279, 279, nil, 270,
371
+ nil, 275, 275, 275, 275, 275, 275, 270, 275, 275,
372
+ nil, nil, nil, nil, 272, 275, 276, 276, 276, 276,
373
+ 276, 276, 272, 276, 276, nil, nil, nil, nil, nil,
374
+ 276, nil, nil, nil, nil, 270, 270, 270, 270, 270,
375
+ 270, nil, 270, 270, 188, nil, nil, nil, nil, 270,
376
+ 272, 272, 272, 272, 272, 272, nil, 272, 272, nil,
377
+ nil, nil, nil, 363, 272, 188, nil, 188, 188, nil,
378
+ 188, 188, nil, 188, nil, 188, nil, 188, nil, 188,
379
+ nil, nil, 188, 188, 363, 312, 363, 363, nil, 363,
380
+ 363, nil, 363, nil, 363, nil, 363, nil, 363, nil,
381
+ nil, 363, 363, nil, 376, nil, 312, nil, 312, 312,
382
+ nil, 312, 312, nil, 312, nil, 312, nil, 312, nil,
383
+ 312, nil, nil, 312, 312, 376, 217, 376, 376, nil,
384
+ 376, 376, nil, 376, nil, 376, nil, 376, nil, 376,
385
+ nil, nil, 376, 376, nil, 373, nil, 217, nil, 217,
386
+ 217, nil, 217, 217, nil, 217, nil, 217, nil, 217,
387
+ nil, 217, nil, nil, 217, 217, 373, 238, 373, 373,
388
+ nil, 373, 373, nil, 373, nil, 373, nil, 373, nil,
389
+ 373, nil, nil, 373, 373, nil, nil, nil, 238, nil,
390
+ 238, 238, nil, 238, 238, nil, 238, nil, 238, nil,
391
+ 238, nil, 238, nil, nil, 238, 238, 20, nil, 20,
392
+ 20, nil, 20, 20, nil, 20, nil, 20, nil, 20,
393
+ nil, 20, nil, nil, 20, 20, 0, nil, 0, 0,
394
+ nil, 0, 0, nil, 0, nil, 0, nil, 0, nil,
395
+ 0, nil, nil, 0, 0, 268, 268, 268, 268, 268,
396
+ 268, nil, 268, 268, nil, nil, nil, nil, nil, 268 ]
419
397
 
420
398
  racc_action_pointer = [
421
- 1832, 210, 426, 395, 396, nil, nil, 267, 418, 413,
422
- nil, nil, -20, nil, nil, nil, 394, 5, nil, 1813,
423
- nil, nil, -3, 263, nil, nil, 288, nil, 319, 339,
424
- 188, nil, nil, 368, 380, 345, 337, nil, nil, 464,
425
- nil, nil, nil, 138, nil, nil, 520, 546, 571, 585,
426
- 308, 322, 344, nil, nil, -6, nil, nil, nil, nil,
427
- nil, nil, 42, 747, 295, 66, 291, 274, 265, nil,
428
- 269, 264, nil, nil, 907, 954, nil, 240, 243, nil,
429
- 221, -13, 1064, nil, 200, 165, 2, 129, nil, nil,
430
- 104, 18, nil, nil, 1240, -2, 6, 1045, nil, nil,
431
- 805, 211, 728, 187, nil, 208, 34, 270, 282, 284,
432
- nil, 1282, nil, nil, 313, 316, nil, nil, nil, 318,
433
- 121, 324, 149, nil, 1465, nil, nil, 333, nil, nil,
434
- 1404, 1358, 343, 329, nil, 352, 323, nil, 342, 360,
435
- 352, nil, 367, 101, 411, nil, nil, nil, nil, nil,
436
- nil, nil, -9, 436, 412, nil, 30, 426, 74, nil,
437
- 258, nil, nil, 123, nil, -7, nil, nil, nil, nil,
438
- nil, 348, 404, 404, 11, 367, 57, nil, 3, nil,
439
- -4, 101, 190, 369, 216, nil, 1297, nil, 322, nil,
440
- nil, nil, 345, nil, nil, 190, 314, 416, 831, 1071,
441
- 1136, 1214, 754, 633, 237, 83, 490, 238, 32, 659,
442
- 689, 35, 1589, 365, 1093, 37, nil, 1611, 34, 44,
443
- 73, 130, nil, nil, 93, 1171, 103, 136, 1161, 119,
444
- 1118, 133, 172, 200, 231, nil, nil, 1652, nil, 59,
445
- nil, nil, nil, -21, 998, 980, nil, nil, 973, nil,
446
- 249, nil, 248, 255, 901, nil, 882, nil, nil, nil,
447
- nil, nil, nil, nil, 270, nil, nil, nil, nil, 260,
448
- 564, nil, nil, 96, nil, 288, nil, 824, 192, nil,
449
- 159, 144, 186, nil, 598, 1446, 912, 1514, 1343, 1499,
450
- 1533, nil, 1419, 1480, 588, nil, 1734, 173, 257, 434,
451
- nil, -3, nil, nil, 1753, nil, 390, nil, 1233, 125,
452
- nil, nil, nil, nil, nil, nil, 376, nil, nil, nil,
453
- 1794, nil, nil, nil, 1775, nil, nil, nil, 372, 374,
454
- nil, 376, 378, 380, nil, nil, nil, nil, 397, nil,
455
- nil, nil, 174, nil, 122, nil, nil, nil, nil, nil,
456
- 79, nil, 148, 415, nil, nil, 127, 419, nil, nil,
457
- nil, nil, nil, 1712, nil, nil, nil, nil, 423, 76,
458
- 426, nil, nil, 1693, nil, 1671, nil, nil, nil, 1630,
459
- nil, 1570, nil, nil, nil ]
399
+ 1726, 123, 450, 384, 418, 461, 341, nil, 251, nil,
400
+ nil, -20, 446, 434, nil, nil, nil, 433, 0, nil,
401
+ 1707, nil, nil, 301, nil, nil, 326, 11, nil, 374,
402
+ nil, 306, 7, 320, nil, nil, nil, 403, nil, nil,
403
+ nil, nil, 295, nil, nil, 520, 170, 576, 606, 632,
404
+ 400, 679, 378, 416, nil, nil, -6, nil, nil, nil,
405
+ nil, nil, nil, nil, 389, 388, 396, nil, nil, 393,
406
+ 842, 867, nil, nil, 388, 376, nil, 363, 957, nil,
407
+ 362, 2, 340, 356, nil, 336, nil, 334, nil, 323,
408
+ 1092, 1294, nil, nil, 322, 1179, 333, nil, nil, 1235,
409
+ 1019, 314, 299, 1, nil, 298, 296, 288, 278, nil,
410
+ 286, 76, 918, 242, 176, 256, 238, nil, nil, 228,
411
+ nil, 185, 133, nil, nil, nil, nil, 97, nil, 1309,
412
+ nil, 1416, 1431, 90, 46, nil, -8, nil, 423, nil,
413
+ 285, 310, 381, 409, 91, nil, 422, 433, nil, nil,
414
+ nil, nil, nil, nil, 19, 477, nil, 5, 19, 484,
415
+ nil, 1117, nil, 95, -4, nil, 1131, 932, nil, 305,
416
+ 769, nil, 550, 494, 438, 199, 180, 654, 1205, 464,
417
+ 893, 1066, 816, 411, 275, 132, 84, 368, 1565, 36,
418
+ 1355, nil, 187, nil, 259, nil, nil, 151, nil, nil,
419
+ 27, 333, nil, 69, nil, nil, 80, nil, nil, nil,
420
+ nil, 340, 61, 66, -17, 250, 99, 1647, 131, 133,
421
+ 135, 119, nil, nil, 169, 248, nil, 204, 352, 204,
422
+ 239, 726, 216, 744, 230, 267, nil, nil, 1688, 280,
423
+ 976, nil, 1261, nil, nil, nil, nil, nil, nil, nil,
424
+ 295, nil, nil, 284, nil, 1001, nil, nil, nil, nil,
425
+ 1040, nil, 100, 165, 81, 163, nil, 218, 1721, 1144,
426
+ 1511, 1370, 1526, 96, nil, 1477, 1492, 1134, nil, 1479,
427
+ 381, 145, 135, nil, 389, nil, 9, nil, 795, 398,
428
+ nil, 70, nil, nil, 45, 705, 648, nil, 412, nil,
429
+ 26, nil, 125, nil, nil, 419, nil, 417, 395, nil,
430
+ 150, nil, 1606, nil, nil, nil, nil, nil, nil, nil,
431
+ nil, 424, nil, nil, nil, 430, nil, nil, nil, nil,
432
+ 257, nil, 25, nil, nil, 206, 206, nil, 447, nil,
433
+ nil, nil, nil, 450, nil, nil, nil, 438, 440, nil,
434
+ 441, 445, 448, nil, nil, nil, nil, 126, 467, nil,
435
+ nil, nil, nil, 1584, nil, nil, nil, nil, 470, 78,
436
+ 482, nil, nil, 1666, nil, nil, 1625, nil, nil, nil,
437
+ 486, nil, 489, nil, nil, nil ]
460
438
 
461
439
  racc_action_default = [
462
- -197, -234, -234, -50, -234, -8, -9, -234, -234, -22,
463
- -10, -188, -189, -11, -186, -12, -234, -234, -13, -1,
464
- -14, -2, -234, -187, -15, -3, -234, -16, -5, -234,
465
- -234, -17, -6, -234, -18, -7, -197, -189, -187, -234,
466
- -51, -26, -27, -234, -24, -25, -234, -234, -234, -85,
467
- -92, -197, -234, -196, -194, -197, -190, -192, -193, -222,
468
- -195, -4, -197, -234, -85, -197, -53, -232, -42, -175,
469
- -43, -214, -117, -33, -234, -234, -44, -31, -74, -32,
470
- -234, -36, -234, -122, -37, -234, -73, -38, -172, -72,
471
- -39, -40, -174, -41, -234, -103, -111, -234, -132, -112,
472
- -234, -104, -234, -108, -110, -105, -234, -114, -106, -113,
473
- -109, -234, -125, -107, -234, -234, -49, -176, -177, -179,
474
- -234, -234, -198, -199, -83, -19, -22, -187, -21, -23,
475
- -82, -84, -234, -75, -86, -81, -70, -74, -76, -220,
476
- -79, -68, -77, -73, -234, -171, -170, -80, -78, -90,
477
- -91, -93, -234, -220, -197, 385, -234, -234, -234, -208,
478
- -234, -57, -214, -197, -59, -234, -66, -65, -56, -73,
479
- -95, -234, -220, -234, -234, -92, -234, -30, -234, -118,
480
- -234, -234, -234, -234, -234, -142, -234, -149, -234, -217,
481
- -230, -226, -234, -229, -225, -234, -234, -234, -234, -234,
482
- -234, -234, -234, -234, -234, -234, -234, -234, -234, -234,
483
- -234, -234, -234, -234, -234, -234, -20, -234, -207, -234,
484
- -205, -234, -202, -231, -234, -71, -221, -234, -234, -85,
485
- -234, -221, -234, -234, -234, -210, -191, -234, -209, -234,
486
- -54, -62, -61, -234, -234, -234, -218, -219, -234, -124,
487
- -234, -55, -220, -234, -234, -28, -234, -120, -119, -35,
488
- -34, -173, -168, -166, -234, -169, -160, -167, -161, -73,
489
- -234, -123, -116, -234, -152, -219, -215, -234, -234, -223,
490
- -137, -139, -138, -133, -140, -144, -141, -146, -151, -148,
491
- -145, -134, -150, -147, -143, -135, -234, -128, -136, -234,
492
- -154, -234, -158, -178, -234, -181, -234, -200, -234, -234,
493
- -201, -45, -69, -87, -46, -88, -220, -89, -94, -48,
494
- -234, -212, -211, -213, -234, -185, -58, -60, -97, -98,
495
- -63, -102, -99, -100, -101, -64, -96, -47, -234, -233,
496
- -29, -121, -234, -163, -220, -115, -216, -228, -227, -224,
497
- -128, -127, -234, -234, -155, -153, -234, -234, -180, -206,
498
- -204, -203, -67, -234, -183, -184, -52, -165, -219, -234,
499
- -234, -126, -129, -234, -159, -234, -182, -164, -162, -234,
500
- -131, -234, -157, -130, -156 ]
440
+ -198, -235, -51, -19, -8, -235, -235, -9, -235, -10,
441
+ -189, -190, -235, -23, -11, -187, -12, -235, -235, -13,
442
+ -1, -14, -2, -188, -15, -3, -235, -235, -16, -235,
443
+ -17, -6, -235, -235, -18, -7, -190, -198, -188, -52,
444
+ -27, -28, -235, -25, -26, -235, -235, -235, -235, -235,
445
+ -198, -86, -93, -235, -197, -195, -198, -191, -193, -194,
446
+ -223, -196, -4, -42, -233, -43, -215, -176, -118, -44,
447
+ -235, -235, -45, -34, -75, -32, -33, -235, -235, -123,
448
+ -37, -74, -38, -235, -73, -39, -173, -40, -175, -41,
449
+ -235, -235, -126, -108, -104, -235, -112, -133, -113, -235,
450
+ -235, -105, -109, -235, -111, -106, -115, -107, -114, -110,
451
+ -54, -198, -235, -86, -198, -235, -180, -177, -178, -235,
452
+ -50, -235, -199, -200, -24, -21, -23, -188, -22, -84,
453
+ -20, -83, -85, -235, -198, -79, -76, -87, -82, -75,
454
+ -71, -77, -221, -80, -74, -69, -78, -235, -172, -171,
455
+ -81, -91, -92, -94, -235, -221, 386, -235, -235, -235,
456
+ -209, -235, -31, -235, -235, -119, -235, -235, -96, -235,
457
+ -235, -143, -235, -235, -235, -235, -235, -235, -235, -235,
458
+ -235, -235, -235, -235, -235, -235, -235, -235, -235, -235,
459
+ -235, -150, -235, -218, -235, -231, -227, -235, -230, -226,
460
+ -93, -235, -215, -198, -58, -60, -235, -67, -57, -74,
461
+ -66, -235, -221, -235, -235, -235, -235, -235, -208, -206,
462
+ -235, -235, -203, -232, -235, -235, -211, -235, -72, -222,
463
+ -235, -235, -86, -235, -222, -235, -192, -210, -235, -235,
464
+ -235, -29, -235, -121, -120, -36, -35, -174, -169, -167,
465
+ -235, -170, -161, -74, -168, -235, -162, -219, -220, -124,
466
+ -235, -117, -235, -138, -140, -139, -134, -141, -145, -142,
467
+ -147, -152, -149, -146, -135, -151, -148, -144, -136, -5,
468
+ -235, -129, -137, -153, -220, -216, -235, -224, -235, -221,
469
+ -55, -235, -63, -62, -235, -235, -235, -125, -235, -56,
470
+ -235, -155, -235, -159, -179, -235, -182, -235, -235, -201,
471
+ -235, -202, -235, -213, -214, -212, -46, -70, -88, -47,
472
+ -89, -221, -90, -95, -49, -235, -186, -234, -30, -122,
473
+ -235, -164, -221, -97, -116, -129, -235, -128, -235, -217,
474
+ -228, -225, -229, -235, -59, -61, -102, -98, -99, -64,
475
+ -103, -100, -101, -65, -48, -156, -154, -235, -235, -181,
476
+ -207, -205, -204, -235, -184, -68, -185, -166, -220, -235,
477
+ -235, -127, -130, -235, -53, -160, -235, -183, -165, -163,
478
+ -235, -132, -235, -158, -131, -157 ]
501
479
 
502
480
  racc_goto_table = [
503
- 22, 9, 68, 112, 222, 264, 61, 36, 53, 179,
504
- 268, 141, 70, 19, 2, 77, 191, 118, 51, 22,
505
- 9, 139, 116, 21, 73, 91, 56, 147, 133, 149,
506
- 115, 227, 153, 2, 300, 128, 172, 302, 135, 160,
507
- 125, 129, 174, 22, 126, 232, 351, 43, 171, 299,
508
- 260, 146, 369, 68, 121, 330, 335, 258, 266, 123,
509
- 318, 344, 136, 70, 250, 119, 178, 183, 224, 154,
510
- 233, 55, 157, 66, 123, 73, 91, 120, 159, 238,
511
- 219, 221, 326, 322, 195, 190, 16, 188, nil, nil,
512
- nil, nil, nil, 264, nil, nil, nil, nil, 343, 371,
481
+ 27, 13, 20, 222, 89, 92, 115, 37, 62, 5,
482
+ 65, 196, 256, 145, 230, 150, 118, 50, 155, 301,
483
+ 27, 13, 246, 75, 73, 57, 133, 235, 201, 5,
484
+ 250, 214, 149, 119, 337, 165, 121, 344, 136, 69,
485
+ 169, 120, 27, 126, 142, 22, 27, 126, 300, 134,
486
+ 128, 89, 63, 151, 128, 168, 125, 65, 280, 124,
487
+ 130, 42, 192, 124, 46, 349, 353, 138, 244, 87,
488
+ 163, 73, 252, 369, 211, 332, 323, 168, 303, 116,
489
+ 135, 140, 123, 224, 298, 56, 69, 305, 371, 168,
490
+ 195, 159, 227, 237, 220, 123, 246, 148, 221, 63,
491
+ 331, 160, 110, 315, 355, 194, 212, 17, 325, nil,
492
+ nil, 86, nil, nil, nil, nil, 87, nil, 250, nil,
493
+ 294, nil, nil, nil, nil, nil, nil, nil, nil, nil,
494
+ nil, nil, nil, nil, nil, nil, nil, nil, 239, 86,
495
+ nil, nil, nil, nil, nil, nil, nil, 89, 149, nil,
496
+ nil, 89, 266, 65, 248, nil, nil, 65, 86, nil,
497
+ nil, 343, nil, 303, 236, nil, 289, 245, nil, nil,
498
+ 262, 73, nil, nil, nil, 82, 247, nil, nil, 226,
499
+ nil, nil, 69, nil, nil, nil, 69, nil, 27, 13,
500
+ 317, 362, 150, 365, 340, 63, 149, 5, nil, 63,
501
+ 304, 151, 248, 143, 370, 85, 329, nil, 320, 149,
502
+ 322, nil, 87, 148, 378, 136, 87, 27, 13, nil,
503
+ 375, 89, 82, nil, 247, 321, 5, 65, nil, 54,
504
+ 318, 313, 250, 146, nil, 151, 149, 333, 27, 13,
505
+ nil, 245, 248, 380, 138, nil, 382, 5, nil, nil,
506
+ nil, nil, 85, nil, 86, 86, 69, 135, 86, nil,
507
+ nil, 148, nil, 210, 247, 342, 210, 62, nil, 63,
508
+ 80, nil, nil, 195, 148, nil, 149, 149, nil, 27,
509
+ 13, 149, 347, 347, 360, 361, 87, 248, 5, nil,
510
+ nil, nil, nil, nil, nil, nil, nil, nil, 141, nil,
511
+ nil, 148, nil, 86, 247, 247, nil, 367, nil, 247,
512
+ nil, nil, 27, 13, 363, 372, 86, 80, 82, 251,
513
+ nil, 5, 82, nil, 346, 346, nil, nil, 86, nil,
514
+ nil, nil, nil, nil, nil, nil, nil, nil, 149, nil,
515
+ nil, 352, 352, 86, 248, nil, 148, nil, 85, 254,
516
+ 149, 62, 85, nil, nil, 210, 248, nil, 207, nil,
517
+ nil, 207, nil, 27, 13, nil, 247, 251, 54, 54,
518
+ nil, nil, 5, 27, 13, nil, 27, 13, 247, nil,
519
+ 143, nil, 5, 86, 86, 5, nil, nil, 86, nil,
520
+ nil, nil, 82, nil, 274, nil, nil, 254, 278, nil,
521
+ nil, nil, nil, 148, nil, nil, nil, 251, nil, nil,
522
+ 146, nil, nil, 80, 249, 148, nil, 80, nil, nil,
523
+ nil, nil, 85, nil, nil, nil, nil, nil, nil, 129,
524
+ nil, 131, 132, nil, nil, nil, nil, 254, nil, nil,
525
+ nil, nil, nil, 210, nil, 86, nil, 350, 350, nil,
526
+ 207, nil, 251, nil, nil, 164, nil, 86, nil, nil,
527
+ nil, nil, 249, nil, nil, nil, nil, nil, nil, nil,
528
+ nil, nil, nil, nil, 171, 141, nil, 351, 351, 190,
529
+ nil, nil, 254, 191, nil, nil, nil, 80, nil, nil,
513
530
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
514
- nil, nil, 128, nil, nil, 88, nil, 216, 129, 354,
515
- 22, 126, 302, 260, nil, nil, nil, nil, nil, nil,
531
+ nil, nil, 249, nil, nil, nil, nil, nil, nil, 251,
516
532
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
517
- 243, 88, nil, nil, 338, nil, nil, 53, nil, 53,
518
- nil, nil, nil, nil, 149, nil, nil, 252, nil, nil,
519
- 68, 262, nil, 68, nil, 236, 88, nil, nil, nil,
520
- 70, nil, nil, 70, nil, nil, 273, 235, nil, 374,
521
- nil, nil, 259, 91, 146, 73, 91, 312, 348, nil,
522
- 341, 361, 264, 262, 87, nil, 261, 377, 291, 303,
523
- nil, 316, 295, 147, 133, 313, nil, nil, 362, nil,
524
- 149, nil, 22, 9, 135, nil, 146, 22, 9, nil,
525
- 142, nil, nil, 328, 328, 296, 2, 146, 261, nil,
526
- 304, 2, nil, 68, nil, nil, 370, 22, 9, nil,
527
- 321, nil, nil, 70, nil, 87, 146, 146, nil, 262,
528
- 324, 2, nil, nil, nil, 259, 91, 190, 261, 261,
529
- nil, 81, nil, nil, nil, nil, nil, nil, nil, nil,
530
- nil, nil, 146, 88, 88, nil, 88, nil, 262, nil,
531
- nil, nil, nil, 61, 261, nil, nil, 138, 84, nil,
532
- nil, 61, nil, nil, nil, nil, 22, 9, nil, nil,
533
- 166, 146, nil, 166, 22, 9, 88, nil, nil, nil,
534
- 2, 61, 81, 261, 140, nil, nil, 88, 2, nil,
535
- 22, 9, nil, nil, 22, 9, nil, 167, nil, 372,
536
- 167, nil, nil, 363, 2, 262, 88, 88, 2, 84,
537
- nil, 90, nil, nil, nil, nil, 88, nil, 262, nil,
538
- 61, nil, 87, 267, nil, 87, nil, nil, 146, nil,
539
- nil, nil, 88, 22, 9, nil, 61, 145, 61, nil,
540
- 261, 146, nil, 22, 9, 22, 9, 2, 114, 22,
541
- 9, 22, 9, 261, 93, 267, 379, 2, 381, 2,
542
- nil, 88, 90, 2, nil, 2, 142, 132, nil, nil,
543
- nil, 166, nil, nil, nil, nil, nil, nil, nil, nil,
544
- 148, nil, 170, nil, nil, 332, 332, nil, nil, 81,
545
- 263, nil, 81, nil, nil, 87, nil, nil, 167, nil,
546
- nil, 170, nil, nil, nil, 93, nil, nil, nil, nil,
547
- nil, 267, nil, nil, nil, nil, 84, 265, 88, 84,
548
- nil, 170, 263, nil, nil, nil, nil, nil, nil, nil,
549
- nil, 88, nil, 138, nil, nil, nil, nil, nil, nil,
550
- 267, nil, nil, nil, nil, nil, nil, 166, 124, 265,
551
- nil, nil, 329, 329, nil, 130, 131, nil, nil, nil,
552
- 140, nil, 81, nil, nil, nil, nil, nil, nil, 90,
553
- 145, nil, 90, nil, 167, nil, nil, nil, 263, 331,
554
- 331, nil, nil, nil, 180, nil, nil, nil, nil, 84,
555
- nil, nil, nil, nil, nil, 253, nil, 267, nil, nil,
556
- nil, nil, 145, 185, nil, 265, 186, 263, nil, 187,
557
- 267, nil, 93, 145, nil, 93, nil, nil, 283, nil,
533
+ nil, 251, nil, nil, nil, nil, nil, nil, nil, nil,
534
+ nil, nil, nil, nil, nil, nil, nil, nil, 207, 254,
535
+ nil, nil, 348, 348, nil, nil, nil, 249, nil, nil,
536
+ nil, 254, nil, nil, nil, nil, 263, 264, 265, nil,
537
+ 267, 268, 269, 270, 271, 272, 273, nil, 275, 276,
538
+ 277, nil, nil, 282, nil, nil, nil, nil, nil, nil,
558
539
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
559
- nil, nil, 333, 333, 265, nil, nil, nil, nil, nil,
560
- nil, nil, 90, nil, nil, nil, nil, 315, nil, 317,
561
- nil, nil, nil, nil, nil, nil, 148, nil, 145, nil,
562
- nil, nil, nil, nil, 263, nil, nil, 336, nil, nil,
563
- nil, nil, nil, nil, nil, 334, 334, 263, nil, nil,
564
- nil, nil, nil, nil, nil, 93, nil, 145, nil, nil,
565
- nil, 265, nil, nil, nil, nil, 347, nil, nil, nil,
566
- nil, nil, nil, nil, 265, 280, 281, 282, nil, 284,
567
- 285, 286, 287, 288, 289, 290, nil, 292, 293, 294,
568
- nil, nil, 298, nil, nil, 359, nil, 360, nil, nil,
569
540
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
570
- nil, nil, nil, nil, 145, nil, nil, nil, nil, nil,
571
- nil, nil, nil, nil, nil, nil, nil, 145, nil, nil,
572
- nil, 367, nil, nil, nil, 180 ]
541
+ nil, nil, nil, nil, 249, nil, nil, nil, nil, nil,
542
+ nil, nil, nil, nil, nil, nil, 249, nil, nil, nil,
543
+ nil, nil, nil, nil, nil, nil, 164 ]
573
544
 
574
545
  racc_goto_check = [
575
- 37, 21, 30, 62, 82, 68, 4, 32, 64, 60,
576
- 70, 47, 31, 2, 52, 22, 85, 72, 32, 37,
577
- 21, 35, 5, 3, 21, 28, 78, 50, 30, 53,
578
- 37, 36, 38, 52, 66, 5, 35, 68, 31, 41,
579
- 19, 7, 41, 37, 21, 36, 63, 20, 57, 65,
580
- 23, 28, 58, 30, 74, 46, 46, 61, 69, 3,
581
- 56, 71, 33, 31, 36, 73, 22, 57, 34, 74,
582
- 75, 76, 77, 40, 3, 21, 28, 20, 3, 79,
583
- 80, 81, 42, 83, 84, 30, 1, 57, nil, nil,
584
- nil, nil, nil, 68, nil, nil, nil, nil, 70, 63,
546
+ 38, 22, 2, 83, 29, 63, 55, 33, 4, 53,
547
+ 31, 86, 71, 48, 37, 51, 73, 33, 39, 67,
548
+ 38, 22, 24, 23, 22, 79, 55, 37, 42, 53,
549
+ 69, 42, 29, 38, 64, 61, 75, 43, 31, 32,
550
+ 58, 6, 38, 22, 36, 3, 38, 22, 66, 75,
551
+ 6, 29, 30, 54, 6, 55, 20, 31, 5, 8,
552
+ 20, 21, 58, 8, 21, 47, 47, 32, 62, 28,
553
+ 23, 22, 70, 59, 58, 72, 57, 55, 69, 74,
554
+ 30, 34, 3, 76, 37, 77, 32, 5, 64, 55,
555
+ 31, 78, 35, 80, 81, 3, 24, 28, 82, 30,
556
+ 71, 3, 41, 84, 67, 85, 36, 1, 5, nil,
557
+ nil, 50, nil, nil, nil, nil, 28, nil, 69, nil,
558
+ 42, nil, nil, nil, nil, nil, nil, nil, nil, nil,
559
+ nil, nil, nil, nil, nil, nil, nil, nil, 55, 50,
560
+ nil, nil, nil, nil, nil, nil, nil, 29, 29, nil,
561
+ nil, 29, 55, 31, 31, nil, nil, 31, 50, nil,
562
+ nil, 37, nil, 69, 79, nil, 39, 22, nil, nil,
563
+ 23, 22, nil, nil, nil, 26, 53, nil, nil, 3,
564
+ nil, nil, 32, nil, nil, nil, 32, nil, 38, 22,
565
+ 48, 83, 51, 37, 86, 30, 29, 53, nil, 30,
566
+ 73, 54, 31, 26, 37, 27, 61, nil, 55, 29,
567
+ 55, nil, 28, 28, 71, 31, 28, 38, 22, nil,
568
+ 69, 29, 26, nil, 53, 36, 53, 31, nil, 65,
569
+ 54, 33, 69, 27, nil, 54, 29, 55, 38, 22,
570
+ nil, 22, 31, 5, 32, nil, 5, 53, nil, nil,
571
+ nil, nil, 27, nil, 50, 50, 32, 30, 50, nil,
572
+ nil, 28, nil, 26, 53, 55, 26, 4, nil, 30,
573
+ 25, nil, nil, 31, 28, nil, 29, 29, nil, 38,
574
+ 22, 29, 31, 31, 55, 55, 28, 31, 53, nil,
575
+ nil, nil, nil, nil, nil, nil, nil, nil, 25, nil,
576
+ nil, 28, nil, 50, 53, 53, nil, 55, nil, 53,
577
+ nil, nil, 38, 22, 2, 63, 50, 25, 26, 26,
578
+ nil, 53, 26, nil, 30, 30, nil, nil, 50, nil,
579
+ nil, nil, nil, nil, nil, nil, nil, nil, 29, nil,
580
+ nil, 28, 28, 50, 31, nil, 28, nil, 27, 27,
581
+ 29, 4, 27, nil, nil, 26, 31, nil, 25, nil,
582
+ nil, 25, nil, 38, 22, nil, 53, 26, 65, 65,
583
+ nil, nil, 53, 38, 22, nil, 38, 22, 53, nil,
584
+ 26, nil, 53, 50, 50, 53, nil, nil, 50, nil,
585
+ nil, nil, 26, nil, 65, nil, nil, 27, 65, nil,
586
+ nil, nil, nil, 28, nil, nil, nil, 26, nil, nil,
587
+ 27, nil, nil, 25, 25, 28, nil, 25, nil, nil,
588
+ nil, nil, 27, nil, nil, nil, nil, nil, nil, 52,
589
+ nil, 52, 52, nil, nil, nil, nil, 27, nil, nil,
590
+ nil, nil, nil, 26, nil, 50, nil, 26, 26, nil,
591
+ 25, nil, 26, nil, nil, 52, nil, 50, nil, nil,
592
+ nil, nil, 25, nil, nil, nil, nil, nil, nil, nil,
593
+ nil, nil, nil, nil, 52, 25, nil, 27, 27, 52,
594
+ nil, nil, 27, 52, nil, nil, nil, 25, nil, nil,
585
595
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
586
- nil, nil, 5, nil, nil, 49, nil, 19, 7, 66,
587
- 37, 21, 68, 23, nil, nil, nil, nil, nil, nil,
596
+ nil, nil, 25, nil, nil, nil, nil, nil, nil, 26,
588
597
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
589
- 41, 49, nil, nil, 36, nil, nil, 64, nil, 64,
590
- nil, nil, nil, nil, 53, nil, nil, 38, nil, nil,
591
- 30, 30, nil, 30, nil, 78, 49, nil, nil, nil,
592
- 31, nil, nil, 31, nil, nil, 22, 3, nil, 68,
593
- nil, nil, 21, 28, 28, 21, 28, 47, 85, nil,
594
- 60, 82, 68, 30, 26, nil, 52, 70, 64, 72,
595
- nil, 35, 64, 50, 30, 53, nil, nil, 36, nil,
596
- 53, nil, 37, 21, 31, nil, 28, 37, 21, nil,
597
- 26, nil, nil, 30, 30, 2, 52, 28, 52, nil,
598
- 2, 52, nil, 30, nil, nil, 36, 37, 21, nil,
599
- 32, nil, nil, 31, nil, 26, 28, 28, nil, 30,
600
- 2, 52, nil, nil, nil, 21, 28, 30, 52, 52,
601
- nil, 24, nil, nil, nil, nil, nil, nil, nil, nil,
602
- nil, nil, 28, 49, 49, nil, 49, nil, 30, nil,
603
- nil, nil, nil, 4, 52, nil, nil, 24, 25, nil,
604
- nil, 4, nil, nil, nil, nil, 37, 21, nil, nil,
605
- 24, 28, nil, 24, 37, 21, 49, nil, nil, nil,
606
- 52, 4, 24, 52, 25, nil, nil, 49, 52, nil,
607
- 37, 21, nil, nil, 37, 21, nil, 25, nil, 62,
608
- 25, nil, nil, 2, 52, 30, 49, 49, 52, 25,
609
- nil, 27, nil, nil, nil, nil, 49, nil, 30, nil,
610
- 4, nil, 26, 26, nil, 26, nil, nil, 28, nil,
611
- nil, nil, 49, 37, 21, nil, 4, 27, 4, nil,
612
- 52, 28, nil, 37, 21, 37, 21, 52, 54, 37,
613
- 21, 37, 21, 52, 29, 26, 2, 52, 2, 52,
614
- nil, 49, 27, 52, nil, 52, 26, 54, nil, nil,
615
- nil, 24, nil, nil, nil, nil, nil, nil, nil, nil,
616
- 29, nil, 54, nil, nil, 26, 26, nil, nil, 24,
617
- 24, nil, 24, nil, nil, 26, nil, nil, 25, nil,
618
- nil, 54, nil, nil, nil, 29, nil, nil, nil, nil,
619
- nil, 26, nil, nil, nil, nil, 25, 25, 49, 25,
620
- nil, 54, 24, nil, nil, nil, nil, nil, nil, nil,
621
- nil, 49, nil, 24, nil, nil, nil, nil, nil, nil,
622
- 26, nil, nil, nil, nil, nil, nil, 24, 51, 25,
623
- nil, nil, 24, 24, nil, 51, 51, nil, nil, nil,
624
- 25, nil, 24, nil, nil, nil, nil, nil, nil, 27,
625
- 27, nil, 27, nil, 25, nil, nil, nil, 24, 25,
626
- 25, nil, nil, nil, 51, nil, nil, nil, nil, 25,
627
- nil, nil, nil, nil, nil, 54, nil, 26, nil, nil,
628
- nil, nil, 27, 51, nil, 25, 51, 24, nil, 51,
629
- 26, nil, 29, 27, nil, 29, nil, nil, 54, nil,
598
+ nil, 26, nil, nil, nil, nil, nil, nil, nil, nil,
599
+ nil, nil, nil, nil, nil, nil, nil, nil, 25, 27,
600
+ nil, nil, 25, 25, nil, nil, nil, 25, nil, nil,
601
+ nil, 27, nil, nil, nil, nil, 52, 52, 52, nil,
602
+ 52, 52, 52, 52, 52, 52, 52, nil, 52, 52,
603
+ 52, nil, nil, 52, nil, nil, nil, nil, nil, nil,
630
604
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
631
- nil, nil, 27, 27, 25, nil, nil, nil, nil, nil,
632
- nil, nil, 27, nil, nil, nil, nil, 54, nil, 54,
633
- nil, nil, nil, nil, nil, nil, 29, nil, 27, nil,
634
- nil, nil, nil, nil, 24, nil, nil, 54, nil, nil,
635
- nil, nil, nil, nil, nil, 29, 29, 24, nil, nil,
636
- nil, nil, nil, nil, nil, 29, nil, 27, nil, nil,
637
- nil, 25, nil, nil, nil, nil, 54, nil, nil, nil,
638
- nil, nil, nil, nil, 25, 51, 51, 51, nil, 51,
639
- 51, 51, 51, 51, 51, 51, nil, 51, 51, 51,
640
- nil, nil, 51, nil, nil, 54, nil, 54, nil, nil,
641
605
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
642
- nil, nil, nil, nil, 27, nil, nil, nil, nil, nil,
643
- nil, nil, nil, nil, nil, nil, nil, 27, nil, nil,
644
- nil, 54, nil, nil, nil, 51 ]
606
+ nil, nil, nil, nil, 25, nil, nil, nil, nil, nil,
607
+ nil, nil, nil, nil, nil, nil, 25, nil, nil, nil,
608
+ nil, nil, nil, nil, nil, nil, 52 ]
645
609
 
646
610
  racc_goto_pointer = [
647
- nil, 86, 13, 23, -13, -8, nil, -2, nil, nil,
648
- nil, nil, nil, nil, nil, nil, nil, nil, nil, -3,
649
- 43, 1, -8, -131, 238, 265, 171, 318, 2, 361,
650
- -21, -11, 6, 13, -68, -28, -108, 0, -18, nil,
651
- 51, -23, -157, nil, nil, nil, -189, -38, nil, 92,
652
- -22, 439, 14, -21, 349, nil, -171, -15, -292, nil,
653
- -66, -123, -23, -251, -9, -165, -180, nil, -177, -124,
654
- -172, -209, -16, 32, 18, -84, 54, 17, 9, -79,
655
- -42, -41, -118, -151, -22, -90, nil ]
611
+ nil, 107, 2, 45, -12, -130, 8, nil, 17, nil,
612
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
613
+ 14, 58, 1, 0, -144, 247, 152, 182, 46, -19,
614
+ 29, -13, 16, 6, 30, -48, -7, -128, 0, -34,
615
+ nil, 75, -83, -254, nil, nil, nil, -230, -38, nil,
616
+ 88, -36, 384, 9, 1, -23, nil, -158, -38, -259,
617
+ nil, -36, -96, -21, -247, 211, -167, -196, nil, -137,
618
+ -95, -155, -180, -16, 47, -1, -51, 67, 35, 7,
619
+ -65, -28, -24, -119, -122, 2, -92, nil ]
656
620
 
657
621
  racc_goto_default = [
658
- nil, nil, nil, 168, 25, 28, 32, 35, 5, 6,
659
- 10, 13, 15, 18, 20, 24, 27, 31, 34, 4,
660
- nil, 99, nil, 79, 101, 103, 105, 108, 109, 113,
661
- 95, 96, 8, nil, nil, nil, nil, 85, nil, 30,
662
- nil, nil, 161, 239, 164, 165, nil, nil, 144, 107,
663
- 110, 111, 67, 134, 98, 150, 151, nil, 248, 104,
664
- nil, nil, nil, nil, 69, nil, nil, 301, 80, nil,
665
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 57,
666
- nil, nil, nil, nil, nil, nil, 192 ]
622
+ nil, nil, 279, 208, 25, nil, 31, 35, 4, 7,
623
+ 9, 14, 16, 19, 21, 24, 28, 30, 34, 3,
624
+ 6, nil, 98, nil, 76, 101, 102, 105, 107, 108,
625
+ 93, 94, 96, 12, nil, nil, nil, nil, 83, nil,
626
+ 33, nil, nil, 204, 291, 205, 206, nil, nil, 147,
627
+ 106, 109, 91, 64, 137, 97, 152, 153, nil, 260,
628
+ 104, nil, nil, nil, nil, 67, nil, nil, 302, 77,
629
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
630
+ 58, nil, nil, nil, nil, nil, nil, 197 ]
667
631
 
668
632
  racc_reduce_table = [
669
633
  0, 0, :racc_error,
670
- 1, 70, :_reduce_1,
671
634
  1, 70, :_reduce_none,
672
- 1, 71, :_reduce_none,
635
+ 1, 70, :_reduce_none,
636
+ 1, 71, :_reduce_3,
673
637
  2, 71, :_reduce_4,
638
+ 1, 74, :_reduce_5,
674
639
  1, 73, :_reduce_none,
675
640
  1, 73, :_reduce_none,
676
641
  1, 73, :_reduce_none,
@@ -685,225 +650,225 @@ racc_reduce_table = [
685
650
  1, 73, :_reduce_none,
686
651
  1, 73, :_reduce_none,
687
652
  1, 73, :_reduce_none,
688
- 3, 87, :_reduce_19,
689
- 3, 87, :_reduce_20,
690
- 1, 88, :_reduce_none,
691
- 1, 88, :_reduce_none,
692
- 1, 88, :_reduce_none,
653
+ 3, 88, :_reduce_20,
654
+ 3, 88, :_reduce_21,
693
655
  1, 89, :_reduce_none,
694
656
  1, 89, :_reduce_none,
695
657
  1, 89, :_reduce_none,
696
- 1, 89, :_reduce_none,
697
- 4, 81, :_reduce_28,
698
- 5, 81, :_reduce_29,
699
- 3, 81, :_reduce_30,
700
- 2, 81, :_reduce_31,
701
- 1, 91, :_reduce_none,
702
- 1, 91, :_reduce_none,
703
- 3, 91, :_reduce_34,
704
- 3, 91, :_reduce_35,
705
- 1, 92, :_reduce_none,
706
- 1, 92, :_reduce_none,
707
- 1, 92, :_reduce_none,
708
- 1, 92, :_reduce_none,
709
- 1, 92, :_reduce_none,
710
- 1, 92, :_reduce_none,
711
- 1, 92, :_reduce_none,
712
- 1, 92, :_reduce_none,
713
- 1, 92, :_reduce_44,
714
- 5, 74, :_reduce_45,
715
- 5, 74, :_reduce_46,
716
- 5, 74, :_reduce_47,
717
- 5, 85, :_reduce_48,
718
- 2, 75, :_reduce_49,
719
- 1, 108, :_reduce_50,
720
- 2, 108, :_reduce_51,
721
- 6, 76, :_reduce_52,
722
- 2, 76, :_reduce_53,
723
- 3, 109, :_reduce_54,
724
- 3, 109, :_reduce_55,
725
- 1, 110, :_reduce_none,
726
- 1, 110, :_reduce_none,
727
- 3, 110, :_reduce_58,
658
+ 1, 90, :_reduce_none,
659
+ 1, 90, :_reduce_none,
660
+ 1, 90, :_reduce_none,
661
+ 1, 90, :_reduce_none,
662
+ 4, 82, :_reduce_29,
663
+ 5, 82, :_reduce_30,
664
+ 3, 82, :_reduce_31,
665
+ 2, 82, :_reduce_32,
666
+ 1, 92, :_reduce_33,
667
+ 1, 92, :_reduce_34,
668
+ 3, 92, :_reduce_35,
669
+ 3, 92, :_reduce_36,
670
+ 1, 93, :_reduce_none,
671
+ 1, 93, :_reduce_none,
672
+ 1, 93, :_reduce_none,
673
+ 1, 93, :_reduce_none,
674
+ 1, 93, :_reduce_none,
675
+ 1, 93, :_reduce_none,
676
+ 1, 93, :_reduce_none,
677
+ 1, 93, :_reduce_none,
678
+ 1, 93, :_reduce_45,
679
+ 5, 75, :_reduce_46,
680
+ 5, 75, :_reduce_47,
681
+ 5, 75, :_reduce_48,
682
+ 5, 86, :_reduce_49,
683
+ 2, 76, :_reduce_50,
684
+ 1, 109, :_reduce_51,
685
+ 2, 109, :_reduce_52,
686
+ 6, 77, :_reduce_53,
687
+ 2, 77, :_reduce_54,
688
+ 3, 110, :_reduce_55,
689
+ 3, 110, :_reduce_56,
728
690
  1, 111, :_reduce_none,
729
- 3, 111, :_reduce_60,
730
- 1, 112, :_reduce_61,
731
- 1, 112, :_reduce_62,
732
- 3, 113, :_reduce_63,
733
- 3, 113, :_reduce_64,
734
- 1, 114, :_reduce_none,
735
- 1, 114, :_reduce_none,
736
- 4, 116, :_reduce_67,
737
- 1, 102, :_reduce_none,
738
- 3, 102, :_reduce_69,
739
- 0, 103, :_reduce_none,
740
- 1, 103, :_reduce_none,
741
- 1, 118, :_reduce_72,
742
- 1, 93, :_reduce_73,
743
- 1, 95, :_reduce_74,
744
- 1, 117, :_reduce_none,
745
- 1, 117, :_reduce_none,
746
- 1, 117, :_reduce_none,
747
- 1, 117, :_reduce_none,
748
- 1, 117, :_reduce_none,
749
- 1, 117, :_reduce_none,
750
- 1, 117, :_reduce_none,
751
- 3, 77, :_reduce_82,
752
- 3, 77, :_reduce_83,
753
- 3, 86, :_reduce_84,
754
- 0, 104, :_reduce_85,
755
- 1, 104, :_reduce_86,
756
- 3, 104, :_reduce_87,
757
- 3, 122, :_reduce_88,
758
- 3, 124, :_reduce_89,
759
- 1, 125, :_reduce_none,
760
- 1, 125, :_reduce_none,
761
- 0, 107, :_reduce_92,
762
- 1, 107, :_reduce_93,
763
- 3, 107, :_reduce_94,
764
- 1, 126, :_reduce_none,
765
- 3, 126, :_reduce_96,
766
- 1, 115, :_reduce_none,
767
- 1, 115, :_reduce_none,
768
- 1, 115, :_reduce_none,
769
- 1, 115, :_reduce_none,
691
+ 1, 111, :_reduce_none,
692
+ 3, 111, :_reduce_59,
693
+ 1, 112, :_reduce_none,
694
+ 3, 112, :_reduce_61,
695
+ 1, 113, :_reduce_62,
696
+ 1, 113, :_reduce_63,
697
+ 3, 114, :_reduce_64,
698
+ 3, 114, :_reduce_65,
770
699
  1, 115, :_reduce_none,
771
700
  1, 115, :_reduce_none,
772
- 1, 123, :_reduce_none,
773
- 1, 123, :_reduce_none,
774
- 1, 123, :_reduce_none,
775
- 1, 123, :_reduce_none,
776
- 1, 123, :_reduce_none,
777
- 1, 123, :_reduce_none,
778
- 1, 123, :_reduce_none,
779
- 1, 123, :_reduce_none,
780
- 1, 123, :_reduce_none,
781
- 1, 123, :_reduce_none,
782
- 1, 123, :_reduce_none,
783
- 1, 123, :_reduce_none,
784
- 4, 97, :_reduce_115,
785
- 3, 97, :_reduce_116,
786
- 1, 99, :_reduce_117,
787
- 2, 99, :_reduce_118,
788
- 2, 129, :_reduce_119,
789
- 1, 130, :_reduce_120,
790
- 2, 130, :_reduce_121,
791
- 1, 96, :_reduce_122,
792
- 4, 90, :_reduce_123,
793
- 4, 90, :_reduce_124,
794
- 2, 79, :_reduce_125,
795
- 5, 131, :_reduce_126,
796
- 4, 131, :_reduce_127,
797
- 0, 132, :_reduce_none,
798
- 2, 132, :_reduce_129,
799
- 4, 132, :_reduce_130,
800
- 3, 132, :_reduce_131,
801
- 1, 120, :_reduce_none,
802
- 3, 120, :_reduce_133,
803
- 3, 120, :_reduce_134,
804
- 3, 120, :_reduce_135,
805
- 3, 120, :_reduce_136,
806
- 3, 120, :_reduce_137,
807
- 3, 120, :_reduce_138,
808
- 3, 120, :_reduce_139,
809
- 3, 120, :_reduce_140,
810
- 3, 120, :_reduce_141,
811
- 2, 120, :_reduce_142,
812
- 3, 120, :_reduce_143,
813
- 3, 120, :_reduce_144,
814
- 3, 120, :_reduce_145,
815
- 3, 120, :_reduce_146,
816
- 3, 120, :_reduce_147,
817
- 3, 120, :_reduce_148,
818
- 2, 120, :_reduce_149,
819
- 3, 120, :_reduce_150,
820
- 3, 120, :_reduce_151,
821
- 3, 120, :_reduce_152,
822
- 5, 78, :_reduce_153,
823
- 1, 134, :_reduce_none,
824
- 2, 134, :_reduce_155,
825
- 5, 135, :_reduce_156,
826
- 4, 135, :_reduce_157,
827
- 1, 136, :_reduce_none,
828
- 3, 136, :_reduce_159,
829
- 3, 98, :_reduce_160,
701
+ 4, 117, :_reduce_68,
702
+ 1, 103, :_reduce_69,
703
+ 3, 103, :_reduce_70,
704
+ 0, 104, :_reduce_none,
705
+ 1, 104, :_reduce_none,
706
+ 1, 119, :_reduce_73,
707
+ 1, 94, :_reduce_74,
708
+ 1, 96, :_reduce_75,
709
+ 1, 118, :_reduce_none,
710
+ 1, 118, :_reduce_none,
711
+ 1, 118, :_reduce_none,
712
+ 1, 118, :_reduce_none,
713
+ 1, 118, :_reduce_none,
714
+ 1, 118, :_reduce_none,
715
+ 1, 118, :_reduce_none,
716
+ 3, 78, :_reduce_83,
717
+ 3, 78, :_reduce_84,
718
+ 3, 87, :_reduce_85,
719
+ 0, 105, :_reduce_86,
720
+ 1, 105, :_reduce_87,
721
+ 3, 105, :_reduce_88,
722
+ 3, 123, :_reduce_89,
723
+ 3, 125, :_reduce_90,
724
+ 1, 126, :_reduce_none,
725
+ 1, 126, :_reduce_none,
726
+ 0, 108, :_reduce_93,
727
+ 1, 108, :_reduce_94,
728
+ 3, 108, :_reduce_95,
729
+ 1, 127, :_reduce_96,
730
+ 3, 127, :_reduce_97,
731
+ 1, 116, :_reduce_none,
732
+ 1, 116, :_reduce_none,
733
+ 1, 116, :_reduce_none,
734
+ 1, 116, :_reduce_none,
735
+ 1, 116, :_reduce_none,
736
+ 1, 116, :_reduce_none,
737
+ 1, 124, :_reduce_none,
738
+ 1, 124, :_reduce_none,
739
+ 1, 124, :_reduce_none,
740
+ 1, 124, :_reduce_none,
741
+ 1, 124, :_reduce_none,
742
+ 1, 124, :_reduce_none,
743
+ 1, 124, :_reduce_none,
744
+ 1, 124, :_reduce_none,
745
+ 1, 124, :_reduce_none,
746
+ 1, 124, :_reduce_none,
747
+ 1, 124, :_reduce_none,
748
+ 1, 124, :_reduce_none,
749
+ 4, 98, :_reduce_116,
750
+ 3, 98, :_reduce_117,
751
+ 1, 100, :_reduce_118,
752
+ 2, 100, :_reduce_119,
753
+ 2, 130, :_reduce_120,
754
+ 1, 131, :_reduce_121,
755
+ 2, 131, :_reduce_122,
756
+ 1, 97, :_reduce_123,
757
+ 4, 91, :_reduce_124,
758
+ 4, 91, :_reduce_125,
759
+ 2, 80, :_reduce_126,
760
+ 5, 132, :_reduce_127,
761
+ 4, 132, :_reduce_128,
762
+ 0, 133, :_reduce_none,
763
+ 2, 133, :_reduce_130,
764
+ 4, 133, :_reduce_131,
765
+ 3, 133, :_reduce_132,
766
+ 1, 121, :_reduce_none,
767
+ 3, 121, :_reduce_134,
768
+ 3, 121, :_reduce_135,
769
+ 3, 121, :_reduce_136,
770
+ 3, 121, :_reduce_137,
771
+ 3, 121, :_reduce_138,
772
+ 3, 121, :_reduce_139,
773
+ 3, 121, :_reduce_140,
774
+ 3, 121, :_reduce_141,
775
+ 3, 121, :_reduce_142,
776
+ 2, 121, :_reduce_143,
777
+ 3, 121, :_reduce_144,
778
+ 3, 121, :_reduce_145,
779
+ 3, 121, :_reduce_146,
780
+ 3, 121, :_reduce_147,
781
+ 3, 121, :_reduce_148,
782
+ 3, 121, :_reduce_149,
783
+ 2, 121, :_reduce_150,
784
+ 3, 121, :_reduce_151,
785
+ 3, 121, :_reduce_152,
786
+ 3, 121, :_reduce_153,
787
+ 5, 79, :_reduce_154,
788
+ 1, 135, :_reduce_155,
789
+ 2, 135, :_reduce_156,
790
+ 5, 136, :_reduce_157,
791
+ 4, 136, :_reduce_158,
792
+ 1, 137, :_reduce_159,
793
+ 3, 137, :_reduce_160,
794
+ 3, 99, :_reduce_161,
795
+ 1, 139, :_reduce_none,
796
+ 4, 139, :_reduce_163,
797
+ 1, 141, :_reduce_none,
798
+ 3, 141, :_reduce_165,
799
+ 3, 140, :_reduce_166,
830
800
  1, 138, :_reduce_none,
831
- 4, 138, :_reduce_162,
832
- 1, 140, :_reduce_none,
833
- 3, 140, :_reduce_164,
834
- 3, 139, :_reduce_165,
835
- 1, 137, :_reduce_none,
836
- 1, 137, :_reduce_none,
837
- 1, 137, :_reduce_none,
838
- 1, 137, :_reduce_none,
839
- 1, 137, :_reduce_none,
840
- 1, 137, :_reduce_none,
841
- 1, 137, :_reduce_none,
842
- 1, 137, :_reduce_none,
843
- 1, 137, :_reduce_174,
844
- 1, 137, :_reduce_none,
845
- 1, 141, :_reduce_176,
846
- 1, 142, :_reduce_none,
847
- 3, 142, :_reduce_178,
848
- 2, 80, :_reduce_179,
849
- 6, 82, :_reduce_180,
850
- 5, 82, :_reduce_181,
851
- 7, 83, :_reduce_182,
852
- 6, 83, :_reduce_183,
801
+ 1, 138, :_reduce_none,
802
+ 1, 138, :_reduce_none,
803
+ 1, 138, :_reduce_none,
804
+ 1, 138, :_reduce_none,
805
+ 1, 138, :_reduce_none,
806
+ 1, 138, :_reduce_none,
807
+ 1, 138, :_reduce_none,
808
+ 1, 138, :_reduce_175,
809
+ 1, 138, :_reduce_none,
810
+ 1, 142, :_reduce_177,
811
+ 1, 143, :_reduce_none,
812
+ 3, 143, :_reduce_179,
813
+ 2, 81, :_reduce_180,
814
+ 6, 83, :_reduce_181,
815
+ 5, 83, :_reduce_182,
816
+ 7, 84, :_reduce_183,
853
817
  6, 84, :_reduce_184,
854
- 5, 84, :_reduce_185,
855
- 1, 106, :_reduce_186,
856
- 1, 101, :_reduce_187,
857
- 1, 101, :_reduce_188,
858
- 1, 101, :_reduce_189,
859
- 1, 145, :_reduce_none,
860
- 3, 145, :_reduce_191,
861
- 1, 147, :_reduce_192,
818
+ 6, 85, :_reduce_185,
819
+ 5, 85, :_reduce_186,
820
+ 1, 107, :_reduce_187,
821
+ 1, 102, :_reduce_188,
822
+ 1, 102, :_reduce_189,
823
+ 1, 102, :_reduce_190,
824
+ 1, 146, :_reduce_191,
825
+ 3, 146, :_reduce_192,
862
826
  1, 148, :_reduce_193,
863
- 1, 148, :_reduce_194,
864
- 1, 148, :_reduce_195,
865
- 1, 148, :_reduce_none,
866
- 0, 72, :_reduce_197,
867
- 0, 149, :_reduce_198,
868
- 1, 143, :_reduce_none,
869
- 3, 143, :_reduce_200,
870
- 3, 143, :_reduce_201,
871
- 1, 150, :_reduce_none,
872
- 3, 150, :_reduce_203,
873
- 3, 151, :_reduce_204,
874
- 1, 151, :_reduce_205,
875
- 3, 151, :_reduce_206,
876
- 1, 151, :_reduce_207,
877
- 1, 146, :_reduce_none,
878
- 2, 146, :_reduce_209,
827
+ 1, 149, :_reduce_194,
828
+ 1, 149, :_reduce_195,
829
+ 1, 149, :_reduce_196,
830
+ 1, 149, :_reduce_none,
831
+ 0, 72, :_reduce_198,
832
+ 0, 150, :_reduce_199,
879
833
  1, 144, :_reduce_none,
880
- 2, 144, :_reduce_211,
881
- 1, 152, :_reduce_none,
882
- 1, 152, :_reduce_none,
883
- 1, 94, :_reduce_214,
884
- 3, 119, :_reduce_215,
885
- 4, 119, :_reduce_216,
886
- 2, 119, :_reduce_217,
887
- 1, 127, :_reduce_none,
888
- 1, 127, :_reduce_none,
889
- 0, 105, :_reduce_none,
890
- 1, 105, :_reduce_221,
891
- 1, 133, :_reduce_222,
892
- 3, 128, :_reduce_223,
893
- 4, 128, :_reduce_224,
894
- 2, 128, :_reduce_225,
834
+ 3, 144, :_reduce_201,
835
+ 3, 144, :_reduce_202,
836
+ 1, 151, :_reduce_none,
837
+ 3, 151, :_reduce_204,
838
+ 3, 152, :_reduce_205,
839
+ 1, 152, :_reduce_206,
840
+ 3, 152, :_reduce_207,
841
+ 1, 152, :_reduce_208,
842
+ 1, 147, :_reduce_none,
843
+ 2, 147, :_reduce_210,
844
+ 1, 145, :_reduce_none,
845
+ 2, 145, :_reduce_212,
895
846
  1, 153, :_reduce_none,
896
- 3, 153, :_reduce_227,
847
+ 1, 153, :_reduce_none,
848
+ 1, 95, :_reduce_215,
849
+ 3, 120, :_reduce_216,
850
+ 4, 120, :_reduce_217,
851
+ 2, 120, :_reduce_218,
852
+ 1, 128, :_reduce_none,
853
+ 1, 128, :_reduce_none,
854
+ 0, 106, :_reduce_none,
855
+ 1, 106, :_reduce_222,
856
+ 1, 134, :_reduce_223,
857
+ 3, 129, :_reduce_224,
858
+ 4, 129, :_reduce_225,
859
+ 2, 129, :_reduce_226,
860
+ 1, 154, :_reduce_none,
897
861
  3, 154, :_reduce_228,
898
- 1, 155, :_reduce_229,
899
- 1, 155, :_reduce_230,
900
- 4, 121, :_reduce_231,
901
- 1, 100, :_reduce_none,
902
- 4, 100, :_reduce_233 ]
862
+ 3, 155, :_reduce_229,
863
+ 1, 156, :_reduce_230,
864
+ 1, 156, :_reduce_231,
865
+ 4, 122, :_reduce_232,
866
+ 1, 101, :_reduce_none,
867
+ 4, 101, :_reduce_234 ]
903
868
 
904
- racc_reduce_n = 234
869
+ racc_reduce_n = 235
905
870
 
906
- racc_shift_n = 385
871
+ racc_shift_n = 386
907
872
 
908
873
  racc_token_table = {
909
874
  false => 0,
@@ -1068,9 +1033,10 @@ Racc_token_to_s_table = [
1068
1033
  "IN",
1069
1034
  "$start",
1070
1035
  "program",
1071
- "statements",
1036
+ "statements_and_declarations",
1072
1037
  "nil",
1073
- "statement",
1038
+ "statement_or_declaration",
1039
+ "statements",
1074
1040
  "resource",
1075
1041
  "virtualresource",
1076
1042
  "collection",
@@ -1160,51 +1126,43 @@ Racc_debug_parser = false
1160
1126
 
1161
1127
  # reduce 0 omitted
1162
1128
 
1163
- module_eval(<<'.,.,', 'grammar.ra', 31)
1164
- def _reduce_1(val, _values, result)
1165
- if val[0]
1166
- # Make sure we always return an array.
1167
- if val[0].is_a?(AST::ASTArray)
1168
- if val[0].children.empty?
1169
- result = nil
1170
- else
1171
- result = val[0]
1172
- end
1173
- else
1174
- result = aryfy(val[0])
1175
- end
1176
- else
1177
- result = nil
1178
- end
1129
+ # reduce 1 omitted
1179
1130
 
1131
+ # reduce 2 omitted
1132
+
1133
+ module_eval(<<'.,.,', 'grammar.ra', 34)
1134
+ def _reduce_3(val, _values, result)
1135
+ result = ast AST::ASTArray, :children => (val[0] ? [val[0]] : [])
1136
+
1180
1137
  result
1181
1138
  end
1182
1139
  .,.,
1183
1140
 
1184
- # reduce 2 omitted
1185
-
1186
- # reduce 3 omitted
1187
-
1188
- module_eval(<<'.,.,', 'grammar.ra', 50)
1141
+ module_eval(<<'.,.,', 'grammar.ra', 37)
1189
1142
  def _reduce_4(val, _values, result)
1190
- if val[0] and val[1]
1191
- if val[0].instance_of?(AST::ASTArray)
1143
+ if val[1]
1192
1144
  val[0].push(val[1])
1193
- result = val[0]
1194
- else
1195
- result = ast AST::ASTArray, :children => [val[0],val[1]]
1196
1145
  end
1197
- elsif obj = (val[0] || val[1])
1198
- result = obj
1199
- else result = nil
1146
+ result = val[0]
1147
+
1148
+ result
1149
+ end
1150
+ .,.,
1151
+
1152
+ module_eval(<<'.,.,', 'grammar.ra', 46)
1153
+ def _reduce_5(val, _values, result)
1154
+ val[0].each do |stmt|
1155
+ if stmt.is_a?(AST::TopLevelConstruct)
1156
+ error "Classes, definitions, and nodes may only appear at toplevel or inside other classes", \
1157
+ :line => stmt.context[:line], :file => stmt.context[:file]
1158
+ end
1200
1159
  end
1160
+ result = val[0]
1201
1161
 
1202
1162
  result
1203
1163
  end
1204
1164
  .,.,
1205
1165
 
1206
- # reduce 5 omitted
1207
-
1208
1166
  # reduce 6 omitted
1209
1167
 
1210
1168
  # reduce 7 omitted
@@ -1231,24 +1189,24 @@ module_eval(<<'.,.,', 'grammar.ra', 50)
1231
1189
 
1232
1190
  # reduce 18 omitted
1233
1191
 
1234
- module_eval(<<'.,.,', 'grammar.ra', 80)
1235
- def _reduce_19(val, _values, result)
1192
+ # reduce 19 omitted
1193
+
1194
+ module_eval(<<'.,.,', 'grammar.ra', 72)
1195
+ def _reduce_20(val, _values, result)
1236
1196
  result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1237
1197
 
1238
1198
  result
1239
1199
  end
1240
1200
  .,.,
1241
1201
 
1242
- module_eval(<<'.,.,', 'grammar.ra', 83)
1243
- def _reduce_20(val, _values, result)
1202
+ module_eval(<<'.,.,', 'grammar.ra', 75)
1203
+ def _reduce_21(val, _values, result)
1244
1204
  result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1245
1205
 
1246
1206
  result
1247
1207
  end
1248
1208
  .,.,
1249
1209
 
1250
- # reduce 21 omitted
1251
-
1252
1210
  # reduce 22 omitted
1253
1211
 
1254
1212
  # reduce 23 omitted
@@ -1261,34 +1219,34 @@ module_eval(<<'.,.,', 'grammar.ra', 83)
1261
1219
 
1262
1220
  # reduce 27 omitted
1263
1221
 
1264
- module_eval(<<'.,.,', 'grammar.ra', 91)
1265
- def _reduce_28(val, _values, result)
1266
- args = aryfy(val[2])
1267
- result = ast AST::Function,
1222
+ # reduce 28 omitted
1223
+
1224
+ module_eval(<<'.,.,', 'grammar.ra', 83)
1225
+ def _reduce_29(val, _values, result)
1226
+ result = ast AST::Function,
1268
1227
  :name => val[0][:value],
1269
1228
  :line => val[0][:line],
1270
- :arguments => args,
1229
+ :arguments => val[2],
1271
1230
  :ftype => :statement
1272
1231
 
1273
1232
  result
1274
1233
  end
1275
1234
  .,.,
1276
1235
 
1277
- module_eval(<<'.,.,', 'grammar.ra', 99)
1278
- def _reduce_29(val, _values, result)
1279
- args = aryfy(val[2])
1280
- result = ast AST::Function,
1236
+ module_eval(<<'.,.,', 'grammar.ra', 90)
1237
+ def _reduce_30(val, _values, result)
1238
+ result = ast AST::Function,
1281
1239
  :name => val[0][:value],
1282
1240
  :line => val[0][:line],
1283
- :arguments => args,
1241
+ :arguments => val[2],
1284
1242
  :ftype => :statement
1285
1243
 
1286
1244
  result
1287
1245
  end
1288
1246
  .,.,
1289
1247
 
1290
- module_eval(<<'.,.,', 'grammar.ra', 106)
1291
- def _reduce_30(val, _values, result)
1248
+ module_eval(<<'.,.,', 'grammar.ra', 96)
1249
+ def _reduce_31(val, _values, result)
1292
1250
  result = ast AST::Function,
1293
1251
  :name => val[0][:value],
1294
1252
  :line => val[0][:line],
@@ -1299,49 +1257,50 @@ module_eval(<<'.,.,', 'grammar.ra', 106)
1299
1257
  end
1300
1258
  .,.,
1301
1259
 
1302
- module_eval(<<'.,.,', 'grammar.ra', 113)
1303
- def _reduce_31(val, _values, result)
1304
- args = aryfy(val[1])
1305
- result = ast AST::Function,
1260
+ module_eval(<<'.,.,', 'grammar.ra', 103)
1261
+ def _reduce_32(val, _values, result)
1262
+ result = ast AST::Function,
1306
1263
  :name => val[0][:value],
1307
1264
  :line => val[0][:line],
1308
- :arguments => args,
1265
+ :arguments => val[1],
1309
1266
  :ftype => :statement
1310
1267
 
1311
1268
  result
1312
1269
  end
1313
1270
  .,.,
1314
1271
 
1315
- # reduce 32 omitted
1316
-
1317
- # reduce 33 omitted
1272
+ module_eval(<<'.,.,', 'grammar.ra', 110)
1273
+ def _reduce_33(val, _values, result)
1274
+ result = aryfy(val[0])
1275
+ result
1276
+ end
1277
+ .,.,
1318
1278
 
1319
- module_eval(<<'.,.,', 'grammar.ra', 124)
1279
+ module_eval(<<'.,.,', 'grammar.ra', 111)
1320
1280
  def _reduce_34(val, _values, result)
1321
- result = aryfy(val[0], val[2])
1322
- result.line = @lexer.line
1323
- result.file = @lexer.file
1324
-
1281
+ result = aryfy(val[0])
1325
1282
  result
1326
1283
  end
1327
1284
  .,.,
1328
1285
 
1329
- module_eval(<<'.,.,', 'grammar.ra', 129)
1286
+ module_eval(<<'.,.,', 'grammar.ra', 113)
1330
1287
  def _reduce_35(val, _values, result)
1331
- unless val[0].is_a?(AST::ASTArray)
1332
- val[0] = aryfy(val[0])
1333
- end
1288
+ val[0].push(val[2])
1289
+ result = val[0]
1334
1290
 
1335
- val[0].push(val[2])
1291
+ result
1292
+ end
1293
+ .,.,
1336
1294
 
1337
- result = val[0]
1295
+ module_eval(<<'.,.,', 'grammar.ra', 117)
1296
+ def _reduce_36(val, _values, result)
1297
+ val[0].push(val[2])
1298
+ result = val[0]
1338
1299
 
1339
1300
  result
1340
1301
  end
1341
1302
  .,.,
1342
1303
 
1343
- # reduce 36 omitted
1344
-
1345
1304
  # reduce 37 omitted
1346
1305
 
1347
1306
  # reduce 38 omitted
@@ -1356,41 +1315,27 @@ module_eval(<<'.,.,', 'grammar.ra', 129)
1356
1315
 
1357
1316
  # reduce 43 omitted
1358
1317
 
1359
- module_eval(<<'.,.,', 'grammar.ra', 149)
1360
- def _reduce_44(val, _values, result)
1318
+ # reduce 44 omitted
1319
+
1320
+ module_eval(<<'.,.,', 'grammar.ra', 132)
1321
+ def _reduce_45(val, _values, result)
1361
1322
  result = ast AST::Name, :value => val[0][:value]
1362
1323
 
1363
1324
  result
1364
1325
  end
1365
1326
  .,.,
1366
1327
 
1367
- module_eval(<<'.,.,', 'grammar.ra', 153)
1368
- def _reduce_45(val, _values, result)
1328
+ module_eval(<<'.,.,', 'grammar.ra', 136)
1329
+ def _reduce_46(val, _values, result)
1369
1330
  @lexer.commentpop
1370
- array = val[2]
1371
- array = [array] if array.instance_of?(AST::ResourceInstance)
1372
- result = ast AST::ASTArray
1373
-
1374
- # this iterates across each specified resourceinstance
1375
- array.each { |instance|
1376
- raise Puppet::Dev, "Got something that isn't an instance" unless instance.instance_of?(AST::ResourceInstance)
1377
- # now, i need to somehow differentiate between those things with
1378
- # arrays in their names, and normal things
1379
-
1380
- result.push ast(
1381
- AST::Resource,
1382
- :type => val[0],
1383
- :title => instance[0],
1384
-
1385
- :parameters => instance[1])
1386
- }
1331
+ result = ast(AST::Resource, :type => val[0], :instances => val[2])
1387
1332
 
1388
1333
  result
1389
1334
  end
1390
1335
  .,.,
1391
1336
 
1392
- module_eval(<<'.,.,', 'grammar.ra', 172)
1393
- def _reduce_46(val, _values, result)
1337
+ module_eval(<<'.,.,', 'grammar.ra', 139)
1338
+ def _reduce_47(val, _values, result)
1394
1339
  # This is a deprecated syntax.
1395
1340
  error "All resource specifications require names"
1396
1341
 
@@ -1398,8 +1343,8 @@ module_eval(<<'.,.,', 'grammar.ra', 172)
1398
1343
  end
1399
1344
  .,.,
1400
1345
 
1401
- module_eval(<<'.,.,', 'grammar.ra', 175)
1402
- def _reduce_47(val, _values, result)
1346
+ module_eval(<<'.,.,', 'grammar.ra', 142)
1347
+ def _reduce_48(val, _values, result)
1403
1348
  # a defaults setting for a type
1404
1349
  @lexer.commentpop
1405
1350
  result = ast(AST::ResourceDefaults, :type => val[0], :parameters => val[2])
@@ -1408,8 +1353,8 @@ module_eval(<<'.,.,', 'grammar.ra', 175)
1408
1353
  end
1409
1354
  .,.,
1410
1355
 
1411
- module_eval(<<'.,.,', 'grammar.ra', 182)
1412
- def _reduce_48(val, _values, result)
1356
+ module_eval(<<'.,.,', 'grammar.ra', 149)
1357
+ def _reduce_49(val, _values, result)
1413
1358
  @lexer.commentpop
1414
1359
  result = ast AST::ResourceOverride, :object => val[0], :parameters => val[2]
1415
1360
 
@@ -1417,11 +1362,11 @@ module_eval(<<'.,.,', 'grammar.ra', 182)
1417
1362
  end
1418
1363
  .,.,
1419
1364
 
1420
- module_eval(<<'.,.,', 'grammar.ra', 189)
1421
- def _reduce_49(val, _values, result)
1365
+ module_eval(<<'.,.,', 'grammar.ra', 156)
1366
+ def _reduce_50(val, _values, result)
1422
1367
  type = val[0]
1423
1368
 
1424
- if (type == :exported and ! Puppet[:storeconfigs]) and ! Puppet[:parseonly]
1369
+ if (type == :exported and ! Puppet[:storeconfigs])
1425
1370
  Puppet.warning addcontext("You cannot collect without storeconfigs being set")
1426
1371
  end
1427
1372
 
@@ -1429,14 +1374,8 @@ module_eval(<<'.,.,', 'grammar.ra', 189)
1429
1374
 
1430
1375
  method = type.to_s + "="
1431
1376
 
1432
- # Just mark our resources as exported and pass them through.
1433
- if val[1].instance_of?(AST::ASTArray)
1434
- val[1].each do |obj|
1435
- obj.send(method, true)
1436
- end
1437
- else
1438
- val[1].send(method, true)
1439
- end
1377
+ # Just mark our resource as exported and pass it through.
1378
+ val[1].send(method, true)
1440
1379
 
1441
1380
  result = val[1]
1442
1381
 
@@ -1444,22 +1383,22 @@ module_eval(<<'.,.,', 'grammar.ra', 189)
1444
1383
  end
1445
1384
  .,.,
1446
1385
 
1447
- module_eval(<<'.,.,', 'grammar.ra', 211)
1448
- def _reduce_50(val, _values, result)
1386
+ module_eval(<<'.,.,', 'grammar.ra', 172)
1387
+ def _reduce_51(val, _values, result)
1449
1388
  result = :virtual
1450
1389
  result
1451
1390
  end
1452
1391
  .,.,
1453
1392
 
1454
- module_eval(<<'.,.,', 'grammar.ra', 212)
1455
- def _reduce_51(val, _values, result)
1393
+ module_eval(<<'.,.,', 'grammar.ra', 173)
1394
+ def _reduce_52(val, _values, result)
1456
1395
  result = :exported
1457
1396
  result
1458
1397
  end
1459
1398
  .,.,
1460
1399
 
1461
- module_eval(<<'.,.,', 'grammar.ra', 217)
1462
- def _reduce_52(val, _values, result)
1400
+ module_eval(<<'.,.,', 'grammar.ra', 178)
1401
+ def _reduce_53(val, _values, result)
1463
1402
  @lexer.commentpop
1464
1403
  Puppet.warning addcontext("Collection names must now be capitalized") if val[0] =~ /^[a-z]/
1465
1404
  type = val[0].downcase
@@ -1472,7 +1411,7 @@ module_eval(<<'.,.,', 'grammar.ra', 217)
1472
1411
  else
1473
1412
  args[:form] = val[1]
1474
1413
  end
1475
- if args[:form] == :exported and ! Puppet[:storeconfigs] and ! Puppet[:parseonly]
1414
+ if args[:form] == :exported and ! Puppet[:storeconfigs]
1476
1415
  Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
1477
1416
  end
1478
1417
  args[:override] = val[3]
@@ -1482,8 +1421,8 @@ module_eval(<<'.,.,', 'grammar.ra', 217)
1482
1421
  end
1483
1422
  .,.,
1484
1423
 
1485
- module_eval(<<'.,.,', 'grammar.ra', 236)
1486
- def _reduce_53(val, _values, result)
1424
+ module_eval(<<'.,.,', 'grammar.ra', 197)
1425
+ def _reduce_54(val, _values, result)
1487
1426
  if val[0] =~ /^[a-z]/
1488
1427
  Puppet.warning addcontext("Collection names must now be capitalized")
1489
1428
  end
@@ -1497,7 +1436,7 @@ module_eval(<<'.,.,', 'grammar.ra', 236)
1497
1436
  else
1498
1437
  args[:form] = val[1]
1499
1438
  end
1500
- if args[:form] == :exported and ! Puppet[:storeconfigs] and ! Puppet[:parseonly]
1439
+ if args[:form] == :exported and ! Puppet[:storeconfigs]
1501
1440
  Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
1502
1441
  end
1503
1442
  result = ast AST::Collection, args
@@ -1506,8 +1445,8 @@ module_eval(<<'.,.,', 'grammar.ra', 236)
1506
1445
  end
1507
1446
  .,.,
1508
1447
 
1509
- module_eval(<<'.,.,', 'grammar.ra', 257)
1510
- def _reduce_54(val, _values, result)
1448
+ module_eval(<<'.,.,', 'grammar.ra', 218)
1449
+ def _reduce_55(val, _values, result)
1511
1450
  if val[1]
1512
1451
  result = val[1]
1513
1452
  result.form = :virtual
@@ -1519,8 +1458,8 @@ module_eval(<<'.,.,', 'grammar.ra', 257)
1519
1458
  end
1520
1459
  .,.,
1521
1460
 
1522
- module_eval(<<'.,.,', 'grammar.ra', 265)
1523
- def _reduce_55(val, _values, result)
1461
+ module_eval(<<'.,.,', 'grammar.ra', 226)
1462
+ def _reduce_56(val, _values, result)
1524
1463
  if val[1]
1525
1464
  result = val[1]
1526
1465
  result.form = :exported
@@ -1532,22 +1471,22 @@ module_eval(<<'.,.,', 'grammar.ra', 265)
1532
1471
  end
1533
1472
  .,.,
1534
1473
 
1535
- # reduce 56 omitted
1536
-
1537
1474
  # reduce 57 omitted
1538
1475
 
1539
- module_eval(<<'.,.,', 'grammar.ra', 278)
1540
- def _reduce_58(val, _values, result)
1476
+ # reduce 58 omitted
1477
+
1478
+ module_eval(<<'.,.,', 'grammar.ra', 239)
1479
+ def _reduce_59(val, _values, result)
1541
1480
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
1542
1481
 
1543
1482
  result
1544
1483
  end
1545
1484
  .,.,
1546
1485
 
1547
- # reduce 59 omitted
1486
+ # reduce 60 omitted
1548
1487
 
1549
- module_eval(<<'.,.,', 'grammar.ra', 283)
1550
- def _reduce_60(val, _values, result)
1488
+ module_eval(<<'.,.,', 'grammar.ra', 244)
1489
+ def _reduce_61(val, _values, result)
1551
1490
  result = val[1]
1552
1491
  result.parens = true
1553
1492
 
@@ -1555,22 +1494,22 @@ module_eval(<<'.,.,', 'grammar.ra', 283)
1555
1494
  end
1556
1495
  .,.,
1557
1496
 
1558
- module_eval(<<'.,.,', 'grammar.ra', 287)
1559
- def _reduce_61(val, _values, result)
1497
+ module_eval(<<'.,.,', 'grammar.ra', 248)
1498
+ def _reduce_62(val, _values, result)
1560
1499
  result=val[0][:value]
1561
1500
  result
1562
1501
  end
1563
1502
  .,.,
1564
1503
 
1565
- module_eval(<<'.,.,', 'grammar.ra', 288)
1566
- def _reduce_62(val, _values, result)
1504
+ module_eval(<<'.,.,', 'grammar.ra', 249)
1505
+ def _reduce_63(val, _values, result)
1567
1506
  result=val[0][:value]
1568
1507
  result
1569
1508
  end
1570
1509
  .,.,
1571
1510
 
1572
- module_eval(<<'.,.,', 'grammar.ra', 291)
1573
- def _reduce_63(val, _values, result)
1511
+ module_eval(<<'.,.,', 'grammar.ra', 252)
1512
+ def _reduce_64(val, _values, result)
1574
1513
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
1575
1514
  #result = ast AST::CollExpr
1576
1515
  #result.push *val
@@ -1579,8 +1518,8 @@ module_eval(<<'.,.,', 'grammar.ra', 291)
1579
1518
  end
1580
1519
  .,.,
1581
1520
 
1582
- module_eval(<<'.,.,', 'grammar.ra', 296)
1583
- def _reduce_64(val, _values, result)
1521
+ module_eval(<<'.,.,', 'grammar.ra', 257)
1522
+ def _reduce_65(val, _values, result)
1584
1523
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
1585
1524
  #result = ast AST::CollExpr
1586
1525
  #result.push *val
@@ -1589,63 +1528,62 @@ module_eval(<<'.,.,', 'grammar.ra', 296)
1589
1528
  end
1590
1529
  .,.,
1591
1530
 
1592
- # reduce 65 omitted
1593
-
1594
1531
  # reduce 66 omitted
1595
1532
 
1596
- module_eval(<<'.,.,', 'grammar.ra', 305)
1597
- def _reduce_67(val, _values, result)
1598
- result = ast AST::ResourceInstance, :children => [val[0],val[2]]
1533
+ # reduce 67 omitted
1534
+
1535
+ module_eval(<<'.,.,', 'grammar.ra', 266)
1536
+ def _reduce_68(val, _values, result)
1537
+ result = ast AST::ResourceInstance, :title => val[0], :parameters => val[2]
1599
1538
 
1600
1539
  result
1601
1540
  end
1602
1541
  .,.,
1603
1542
 
1604
- # reduce 68 omitted
1605
-
1606
- module_eval(<<'.,.,', 'grammar.ra', 310)
1543
+ module_eval(<<'.,.,', 'grammar.ra', 269)
1607
1544
  def _reduce_69(val, _values, result)
1608
- if val[0].instance_of?(AST::ResourceInstance)
1609
- result = ast AST::ASTArray, :children => [val[0],val[2]]
1610
- else
1611
- val[0].push val[2]
1612
- result = val[0]
1545
+ result = aryfy(val[0])
1546
+ result
1613
1547
  end
1548
+ .,.,
1549
+
1550
+ module_eval(<<'.,.,', 'grammar.ra', 271)
1551
+ def _reduce_70(val, _values, result)
1552
+ val[0].push val[2]
1553
+ result = val[0]
1614
1554
 
1615
1555
  result
1616
1556
  end
1617
1557
  .,.,
1618
1558
 
1619
- # reduce 70 omitted
1620
-
1621
1559
  # reduce 71 omitted
1622
1560
 
1623
- module_eval(<<'.,.,', 'grammar.ra', 322)
1624
- def _reduce_72(val, _values, result)
1561
+ # reduce 72 omitted
1562
+
1563
+ module_eval(<<'.,.,', 'grammar.ra', 279)
1564
+ def _reduce_73(val, _values, result)
1625
1565
  result = ast AST::Undef, :value => :undef
1626
1566
 
1627
1567
  result
1628
1568
  end
1629
1569
  .,.,
1630
1570
 
1631
- module_eval(<<'.,.,', 'grammar.ra', 326)
1632
- def _reduce_73(val, _values, result)
1571
+ module_eval(<<'.,.,', 'grammar.ra', 283)
1572
+ def _reduce_74(val, _values, result)
1633
1573
  result = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
1634
1574
 
1635
1575
  result
1636
1576
  end
1637
1577
  .,.,
1638
1578
 
1639
- module_eval(<<'.,.,', 'grammar.ra', 330)
1640
- def _reduce_74(val, _values, result)
1579
+ module_eval(<<'.,.,', 'grammar.ra', 287)
1580
+ def _reduce_75(val, _values, result)
1641
1581
  result = ast AST::Type, :value => val[0][:value], :line => val[0][:line]
1642
1582
 
1643
1583
  result
1644
1584
  end
1645
1585
  .,.,
1646
1586
 
1647
- # reduce 75 omitted
1648
-
1649
1587
  # reduce 76 omitted
1650
1588
 
1651
1589
  # reduce 77 omitted
@@ -1658,8 +1596,10 @@ module_eval(<<'.,.,', 'grammar.ra', 330)
1658
1596
 
1659
1597
  # reduce 81 omitted
1660
1598
 
1661
- module_eval(<<'.,.,', 'grammar.ra', 342)
1662
- def _reduce_82(val, _values, result)
1599
+ # reduce 82 omitted
1600
+
1601
+ module_eval(<<'.,.,', 'grammar.ra', 299)
1602
+ def _reduce_83(val, _values, result)
1663
1603
  raise Puppet::ParseError, "Cannot assign to variables in other namespaces" if val[0][:value] =~ /::/
1664
1604
  # this is distinct from referencing a variable
1665
1605
  variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
@@ -1669,16 +1609,16 @@ module_eval(<<'.,.,', 'grammar.ra', 342)
1669
1609
  end
1670
1610
  .,.,
1671
1611
 
1672
- module_eval(<<'.,.,', 'grammar.ra', 348)
1673
- def _reduce_83(val, _values, result)
1612
+ module_eval(<<'.,.,', 'grammar.ra', 305)
1613
+ def _reduce_84(val, _values, result)
1674
1614
  result = ast AST::VarDef, :name => val[0], :value => val[2]
1675
1615
 
1676
1616
  result
1677
1617
  end
1678
1618
  .,.,
1679
1619
 
1680
- module_eval(<<'.,.,', 'grammar.ra', 352)
1681
- def _reduce_84(val, _values, result)
1620
+ module_eval(<<'.,.,', 'grammar.ra', 309)
1621
+ def _reduce_85(val, _values, result)
1682
1622
  variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
1683
1623
  result = ast AST::VarDef, :name => variable, :value => val[2], :append => true, :line => val[0][:line]
1684
1624
 
@@ -1686,44 +1626,40 @@ module_eval(<<'.,.,', 'grammar.ra', 352)
1686
1626
  end
1687
1627
  .,.,
1688
1628
 
1689
- module_eval(<<'.,.,', 'grammar.ra', 358)
1690
- def _reduce_85(val, _values, result)
1629
+ module_eval(<<'.,.,', 'grammar.ra', 315)
1630
+ def _reduce_86(val, _values, result)
1691
1631
  result = ast AST::ASTArray
1692
1632
 
1693
1633
  result
1694
1634
  end
1695
1635
  .,.,
1696
1636
 
1697
- module_eval(<<'.,.,', 'grammar.ra', 360)
1698
- def _reduce_86(val, _values, result)
1699
- result = val[0]
1637
+ module_eval(<<'.,.,', 'grammar.ra', 317)
1638
+ def _reduce_87(val, _values, result)
1639
+ result = aryfy(val[0])
1700
1640
  result
1701
1641
  end
1702
1642
  .,.,
1703
1643
 
1704
- module_eval(<<'.,.,', 'grammar.ra', 362)
1705
- def _reduce_87(val, _values, result)
1706
- if val[0].instance_of?(AST::ASTArray)
1707
- val[0].push(val[2])
1644
+ module_eval(<<'.,.,', 'grammar.ra', 319)
1645
+ def _reduce_88(val, _values, result)
1646
+ val[0].push(val[2])
1708
1647
  result = val[0]
1709
- else
1710
- result = ast AST::ASTArray, :children => [val[0],val[2]]
1711
- end
1712
1648
 
1713
1649
  result
1714
1650
  end
1715
1651
  .,.,
1716
1652
 
1717
- module_eval(<<'.,.,', 'grammar.ra', 371)
1718
- def _reduce_88(val, _values, result)
1653
+ module_eval(<<'.,.,', 'grammar.ra', 324)
1654
+ def _reduce_89(val, _values, result)
1719
1655
  result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2]
1720
1656
 
1721
1657
  result
1722
1658
  end
1723
1659
  .,.,
1724
1660
 
1725
- module_eval(<<'.,.,', 'grammar.ra', 375)
1726
- def _reduce_89(val, _values, result)
1661
+ module_eval(<<'.,.,', 'grammar.ra', 328)
1662
+ def _reduce_90(val, _values, result)
1727
1663
  result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2],
1728
1664
  :add => true
1729
1665
 
@@ -1731,54 +1667,48 @@ module_eval(<<'.,.,', 'grammar.ra', 375)
1731
1667
  end
1732
1668
  .,.,
1733
1669
 
1734
- # reduce 90 omitted
1735
-
1736
1670
  # reduce 91 omitted
1737
1671
 
1738
- module_eval(<<'.,.,', 'grammar.ra', 384)
1739
- def _reduce_92(val, _values, result)
1672
+ # reduce 92 omitted
1673
+
1674
+ module_eval(<<'.,.,', 'grammar.ra', 337)
1675
+ def _reduce_93(val, _values, result)
1740
1676
  result = ast AST::ASTArray
1741
1677
 
1742
1678
  result
1743
1679
  end
1744
1680
  .,.,
1745
1681
 
1746
- module_eval(<<'.,.,', 'grammar.ra', 386)
1747
- def _reduce_93(val, _values, result)
1748
- result = val[0]
1682
+ module_eval(<<'.,.,', 'grammar.ra', 339)
1683
+ def _reduce_94(val, _values, result)
1684
+ result = aryfy(val[0])
1749
1685
  result
1750
1686
  end
1751
1687
  .,.,
1752
1688
 
1753
- module_eval(<<'.,.,', 'grammar.ra', 388)
1754
- def _reduce_94(val, _values, result)
1755
- if val[0].instance_of?(AST::ASTArray)
1756
- val[0].push(val[2])
1689
+ module_eval(<<'.,.,', 'grammar.ra', 341)
1690
+ def _reduce_95(val, _values, result)
1691
+ val[0].push(val[2])
1757
1692
  result = val[0]
1758
- else
1759
- result = ast AST::ASTArray, :children => [val[0],val[2]]
1760
- end
1761
1693
 
1762
1694
  result
1763
1695
  end
1764
1696
  .,.,
1765
1697
 
1766
- # reduce 95 omitted
1767
-
1768
- module_eval(<<'.,.,', 'grammar.ra', 398)
1698
+ module_eval(<<'.,.,', 'grammar.ra', 345)
1769
1699
  def _reduce_96(val, _values, result)
1770
- if val[0].instance_of?(AST::ASTArray)
1771
- result = val[0].push(val[2])
1772
- else
1773
- result = ast AST::ASTArray, :children => [val[0],val[2]]
1700
+ result = aryfy(val[0])
1701
+ result
1774
1702
  end
1703
+ .,.,
1775
1704
 
1705
+ module_eval(<<'.,.,', 'grammar.ra', 346)
1706
+ def _reduce_97(val, _values, result)
1707
+ result = val[0].push(val[2])
1776
1708
  result
1777
1709
  end
1778
1710
  .,.,
1779
1711
 
1780
- # reduce 97 omitted
1781
-
1782
1712
  # reduce 98 omitted
1783
1713
 
1784
1714
  # reduce 99 omitted
@@ -1813,20 +1743,21 @@ module_eval(<<'.,.,', 'grammar.ra', 398)
1813
1743
 
1814
1744
  # reduce 114 omitted
1815
1745
 
1816
- module_eval(<<'.,.,', 'grammar.ra', 427)
1817
- def _reduce_115(val, _values, result)
1818
- args = aryfy(val[2])
1819
- result = ast AST::Function,
1746
+ # reduce 115 omitted
1747
+
1748
+ module_eval(<<'.,.,', 'grammar.ra', 370)
1749
+ def _reduce_116(val, _values, result)
1750
+ result = ast AST::Function,
1820
1751
  :name => val[0][:value], :line => val[0][:line],
1821
- :arguments => args,
1752
+ :arguments => val[2],
1822
1753
  :ftype => :rvalue
1823
1754
 
1824
1755
  result
1825
1756
  end
1826
1757
  .,.,
1827
1758
 
1828
- module_eval(<<'.,.,', 'grammar.ra', 433)
1829
- def _reduce_116(val, _values, result)
1759
+ module_eval(<<'.,.,', 'grammar.ra', 375)
1760
+ def _reduce_117(val, _values, result)
1830
1761
  result = ast AST::Function,
1831
1762
  :name => val[0][:value], :line => val[0][:line],
1832
1763
  :arguments => AST::ASTArray.new({}),
@@ -1836,51 +1767,51 @@ module_eval(<<'.,.,', 'grammar.ra', 433)
1836
1767
  end
1837
1768
  .,.,
1838
1769
 
1839
- module_eval(<<'.,.,', 'grammar.ra', 439)
1840
- def _reduce_117(val, _values, result)
1770
+ module_eval(<<'.,.,', 'grammar.ra', 381)
1771
+ def _reduce_118(val, _values, result)
1841
1772
  result = ast AST::String, :value => val[0][:value], :line => val[0][:line]
1842
1773
  result
1843
1774
  end
1844
1775
  .,.,
1845
1776
 
1846
- module_eval(<<'.,.,', 'grammar.ra', 440)
1847
- def _reduce_118(val, _values, result)
1777
+ module_eval(<<'.,.,', 'grammar.ra', 382)
1778
+ def _reduce_119(val, _values, result)
1848
1779
  result = ast AST::Concat, :value => [ast(AST::String,val[0])]+val[1], :line => val[0][:line]
1849
1780
  result
1850
1781
  end
1851
1782
  .,.,
1852
1783
 
1853
- module_eval(<<'.,.,', 'grammar.ra', 442)
1854
- def _reduce_119(val, _values, result)
1784
+ module_eval(<<'.,.,', 'grammar.ra', 384)
1785
+ def _reduce_120(val, _values, result)
1855
1786
  result = [val[0]] + val[1]
1856
1787
  result
1857
1788
  end
1858
1789
  .,.,
1859
1790
 
1860
- module_eval(<<'.,.,', 'grammar.ra', 444)
1861
- def _reduce_120(val, _values, result)
1791
+ module_eval(<<'.,.,', 'grammar.ra', 386)
1792
+ def _reduce_121(val, _values, result)
1862
1793
  result = [ast(AST::String,val[0])]
1863
1794
  result
1864
1795
  end
1865
1796
  .,.,
1866
1797
 
1867
- module_eval(<<'.,.,', 'grammar.ra', 445)
1868
- def _reduce_121(val, _values, result)
1798
+ module_eval(<<'.,.,', 'grammar.ra', 387)
1799
+ def _reduce_122(val, _values, result)
1869
1800
  result = [ast(AST::String,val[0])] + val[1]
1870
1801
  result
1871
1802
  end
1872
1803
  .,.,
1873
1804
 
1874
- module_eval(<<'.,.,', 'grammar.ra', 448)
1875
- def _reduce_122(val, _values, result)
1805
+ module_eval(<<'.,.,', 'grammar.ra', 390)
1806
+ def _reduce_123(val, _values, result)
1876
1807
  result = ast AST::Boolean, :value => val[0][:value], :line => val[0][:line]
1877
1808
 
1878
1809
  result
1879
1810
  end
1880
1811
  .,.,
1881
1812
 
1882
- module_eval(<<'.,.,', 'grammar.ra', 452)
1883
- def _reduce_123(val, _values, result)
1813
+ module_eval(<<'.,.,', 'grammar.ra', 394)
1814
+ def _reduce_124(val, _values, result)
1884
1815
  Puppet.warning addcontext("Deprecation notice: Resource references should now be capitalized")
1885
1816
  result = ast AST::ResourceReference, :type => val[0][:value], :line => val[0][:line], :title => val[2]
1886
1817
 
@@ -1888,24 +1819,24 @@ module_eval(<<'.,.,', 'grammar.ra', 452)
1888
1819
  end
1889
1820
  .,.,
1890
1821
 
1891
- module_eval(<<'.,.,', 'grammar.ra', 455)
1892
- def _reduce_124(val, _values, result)
1822
+ module_eval(<<'.,.,', 'grammar.ra', 397)
1823
+ def _reduce_125(val, _values, result)
1893
1824
  result = ast AST::ResourceReference, :type => val[0], :title => val[2]
1894
1825
 
1895
1826
  result
1896
1827
  end
1897
1828
  .,.,
1898
1829
 
1899
- module_eval(<<'.,.,', 'grammar.ra', 459)
1900
- def _reduce_125(val, _values, result)
1830
+ module_eval(<<'.,.,', 'grammar.ra', 401)
1831
+ def _reduce_126(val, _values, result)
1901
1832
  result = val[1]
1902
1833
 
1903
1834
  result
1904
1835
  end
1905
1836
  .,.,
1906
1837
 
1907
- module_eval(<<'.,.,', 'grammar.ra', 463)
1908
- def _reduce_126(val, _values, result)
1838
+ module_eval(<<'.,.,', 'grammar.ra', 405)
1839
+ def _reduce_127(val, _values, result)
1909
1840
  @lexer.commentpop
1910
1841
  args = {
1911
1842
  :test => val[0],
@@ -1920,8 +1851,8 @@ module_eval(<<'.,.,', 'grammar.ra', 463)
1920
1851
  end
1921
1852
  .,.,
1922
1853
 
1923
- module_eval(<<'.,.,', 'grammar.ra', 474)
1924
- def _reduce_127(val, _values, result)
1854
+ module_eval(<<'.,.,', 'grammar.ra', 416)
1855
+ def _reduce_128(val, _values, result)
1925
1856
  @lexer.commentpop
1926
1857
  args = {
1927
1858
  :test => val[0],
@@ -1936,18 +1867,18 @@ module_eval(<<'.,.,', 'grammar.ra', 474)
1936
1867
  end
1937
1868
  .,.,
1938
1869
 
1939
- # reduce 128 omitted
1870
+ # reduce 129 omitted
1940
1871
 
1941
- module_eval(<<'.,.,', 'grammar.ra', 487)
1942
- def _reduce_129(val, _values, result)
1872
+ module_eval(<<'.,.,', 'grammar.ra', 429)
1873
+ def _reduce_130(val, _values, result)
1943
1874
  result = ast AST::Else, :statements => val[1]
1944
1875
 
1945
1876
  result
1946
1877
  end
1947
1878
  .,.,
1948
1879
 
1949
- module_eval(<<'.,.,', 'grammar.ra', 490)
1950
- def _reduce_130(val, _values, result)
1880
+ module_eval(<<'.,.,', 'grammar.ra', 432)
1881
+ def _reduce_131(val, _values, result)
1951
1882
  @lexer.commentpop
1952
1883
  result = ast AST::Else, :statements => val[2]
1953
1884
 
@@ -1955,8 +1886,8 @@ module_eval(<<'.,.,', 'grammar.ra', 490)
1955
1886
  end
1956
1887
  .,.,
1957
1888
 
1958
- module_eval(<<'.,.,', 'grammar.ra', 494)
1959
- def _reduce_131(val, _values, result)
1889
+ module_eval(<<'.,.,', 'grammar.ra', 436)
1890
+ def _reduce_132(val, _values, result)
1960
1891
  @lexer.commentpop
1961
1892
  result = ast AST::Else, :statements => ast(AST::Nop)
1962
1893
 
@@ -1964,25 +1895,17 @@ module_eval(<<'.,.,', 'grammar.ra', 494)
1964
1895
  end
1965
1896
  .,.,
1966
1897
 
1967
- # reduce 132 omitted
1898
+ # reduce 133 omitted
1968
1899
 
1969
- module_eval(<<'.,.,', 'grammar.ra', 512)
1970
- def _reduce_133(val, _values, result)
1971
- result = ast AST::InOperator, :lval => val[0], :rval => val[2]
1972
-
1973
- result
1974
- end
1975
- .,.,
1976
-
1977
- module_eval(<<'.,.,', 'grammar.ra', 515)
1900
+ module_eval(<<'.,.,', 'grammar.ra', 454)
1978
1901
  def _reduce_134(val, _values, result)
1979
- result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1902
+ result = ast AST::InOperator, :lval => val[0], :rval => val[2]
1980
1903
 
1981
1904
  result
1982
1905
  end
1983
1906
  .,.,
1984
1907
 
1985
- module_eval(<<'.,.,', 'grammar.ra', 518)
1908
+ module_eval(<<'.,.,', 'grammar.ra', 457)
1986
1909
  def _reduce_135(val, _values, result)
1987
1910
  result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1988
1911
 
@@ -1990,15 +1913,15 @@ module_eval(<<'.,.,', 'grammar.ra', 518)
1990
1913
  end
1991
1914
  .,.,
1992
1915
 
1993
- module_eval(<<'.,.,', 'grammar.ra', 521)
1916
+ module_eval(<<'.,.,', 'grammar.ra', 460)
1994
1917
  def _reduce_136(val, _values, result)
1995
- result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1918
+ result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1996
1919
 
1997
1920
  result
1998
1921
  end
1999
1922
  .,.,
2000
1923
 
2001
- module_eval(<<'.,.,', 'grammar.ra', 524)
1924
+ module_eval(<<'.,.,', 'grammar.ra', 463)
2002
1925
  def _reduce_137(val, _values, result)
2003
1926
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2004
1927
 
@@ -2006,7 +1929,7 @@ module_eval(<<'.,.,', 'grammar.ra', 524)
2006
1929
  end
2007
1930
  .,.,
2008
1931
 
2009
- module_eval(<<'.,.,', 'grammar.ra', 527)
1932
+ module_eval(<<'.,.,', 'grammar.ra', 466)
2010
1933
  def _reduce_138(val, _values, result)
2011
1934
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2012
1935
 
@@ -2014,7 +1937,7 @@ module_eval(<<'.,.,', 'grammar.ra', 527)
2014
1937
  end
2015
1938
  .,.,
2016
1939
 
2017
- module_eval(<<'.,.,', 'grammar.ra', 530)
1940
+ module_eval(<<'.,.,', 'grammar.ra', 469)
2018
1941
  def _reduce_139(val, _values, result)
2019
1942
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2020
1943
 
@@ -2022,7 +1945,7 @@ module_eval(<<'.,.,', 'grammar.ra', 530)
2022
1945
  end
2023
1946
  .,.,
2024
1947
 
2025
- module_eval(<<'.,.,', 'grammar.ra', 533)
1948
+ module_eval(<<'.,.,', 'grammar.ra', 472)
2026
1949
  def _reduce_140(val, _values, result)
2027
1950
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2028
1951
 
@@ -2030,7 +1953,7 @@ module_eval(<<'.,.,', 'grammar.ra', 533)
2030
1953
  end
2031
1954
  .,.,
2032
1955
 
2033
- module_eval(<<'.,.,', 'grammar.ra', 536)
1956
+ module_eval(<<'.,.,', 'grammar.ra', 475)
2034
1957
  def _reduce_141(val, _values, result)
2035
1958
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2036
1959
 
@@ -2038,23 +1961,23 @@ module_eval(<<'.,.,', 'grammar.ra', 536)
2038
1961
  end
2039
1962
  .,.,
2040
1963
 
2041
- module_eval(<<'.,.,', 'grammar.ra', 539)
1964
+ module_eval(<<'.,.,', 'grammar.ra', 478)
2042
1965
  def _reduce_142(val, _values, result)
2043
- result = ast AST::Minus, :value => val[1]
1966
+ result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2044
1967
 
2045
1968
  result
2046
1969
  end
2047
1970
  .,.,
2048
1971
 
2049
- module_eval(<<'.,.,', 'grammar.ra', 542)
1972
+ module_eval(<<'.,.,', 'grammar.ra', 481)
2050
1973
  def _reduce_143(val, _values, result)
2051
- result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1974
+ result = ast AST::Minus, :value => val[1]
2052
1975
 
2053
1976
  result
2054
1977
  end
2055
1978
  .,.,
2056
1979
 
2057
- module_eval(<<'.,.,', 'grammar.ra', 545)
1980
+ module_eval(<<'.,.,', 'grammar.ra', 484)
2058
1981
  def _reduce_144(val, _values, result)
2059
1982
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2060
1983
 
@@ -2062,7 +1985,7 @@ module_eval(<<'.,.,', 'grammar.ra', 545)
2062
1985
  end
2063
1986
  .,.,
2064
1987
 
2065
- module_eval(<<'.,.,', 'grammar.ra', 548)
1988
+ module_eval(<<'.,.,', 'grammar.ra', 487)
2066
1989
  def _reduce_145(val, _values, result)
2067
1990
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2068
1991
 
@@ -2070,7 +1993,7 @@ module_eval(<<'.,.,', 'grammar.ra', 548)
2070
1993
  end
2071
1994
  .,.,
2072
1995
 
2073
- module_eval(<<'.,.,', 'grammar.ra', 551)
1996
+ module_eval(<<'.,.,', 'grammar.ra', 490)
2074
1997
  def _reduce_146(val, _values, result)
2075
1998
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2076
1999
 
@@ -2078,7 +2001,7 @@ module_eval(<<'.,.,', 'grammar.ra', 551)
2078
2001
  end
2079
2002
  .,.,
2080
2003
 
2081
- module_eval(<<'.,.,', 'grammar.ra', 554)
2004
+ module_eval(<<'.,.,', 'grammar.ra', 493)
2082
2005
  def _reduce_147(val, _values, result)
2083
2006
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2084
2007
 
@@ -2086,7 +2009,7 @@ module_eval(<<'.,.,', 'grammar.ra', 554)
2086
2009
  end
2087
2010
  .,.,
2088
2011
 
2089
- module_eval(<<'.,.,', 'grammar.ra', 557)
2012
+ module_eval(<<'.,.,', 'grammar.ra', 496)
2090
2013
  def _reduce_148(val, _values, result)
2091
2014
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2092
2015
 
@@ -2094,23 +2017,23 @@ module_eval(<<'.,.,', 'grammar.ra', 557)
2094
2017
  end
2095
2018
  .,.,
2096
2019
 
2097
- module_eval(<<'.,.,', 'grammar.ra', 560)
2020
+ module_eval(<<'.,.,', 'grammar.ra', 499)
2098
2021
  def _reduce_149(val, _values, result)
2099
- result = ast AST::Not, :value => val[1]
2022
+ result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2100
2023
 
2101
2024
  result
2102
2025
  end
2103
2026
  .,.,
2104
2027
 
2105
- module_eval(<<'.,.,', 'grammar.ra', 563)
2028
+ module_eval(<<'.,.,', 'grammar.ra', 502)
2106
2029
  def _reduce_150(val, _values, result)
2107
- result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2030
+ result = ast AST::Not, :value => val[1]
2108
2031
 
2109
2032
  result
2110
2033
  end
2111
2034
  .,.,
2112
2035
 
2113
- module_eval(<<'.,.,', 'grammar.ra', 566)
2036
+ module_eval(<<'.,.,', 'grammar.ra', 505)
2114
2037
  def _reduce_151(val, _values, result)
2115
2038
  result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2116
2039
 
@@ -2118,42 +2041,49 @@ module_eval(<<'.,.,', 'grammar.ra', 566)
2118
2041
  end
2119
2042
  .,.,
2120
2043
 
2121
- module_eval(<<'.,.,', 'grammar.ra', 569)
2044
+ module_eval(<<'.,.,', 'grammar.ra', 508)
2122
2045
  def _reduce_152(val, _values, result)
2123
- result = val[1]
2046
+ result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
2124
2047
 
2125
2048
  result
2126
2049
  end
2127
2050
  .,.,
2128
2051
 
2129
- module_eval(<<'.,.,', 'grammar.ra', 573)
2052
+ module_eval(<<'.,.,', 'grammar.ra', 511)
2130
2053
  def _reduce_153(val, _values, result)
2131
- @lexer.commentpop
2132
- options = val[3]
2133
- options = ast AST::ASTArray, :children => [val[3]] unless options.instance_of?(AST::ASTArray)
2134
- result = ast AST::CaseStatement, :test => val[1], :options => options
2054
+ result = val[1]
2135
2055
 
2136
2056
  result
2137
2057
  end
2138
2058
  .,.,
2139
2059
 
2140
- # reduce 154 omitted
2060
+ module_eval(<<'.,.,', 'grammar.ra', 515)
2061
+ def _reduce_154(val, _values, result)
2062
+ @lexer.commentpop
2063
+ result = ast AST::CaseStatement, :test => val[1], :options => val[3]
2141
2064
 
2142
- module_eval(<<'.,.,', 'grammar.ra', 581)
2143
- def _reduce_155(val, _values, result)
2144
- if val[0].instance_of?(AST::ASTArray)
2145
- val[0].push val[1]
2146
- result = val[0]
2147
- else
2148
- result = ast AST::ASTArray, :children => [val[0], val[1]]
2065
+ result
2149
2066
  end
2067
+ .,.,
2150
2068
 
2069
+ module_eval(<<'.,.,', 'grammar.ra', 519)
2070
+ def _reduce_155(val, _values, result)
2071
+ result = aryfy(val[0])
2151
2072
  result
2152
2073
  end
2153
2074
  .,.,
2154
2075
 
2155
- module_eval(<<'.,.,', 'grammar.ra', 590)
2076
+ module_eval(<<'.,.,', 'grammar.ra', 521)
2156
2077
  def _reduce_156(val, _values, result)
2078
+ val[0].push val[1]
2079
+ result = val[0]
2080
+
2081
+ result
2082
+ end
2083
+ .,.,
2084
+
2085
+ module_eval(<<'.,.,', 'grammar.ra', 526)
2086
+ def _reduce_157(val, _values, result)
2157
2087
  @lexer.commentpop
2158
2088
  result = ast AST::CaseOpt, :value => val[0], :statements => val[3]
2159
2089
 
@@ -2161,8 +2091,8 @@ module_eval(<<'.,.,', 'grammar.ra', 590)
2161
2091
  end
2162
2092
  .,.,
2163
2093
 
2164
- module_eval(<<'.,.,', 'grammar.ra', 593)
2165
- def _reduce_157(val, _values, result)
2094
+ module_eval(<<'.,.,', 'grammar.ra', 529)
2095
+ def _reduce_158(val, _values, result)
2166
2096
  @lexer.commentpop
2167
2097
 
2168
2098
  result = ast(
@@ -2176,33 +2106,34 @@ module_eval(<<'.,.,', 'grammar.ra', 593)
2176
2106
  end
2177
2107
  .,.,
2178
2108
 
2179
- # reduce 158 omitted
2180
-
2181
- module_eval(<<'.,.,', 'grammar.ra', 605)
2109
+ module_eval(<<'.,.,', 'grammar.ra', 539)
2182
2110
  def _reduce_159(val, _values, result)
2183
- if val[0].instance_of?(AST::ASTArray)
2184
- val[0].push(val[2])
2185
- result = val[0]
2186
- else
2187
- result = ast AST::ASTArray, :children => [val[0],val[2]]
2111
+ result = aryfy(val[0])
2112
+ result
2188
2113
  end
2114
+ .,.,
2115
+
2116
+ module_eval(<<'.,.,', 'grammar.ra', 541)
2117
+ def _reduce_160(val, _values, result)
2118
+ val[0].push(val[2])
2119
+ result = val[0]
2189
2120
 
2190
2121
  result
2191
2122
  end
2192
2123
  .,.,
2193
2124
 
2194
- module_eval(<<'.,.,', 'grammar.ra', 614)
2195
- def _reduce_160(val, _values, result)
2125
+ module_eval(<<'.,.,', 'grammar.ra', 546)
2126
+ def _reduce_161(val, _values, result)
2196
2127
  result = ast AST::Selector, :param => val[0], :values => val[2]
2197
2128
 
2198
2129
  result
2199
2130
  end
2200
2131
  .,.,
2201
2132
 
2202
- # reduce 161 omitted
2133
+ # reduce 162 omitted
2203
2134
 
2204
- module_eval(<<'.,.,', 'grammar.ra', 619)
2205
- def _reduce_162(val, _values, result)
2135
+ module_eval(<<'.,.,', 'grammar.ra', 551)
2136
+ def _reduce_163(val, _values, result)
2206
2137
  @lexer.commentpop
2207
2138
  result = val[1]
2208
2139
 
@@ -2210,10 +2141,10 @@ module_eval(<<'.,.,', 'grammar.ra', 619)
2210
2141
  end
2211
2142
  .,.,
2212
2143
 
2213
- # reduce 163 omitted
2144
+ # reduce 164 omitted
2214
2145
 
2215
- module_eval(<<'.,.,', 'grammar.ra', 625)
2216
- def _reduce_164(val, _values, result)
2146
+ module_eval(<<'.,.,', 'grammar.ra', 557)
2147
+ def _reduce_165(val, _values, result)
2217
2148
  if val[0].instance_of?(AST::ASTArray)
2218
2149
  val[0].push(val[2])
2219
2150
  result = val[0]
@@ -2225,16 +2156,14 @@ module_eval(<<'.,.,', 'grammar.ra', 625)
2225
2156
  end
2226
2157
  .,.,
2227
2158
 
2228
- module_eval(<<'.,.,', 'grammar.ra', 634)
2229
- def _reduce_165(val, _values, result)
2159
+ module_eval(<<'.,.,', 'grammar.ra', 566)
2160
+ def _reduce_166(val, _values, result)
2230
2161
  result = ast AST::ResourceParam, :param => val[0], :value => val[2]
2231
2162
 
2232
2163
  result
2233
2164
  end
2234
2165
  .,.,
2235
2166
 
2236
- # reduce 166 omitted
2237
-
2238
2167
  # reduce 167 omitted
2239
2168
 
2240
2169
  # reduce 168 omitted
@@ -2249,50 +2178,53 @@ module_eval(<<'.,.,', 'grammar.ra', 634)
2249
2178
 
2250
2179
  # reduce 173 omitted
2251
2180
 
2252
- module_eval(<<'.,.,', 'grammar.ra', 646)
2253
- def _reduce_174(val, _values, result)
2181
+ # reduce 174 omitted
2182
+
2183
+ module_eval(<<'.,.,', 'grammar.ra', 578)
2184
+ def _reduce_175(val, _values, result)
2254
2185
  result = ast AST::Default, :value => val[0][:value], :line => val[0][:line]
2255
2186
 
2256
2187
  result
2257
2188
  end
2258
2189
  .,.,
2259
2190
 
2260
- # reduce 175 omitted
2191
+ # reduce 176 omitted
2261
2192
 
2262
- module_eval(<<'.,.,', 'grammar.ra', 651)
2263
- def _reduce_176(val, _values, result)
2193
+ module_eval(<<'.,.,', 'grammar.ra', 583)
2194
+ def _reduce_177(val, _values, result)
2264
2195
  result = [val[0][:value]]
2265
2196
  result
2266
2197
  end
2267
2198
  .,.,
2268
2199
 
2269
- # reduce 177 omitted
2200
+ # reduce 178 omitted
2270
2201
 
2271
- module_eval(<<'.,.,', 'grammar.ra', 653)
2272
- def _reduce_178(val, _values, result)
2202
+ module_eval(<<'.,.,', 'grammar.ra', 585)
2203
+ def _reduce_179(val, _values, result)
2273
2204
  result = val[0] += val[2]
2274
2205
  result
2275
2206
  end
2276
2207
  .,.,
2277
2208
 
2278
- module_eval(<<'.,.,', 'grammar.ra', 656)
2279
- def _reduce_179(val, _values, result)
2209
+ module_eval(<<'.,.,', 'grammar.ra', 588)
2210
+ def _reduce_180(val, _values, result)
2280
2211
  val[1].each do |file|
2281
2212
  import(file)
2282
2213
  end
2283
2214
 
2284
- result = AST::ASTArray.new(:children => [])
2215
+ result = nil
2285
2216
 
2286
2217
  result
2287
2218
  end
2288
2219
  .,.,
2289
2220
 
2290
- module_eval(<<'.,.,', 'grammar.ra', 666)
2291
- def _reduce_180(val, _values, result)
2221
+ module_eval(<<'.,.,', 'grammar.ra', 598)
2222
+ def _reduce_181(val, _values, result)
2292
2223
  @lexer.commentpop
2293
- newdefine classname(val[1]), :arguments => val[2], :code => val[4], :line => val[0][:line]
2224
+ result = Puppet::Parser::AST::Definition.new(classname(val[1]),
2225
+ ast_context(true).merge(:arguments => val[2], :code => val[4],
2226
+ :line => val[0][:line]))
2294
2227
  @lexer.indefine = false
2295
- result = nil
2296
2228
 
2297
2229
  #} | DEFINE NAME argumentlist parent LBRACE RBRACE {
2298
2230
 
@@ -2300,160 +2232,167 @@ module_eval(<<'.,.,', 'grammar.ra', 666)
2300
2232
  end
2301
2233
  .,.,
2302
2234
 
2303
- module_eval(<<'.,.,', 'grammar.ra', 673)
2304
- def _reduce_181(val, _values, result)
2235
+ module_eval(<<'.,.,', 'grammar.ra', 606)
2236
+ def _reduce_182(val, _values, result)
2305
2237
  @lexer.commentpop
2306
- newdefine classname(val[1]), :arguments => val[2], :line => val[0][:line]
2238
+ result = Puppet::Parser::AST::Definition.new(classname(val[1]),
2239
+ ast_context(true).merge(:arguments => val[2], :line => val[0][:line]))
2307
2240
  @lexer.indefine = false
2308
- result = nil
2309
2241
 
2310
2242
  result
2311
2243
  end
2312
2244
  .,.,
2313
2245
 
2314
- module_eval(<<'.,.,', 'grammar.ra', 681)
2315
- def _reduce_182(val, _values, result)
2246
+ module_eval(<<'.,.,', 'grammar.ra', 614)
2247
+ def _reduce_183(val, _values, result)
2316
2248
  @lexer.commentpop
2317
2249
  # Our class gets defined in the parent namespace, not our own.
2318
2250
  @lexer.namepop
2319
- newclass classname(val[1]), :arguments => val[2], :parent => val[3], :code => val[5], :line => val[0][:line]
2320
- result = nil
2251
+ result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
2252
+ ast_context(true).merge(:arguments => val[2], :parent => val[3],
2253
+ :code => val[5], :line => val[0][:line]))
2321
2254
 
2322
2255
  result
2323
2256
  end
2324
2257
  .,.,
2325
2258
 
2326
- module_eval(<<'.,.,', 'grammar.ra', 687)
2327
- def _reduce_183(val, _values, result)
2259
+ module_eval(<<'.,.,', 'grammar.ra', 621)
2260
+ def _reduce_184(val, _values, result)
2328
2261
  @lexer.commentpop
2329
2262
  # Our class gets defined in the parent namespace, not our own.
2330
2263
  @lexer.namepop
2331
- newclass classname(val[1]), :arguments => val[2], :parent => val[3], :line => val[0][:line]
2332
- result = nil
2264
+ result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
2265
+ ast_context(true).merge(:arguments => val[2], :parent => val[3],
2266
+ :line => val[0][:line]))
2333
2267
 
2334
2268
  result
2335
2269
  end
2336
2270
  .,.,
2337
2271
 
2338
- module_eval(<<'.,.,', 'grammar.ra', 695)
2339
- def _reduce_184(val, _values, result)
2272
+ module_eval(<<'.,.,', 'grammar.ra', 630)
2273
+ def _reduce_185(val, _values, result)
2340
2274
  @lexer.commentpop
2341
- newnode val[1], :parent => val[2], :code => val[4], :line => val[0][:line]
2342
- result = nil
2275
+ result = Puppet::Parser::AST::Node.new(val[1],
2276
+ ast_context(true).merge(:parent => val[2], :code => val[4],
2277
+ :line => val[0][:line]))
2343
2278
 
2344
2279
  result
2345
2280
  end
2346
2281
  .,.,
2347
2282
 
2348
- module_eval(<<'.,.,', 'grammar.ra', 699)
2349
- def _reduce_185(val, _values, result)
2283
+ module_eval(<<'.,.,', 'grammar.ra', 635)
2284
+ def _reduce_186(val, _values, result)
2350
2285
  @lexer.commentpop
2351
- newnode val[1], :parent => val[2], :line => val[0][:line]
2352
- result = nil
2286
+ result = Puppet::Parser::AST::Node.new(val[1], ast_context(true).merge(:parent => val[2], :line => val[0][:line]))
2353
2287
 
2354
2288
  result
2355
2289
  end
2356
2290
  .,.,
2357
2291
 
2358
- module_eval(<<'.,.,', 'grammar.ra', 704)
2359
- def _reduce_186(val, _values, result)
2292
+ module_eval(<<'.,.,', 'grammar.ra', 639)
2293
+ def _reduce_187(val, _values, result)
2360
2294
  result = val[0][:value]
2361
2295
  result
2362
2296
  end
2363
2297
  .,.,
2364
2298
 
2365
- module_eval(<<'.,.,', 'grammar.ra', 706)
2366
- def _reduce_187(val, _values, result)
2299
+ module_eval(<<'.,.,', 'grammar.ra', 641)
2300
+ def _reduce_188(val, _values, result)
2367
2301
  result = val[0][:value]
2368
2302
  result
2369
2303
  end
2370
2304
  .,.,
2371
2305
 
2372
- module_eval(<<'.,.,', 'grammar.ra', 707)
2373
- def _reduce_188(val, _values, result)
2306
+ module_eval(<<'.,.,', 'grammar.ra', 642)
2307
+ def _reduce_189(val, _values, result)
2374
2308
  result = val[0][:value]
2375
2309
  result
2376
2310
  end
2377
2311
  .,.,
2378
2312
 
2379
- module_eval(<<'.,.,', 'grammar.ra', 708)
2380
- def _reduce_189(val, _values, result)
2313
+ module_eval(<<'.,.,', 'grammar.ra', 643)
2314
+ def _reduce_190(val, _values, result)
2381
2315
  result = "class"
2382
2316
  result
2383
2317
  end
2384
2318
  .,.,
2385
2319
 
2386
- # reduce 190 omitted
2387
-
2388
- module_eval(<<'.,.,', 'grammar.ra', 714)
2320
+ module_eval(<<'.,.,', 'grammar.ra', 648)
2389
2321
  def _reduce_191(val, _values, result)
2390
- result = val[0]
2391
- result = [result] unless result.is_a?(Array)
2392
- result << val[2]
2322
+ result = [result]
2393
2323
 
2394
2324
  result
2395
2325
  end
2396
2326
  .,.,
2397
2327
 
2398
- module_eval(<<'.,.,', 'grammar.ra', 720)
2328
+ module_eval(<<'.,.,', 'grammar.ra', 651)
2399
2329
  def _reduce_192(val, _values, result)
2400
- result = ast AST::HostName, :value => val[0]
2330
+ result = val[0]
2331
+ result << val[2]
2401
2332
 
2402
2333
  result
2403
2334
  end
2404
2335
  .,.,
2405
2336
 
2406
- module_eval(<<'.,.,', 'grammar.ra', 723)
2337
+ module_eval(<<'.,.,', 'grammar.ra', 656)
2407
2338
  def _reduce_193(val, _values, result)
2408
- result = val[0][:value]
2339
+ result = ast AST::HostName, :value => val[0]
2340
+
2409
2341
  result
2410
2342
  end
2411
2343
  .,.,
2412
2344
 
2413
- module_eval(<<'.,.,', 'grammar.ra', 724)
2345
+ module_eval(<<'.,.,', 'grammar.ra', 659)
2414
2346
  def _reduce_194(val, _values, result)
2415
2347
  result = val[0][:value]
2416
2348
  result
2417
2349
  end
2418
2350
  .,.,
2419
2351
 
2420
- module_eval(<<'.,.,', 'grammar.ra', 725)
2352
+ module_eval(<<'.,.,', 'grammar.ra', 660)
2421
2353
  def _reduce_195(val, _values, result)
2422
2354
  result = val[0][:value]
2423
2355
  result
2424
2356
  end
2425
2357
  .,.,
2426
2358
 
2427
- # reduce 196 omitted
2359
+ module_eval(<<'.,.,', 'grammar.ra', 661)
2360
+ def _reduce_196(val, _values, result)
2361
+ result = val[0][:value]
2362
+ result
2363
+ end
2364
+ .,.,
2365
+
2366
+ # reduce 197 omitted
2428
2367
 
2429
- module_eval(<<'.,.,', 'grammar.ra', 729)
2430
- def _reduce_197(val, _values, result)
2368
+ module_eval(<<'.,.,', 'grammar.ra', 665)
2369
+ def _reduce_198(val, _values, result)
2431
2370
  result = nil
2432
2371
 
2433
2372
  result
2434
2373
  end
2435
2374
  .,.,
2436
2375
 
2437
- module_eval(<<'.,.,', 'grammar.ra', 733)
2438
- def _reduce_198(val, _values, result)
2376
+ module_eval(<<'.,.,', 'grammar.ra', 669)
2377
+ def _reduce_199(val, _values, result)
2439
2378
  result = ast AST::ASTArray, :children => []
2440
2379
 
2441
2380
  result
2442
2381
  end
2443
2382
  .,.,
2444
2383
 
2445
- # reduce 199 omitted
2384
+ # reduce 200 omitted
2446
2385
 
2447
- module_eval(<<'.,.,', 'grammar.ra', 738)
2448
- def _reduce_200(val, _values, result)
2386
+ module_eval(<<'.,.,', 'grammar.ra', 674)
2387
+ def _reduce_201(val, _values, result)
2449
2388
  result = nil
2450
2389
 
2451
2390
  result
2452
2391
  end
2453
2392
  .,.,
2454
2393
 
2455
- module_eval(<<'.,.,', 'grammar.ra', 741)
2456
- def _reduce_201(val, _values, result)
2394
+ module_eval(<<'.,.,', 'grammar.ra', 677)
2395
+ def _reduce_202(val, _values, result)
2457
2396
  result = val[1]
2458
2397
  result = [result] unless result[0].is_a?(Array)
2459
2398
 
@@ -2461,10 +2400,10 @@ module_eval(<<'.,.,', 'grammar.ra', 741)
2461
2400
  end
2462
2401
  .,.,
2463
2402
 
2464
- # reduce 202 omitted
2403
+ # reduce 203 omitted
2465
2404
 
2466
- module_eval(<<'.,.,', 'grammar.ra', 747)
2467
- def _reduce_203(val, _values, result)
2405
+ module_eval(<<'.,.,', 'grammar.ra', 683)
2406
+ def _reduce_204(val, _values, result)
2468
2407
  result = val[0]
2469
2408
  result = [result] unless result[0].is_a?(Array)
2470
2409
  result << val[2]
@@ -2473,8 +2412,8 @@ module_eval(<<'.,.,', 'grammar.ra', 747)
2473
2412
  end
2474
2413
  .,.,
2475
2414
 
2476
- module_eval(<<'.,.,', 'grammar.ra', 753)
2477
- def _reduce_204(val, _values, result)
2415
+ module_eval(<<'.,.,', 'grammar.ra', 689)
2416
+ def _reduce_205(val, _values, result)
2478
2417
  Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
2479
2418
  result = [val[0][:value], val[2]]
2480
2419
 
@@ -2482,8 +2421,8 @@ module_eval(<<'.,.,', 'grammar.ra', 753)
2482
2421
  end
2483
2422
  .,.,
2484
2423
 
2485
- module_eval(<<'.,.,', 'grammar.ra', 757)
2486
- def _reduce_205(val, _values, result)
2424
+ module_eval(<<'.,.,', 'grammar.ra', 693)
2425
+ def _reduce_206(val, _values, result)
2487
2426
  Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
2488
2427
  result = [val[0][:value]]
2489
2428
 
@@ -2491,109 +2430,98 @@ module_eval(<<'.,.,', 'grammar.ra', 757)
2491
2430
  end
2492
2431
  .,.,
2493
2432
 
2494
- module_eval(<<'.,.,', 'grammar.ra', 760)
2495
- def _reduce_206(val, _values, result)
2433
+ module_eval(<<'.,.,', 'grammar.ra', 696)
2434
+ def _reduce_207(val, _values, result)
2496
2435
  result = [val[0][:value], val[2]]
2497
2436
 
2498
2437
  result
2499
2438
  end
2500
2439
  .,.,
2501
2440
 
2502
- module_eval(<<'.,.,', 'grammar.ra', 762)
2503
- def _reduce_207(val, _values, result)
2441
+ module_eval(<<'.,.,', 'grammar.ra', 698)
2442
+ def _reduce_208(val, _values, result)
2504
2443
  result = [val[0][:value]]
2505
2444
 
2506
2445
  result
2507
2446
  end
2508
2447
  .,.,
2509
2448
 
2510
- # reduce 208 omitted
2449
+ # reduce 209 omitted
2511
2450
 
2512
- module_eval(<<'.,.,', 'grammar.ra', 767)
2513
- def _reduce_209(val, _values, result)
2451
+ module_eval(<<'.,.,', 'grammar.ra', 703)
2452
+ def _reduce_210(val, _values, result)
2514
2453
  result = val[1]
2515
2454
 
2516
2455
  result
2517
2456
  end
2518
2457
  .,.,
2519
2458
 
2520
- # reduce 210 omitted
2459
+ # reduce 211 omitted
2521
2460
 
2522
- module_eval(<<'.,.,', 'grammar.ra', 772)
2523
- def _reduce_211(val, _values, result)
2461
+ module_eval(<<'.,.,', 'grammar.ra', 708)
2462
+ def _reduce_212(val, _values, result)
2524
2463
  result = val[1]
2525
2464
 
2526
2465
  result
2527
2466
  end
2528
2467
  .,.,
2529
2468
 
2530
- # reduce 212 omitted
2531
-
2532
2469
  # reduce 213 omitted
2533
2470
 
2534
- module_eval(<<'.,.,', 'grammar.ra', 778)
2535
- def _reduce_214(val, _values, result)
2536
- result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
2471
+ # reduce 214 omitted
2537
2472
 
2538
- result
2539
- end
2540
- .,.,
2541
-
2542
- module_eval(<<'.,.,', 'grammar.ra', 782)
2473
+ module_eval(<<'.,.,', 'grammar.ra', 714)
2543
2474
  def _reduce_215(val, _values, result)
2544
- if val[1].instance_of?(AST::ASTArray)
2545
- result = val[1]
2546
- else
2547
- result = ast AST::ASTArray, :children => [val[1]]
2548
- end
2475
+ result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
2549
2476
 
2550
2477
  result
2551
2478
  end
2552
2479
  .,.,
2553
2480
 
2554
- module_eval(<<'.,.,', 'grammar.ra', 789)
2481
+ module_eval(<<'.,.,', 'grammar.ra', 717)
2555
2482
  def _reduce_216(val, _values, result)
2556
- if val[1].instance_of?(AST::ASTArray)
2557
- result = val[1]
2558
- else
2559
- result = ast AST::ASTArray, :children => [val[1]]
2560
- end
2561
-
2483
+ result = val[1]
2562
2484
  result
2563
2485
  end
2564
2486
  .,.,
2565
2487
 
2566
- module_eval(<<'.,.,', 'grammar.ra', 795)
2488
+ module_eval(<<'.,.,', 'grammar.ra', 718)
2567
2489
  def _reduce_217(val, _values, result)
2568
- result = ast AST::ASTArray
2569
-
2490
+ result = val[1]
2570
2491
  result
2571
2492
  end
2572
2493
  .,.,
2573
2494
 
2574
- # reduce 218 omitted
2495
+ module_eval(<<'.,.,', 'grammar.ra', 719)
2496
+ def _reduce_218(val, _values, result)
2497
+ result = ast AST::ASTArray
2498
+ result
2499
+ end
2500
+ .,.,
2575
2501
 
2576
2502
  # reduce 219 omitted
2577
2503
 
2578
2504
  # reduce 220 omitted
2579
2505
 
2580
- module_eval(<<'.,.,', 'grammar.ra', 802)
2581
- def _reduce_221(val, _values, result)
2506
+ # reduce 221 omitted
2507
+
2508
+ module_eval(<<'.,.,', 'grammar.ra', 725)
2509
+ def _reduce_222(val, _values, result)
2582
2510
  result = nil
2583
2511
  result
2584
2512
  end
2585
2513
  .,.,
2586
2514
 
2587
- module_eval(<<'.,.,', 'grammar.ra', 805)
2588
- def _reduce_222(val, _values, result)
2515
+ module_eval(<<'.,.,', 'grammar.ra', 728)
2516
+ def _reduce_223(val, _values, result)
2589
2517
  result = ast AST::Regex, :value => val[0][:value]
2590
2518
 
2591
2519
  result
2592
2520
  end
2593
2521
  .,.,
2594
2522
 
2595
- module_eval(<<'.,.,', 'grammar.ra', 809)
2596
- def _reduce_223(val, _values, result)
2523
+ module_eval(<<'.,.,', 'grammar.ra', 732)
2524
+ def _reduce_224(val, _values, result)
2597
2525
  if val[1].instance_of?(AST::ASTHash)
2598
2526
  result = val[1]
2599
2527
  else
@@ -2604,8 +2532,8 @@ module_eval(<<'.,.,', 'grammar.ra', 809)
2604
2532
  end
2605
2533
  .,.,
2606
2534
 
2607
- module_eval(<<'.,.,', 'grammar.ra', 816)
2608
- def _reduce_224(val, _values, result)
2535
+ module_eval(<<'.,.,', 'grammar.ra', 739)
2536
+ def _reduce_225(val, _values, result)
2609
2537
  if val[1].instance_of?(AST::ASTHash)
2610
2538
  result = val[1]
2611
2539
  else
@@ -2616,18 +2544,18 @@ module_eval(<<'.,.,', 'grammar.ra', 816)
2616
2544
  end
2617
2545
  .,.,
2618
2546
 
2619
- module_eval(<<'.,.,', 'grammar.ra', 822)
2620
- def _reduce_225(val, _values, result)
2547
+ module_eval(<<'.,.,', 'grammar.ra', 745)
2548
+ def _reduce_226(val, _values, result)
2621
2549
  result = ast AST::ASTHash
2622
2550
 
2623
2551
  result
2624
2552
  end
2625
2553
  .,.,
2626
2554
 
2627
- # reduce 226 omitted
2555
+ # reduce 227 omitted
2628
2556
 
2629
- module_eval(<<'.,.,', 'grammar.ra', 827)
2630
- def _reduce_227(val, _values, result)
2557
+ module_eval(<<'.,.,', 'grammar.ra', 750)
2558
+ def _reduce_228(val, _values, result)
2631
2559
  if val[0].instance_of?(AST::ASTHash)
2632
2560
  result = val[0].merge(val[2])
2633
2561
  else
@@ -2639,40 +2567,40 @@ module_eval(<<'.,.,', 'grammar.ra', 827)
2639
2567
  end
2640
2568
  .,.,
2641
2569
 
2642
- module_eval(<<'.,.,', 'grammar.ra', 836)
2643
- def _reduce_228(val, _values, result)
2570
+ module_eval(<<'.,.,', 'grammar.ra', 759)
2571
+ def _reduce_229(val, _values, result)
2644
2572
  result = ast AST::ASTHash, { :value => { val[0] => val[2] } }
2645
2573
 
2646
2574
  result
2647
2575
  end
2648
2576
  .,.,
2649
2577
 
2650
- module_eval(<<'.,.,', 'grammar.ra', 839)
2651
- def _reduce_229(val, _values, result)
2578
+ module_eval(<<'.,.,', 'grammar.ra', 762)
2579
+ def _reduce_230(val, _values, result)
2652
2580
  result = val[0][:value]
2653
2581
  result
2654
2582
  end
2655
2583
  .,.,
2656
2584
 
2657
- module_eval(<<'.,.,', 'grammar.ra', 840)
2658
- def _reduce_230(val, _values, result)
2585
+ module_eval(<<'.,.,', 'grammar.ra', 763)
2586
+ def _reduce_231(val, _values, result)
2659
2587
  result = val[0]
2660
2588
  result
2661
2589
  end
2662
2590
  .,.,
2663
2591
 
2664
- module_eval(<<'.,.,', 'grammar.ra', 843)
2665
- def _reduce_231(val, _values, result)
2592
+ module_eval(<<'.,.,', 'grammar.ra', 766)
2593
+ def _reduce_232(val, _values, result)
2666
2594
  result = ast AST::HashOrArrayAccess, :variable => val[0][:value], :key => val[2]
2667
2595
 
2668
2596
  result
2669
2597
  end
2670
2598
  .,.,
2671
2599
 
2672
- # reduce 232 omitted
2600
+ # reduce 233 omitted
2673
2601
 
2674
- module_eval(<<'.,.,', 'grammar.ra', 848)
2675
- def _reduce_233(val, _values, result)
2602
+ module_eval(<<'.,.,', 'grammar.ra', 771)
2603
+ def _reduce_234(val, _values, result)
2676
2604
  result = ast AST::HashOrArrayAccess, :variable => val[0], :key => val[2]
2677
2605
 
2678
2606
  result