puppet 0.24.5 → 0.24.6

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 (354) hide show
  1. data/CHANGELOG +206 -0
  2. data/Rakefile +53 -0
  3. data/bin/filebucket +0 -0
  4. data/bin/puppet +32 -11
  5. data/bin/puppetca +1 -0
  6. data/bin/puppetd +0 -0
  7. data/bin/puppetdoc +0 -0
  8. data/bin/puppetmasterd +0 -0
  9. data/bin/puppetrun +16 -8
  10. data/bin/ralsh +0 -0
  11. data/conf/debian/rules +0 -0
  12. data/conf/gentoo/init.d/puppetmaster +0 -0
  13. data/conf/osx/PackageInfo.plist +36 -0
  14. data/conf/osx/createpackage.sh +167 -0
  15. data/conf/osx/preflight +12 -0
  16. data/conf/redhat/client.init +1 -1
  17. data/conf/redhat/puppet.spec +34 -6
  18. data/conf/redhat/server.init +42 -7
  19. data/conf/redhat/server.sysconfig +22 -0
  20. data/conf/solaris/smf/svc-puppetd +0 -0
  21. data/conf/solaris/smf/svc-puppetmasterd +0 -0
  22. data/examples/etc/init.d/sleeper +0 -0
  23. data/examples/mac_dscl.pp +0 -0
  24. data/examples/mac_dscl_revert.pp +0 -0
  25. data/examples/mac_netinfo.pp +0 -0
  26. data/examples/mac_pkgdmg.pp +0 -0
  27. data/ext/bin/sleeper +0 -0
  28. data/ext/module_puppet +0 -0
  29. data/ext/nagios/check_puppet.rb +0 -0
  30. data/ext/passenger/README +63 -0
  31. data/ext/passenger/apache2.conf +29 -0
  32. data/ext/passenger/config.ru +40 -0
  33. data/ext/puppet-test +0 -0
  34. data/ext/puppetlast +6 -31
  35. data/ext/puppetstoredconfigclean.rb +87 -0
  36. data/install.rb +75 -20
  37. data/lib/puppet.rb +1 -1
  38. data/lib/puppet/daemon.rb +0 -0
  39. data/lib/puppet/defaults.rb +3 -7
  40. data/lib/puppet/external/base64.rb +0 -0
  41. data/lib/puppet/external/nagios.rb +0 -0
  42. data/lib/puppet/external/nagios/base.rb +0 -0
  43. data/lib/puppet/file_serving/fileset.rb +2 -2
  44. data/lib/puppet/file_serving/metadata.rb +3 -3
  45. data/lib/puppet/indirector/facts/facter.rb +3 -2
  46. data/lib/puppet/indirector/yaml.rb +10 -1
  47. data/lib/puppet/module.rb +36 -12
  48. data/lib/puppet/network/authstore.rb +0 -0
  49. data/lib/puppet/network/client/master.rb +12 -11
  50. data/lib/puppet/network/handler/filebucket.rb +0 -0
  51. data/lib/puppet/network/handler/fileserver.rb +38 -46
  52. data/lib/puppet/network/handler/master.rb +1 -1
  53. data/lib/puppet/network/handler/report.rb +0 -0
  54. data/lib/puppet/network/handler/resource.rb +0 -0
  55. data/lib/puppet/network/handler/runner.rb +0 -0
  56. data/lib/puppet/network/http_server/rack.rb +148 -0
  57. data/lib/puppet/network/rights.rb +0 -0
  58. data/lib/puppet/network/xmlrpc/client.rb +5 -5
  59. data/lib/puppet/node.rb +5 -9
  60. data/lib/puppet/node/environment.rb +1 -17
  61. data/lib/puppet/node/facts.rb +0 -0
  62. data/lib/puppet/parameter.rb +1 -28
  63. data/lib/puppet/parser/ast.rb +6 -0
  64. data/lib/puppet/parser/ast/arithmetic_operator.rb +41 -0
  65. data/lib/puppet/parser/ast/boolean_operator.rb +48 -0
  66. data/lib/puppet/parser/ast/collexpr.rb +6 -1
  67. data/lib/puppet/parser/ast/comparison_operator.rb +37 -0
  68. data/lib/puppet/parser/ast/minus.rb +23 -0
  69. data/lib/puppet/parser/ast/nop.rb +11 -0
  70. data/lib/puppet/parser/ast/not.rb +19 -0
  71. data/lib/puppet/parser/ast/resource_override.rb +23 -16
  72. data/lib/puppet/parser/ast/resource_reference.rb +10 -6
  73. data/lib/puppet/parser/ast/vardef.rb +2 -2
  74. data/lib/puppet/parser/collector.rb +2 -1
  75. data/lib/puppet/parser/functions.rb +7 -217
  76. data/lib/puppet/parser/functions/defined.rb +27 -0
  77. data/lib/puppet/parser/functions/fail.rb +4 -0
  78. data/lib/puppet/parser/functions/file.rb +21 -0
  79. data/lib/puppet/parser/functions/fqdn_rand.rb +15 -0
  80. data/lib/puppet/parser/functions/generate.rb +35 -0
  81. data/lib/puppet/parser/functions/include.rb +26 -0
  82. data/lib/puppet/parser/functions/realize.rb +14 -0
  83. data/lib/puppet/parser/functions/search.rb +7 -0
  84. data/lib/puppet/parser/functions/sha1.rb +6 -0
  85. data/lib/puppet/parser/functions/tag.rb +6 -0
  86. data/lib/puppet/parser/functions/tagged.rb +18 -0
  87. data/lib/puppet/parser/functions/template.rb +22 -0
  88. data/lib/puppet/parser/lexer.rb +15 -5
  89. data/lib/puppet/parser/parser.rb +1073 -715
  90. data/lib/puppet/parser/parser_support.rb +18 -13
  91. data/lib/puppet/parser/resource.rb +1 -1
  92. data/lib/puppet/parser/resource/param.rb +10 -2
  93. data/lib/puppet/parser/scope.rb +63 -5
  94. data/lib/puppet/parser/templatewrapper.rb +61 -15
  95. data/lib/puppet/property.rb +7 -1
  96. data/lib/puppet/property/keyvalue.rb +96 -0
  97. data/lib/puppet/property/list.rb +78 -0
  98. data/lib/puppet/provider/confine.rb +1 -1
  99. data/lib/puppet/provider/confine/variable.rb +10 -1
  100. data/lib/puppet/provider/cron/crontab.rb +0 -0
  101. data/lib/puppet/provider/mailalias/aliases.rb +0 -0
  102. data/lib/puppet/provider/maillist/mailman.rb +0 -0
  103. data/lib/puppet/provider/mount/parsed.rb +0 -0
  104. data/lib/puppet/provider/nameservice.rb +24 -39
  105. data/lib/puppet/provider/nameservice/directoryservice.rb +12 -3
  106. data/lib/puppet/provider/nameservice/netinfo.rb +12 -2
  107. data/lib/puppet/provider/nameservice/objectadd.rb +1 -10
  108. data/lib/puppet/provider/package/appdmg.rb +1 -1
  109. data/lib/puppet/provider/package/apple.rb +0 -0
  110. data/lib/puppet/provider/package/apt.rb +14 -21
  111. data/lib/puppet/provider/package/aptitude.rb +0 -0
  112. data/lib/puppet/provider/package/blastwave.rb +2 -0
  113. data/lib/puppet/provider/package/darwinport.rb +0 -0
  114. data/lib/puppet/provider/package/dpkg.rb +33 -51
  115. data/lib/puppet/provider/package/fink.rb +1 -1
  116. data/lib/puppet/provider/package/freebsd.rb +0 -0
  117. data/lib/puppet/provider/package/gem.rb +0 -0
  118. data/lib/puppet/provider/package/hpux.rb +46 -0
  119. data/lib/puppet/provider/package/openbsd.rb +0 -0
  120. data/lib/puppet/provider/package/pkgdmg.rb +1 -1
  121. data/lib/puppet/provider/package/portage.rb +3 -1
  122. data/lib/puppet/provider/package/ports.rb +3 -3
  123. data/lib/puppet/provider/package/rpm.rb +8 -1
  124. data/lib/puppet/provider/package/rug.rb +2 -2
  125. data/lib/puppet/provider/package/sun.rb +2 -0
  126. data/lib/puppet/provider/package/sunfreeware.rb +3 -0
  127. data/lib/puppet/provider/package/yum.rb +24 -17
  128. data/lib/puppet/provider/package/yumhelper.py +92 -11
  129. data/lib/puppet/provider/parsedfile.rb +0 -0
  130. data/lib/puppet/provider/port/parsed.rb +0 -0
  131. data/lib/puppet/provider/selboolean/getsetsebool.rb +47 -0
  132. data/lib/puppet/provider/selmodule/semodule.rb +143 -0
  133. data/lib/puppet/provider/service/base.rb +0 -0
  134. data/lib/puppet/provider/service/daemontools.rb +154 -0
  135. data/lib/puppet/provider/service/debian.rb +1 -1
  136. data/lib/puppet/provider/service/freebsd.rb +2 -0
  137. data/lib/puppet/provider/service/gentoo.rb +2 -0
  138. data/lib/puppet/provider/service/init.rb +0 -0
  139. data/lib/puppet/provider/service/redhat.rb +1 -1
  140. data/lib/puppet/provider/service/runit.rb +93 -0
  141. data/lib/puppet/provider/service/smf.rb +2 -0
  142. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +7 -1
  143. data/lib/puppet/provider/sshkey/parsed.rb +0 -0
  144. data/lib/puppet/provider/user/hpux.rb +30 -0
  145. data/lib/puppet/provider/user/user_role_add.rb +156 -0
  146. data/lib/puppet/provider/user/useradd.rb +23 -14
  147. data/lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb +17 -0
  148. data/lib/puppet/rails/database/schema.rb +0 -8
  149. data/lib/puppet/rails/resource.rb +6 -6
  150. data/lib/puppet/reference/configuration.rb +0 -7
  151. data/lib/puppet/reports.rb +0 -0
  152. data/lib/puppet/reports/rrdgraph.rb +3 -2
  153. data/lib/puppet/sslcertificates.rb +0 -0
  154. data/lib/puppet/sslcertificates/inventory.rb +3 -2
  155. data/lib/puppet/sslcertificates/support.rb +3 -0
  156. data/lib/puppet/transaction/report.rb +1 -7
  157. data/lib/puppet/transportable.rb +10 -7
  158. data/lib/puppet/type.rb +2110 -14
  159. data/lib/puppet/type/cron.rb +0 -0
  160. data/lib/puppet/type/exec.rb +0 -0
  161. data/lib/puppet/type/file.rb +12 -2
  162. data/lib/puppet/type/file/checksum.rb +4 -0
  163. data/lib/puppet/type/file/content.rb +0 -0
  164. data/lib/puppet/type/file/ensure.rb +0 -0
  165. data/lib/puppet/type/file/group.rb +30 -43
  166. data/lib/puppet/type/file/mode.rb +0 -0
  167. data/lib/puppet/type/file/owner.rb +0 -0
  168. data/lib/puppet/type/file/selcontext.rb +104 -0
  169. data/lib/puppet/type/file/source.rb +0 -0
  170. data/lib/puppet/type/file/type.rb +0 -0
  171. data/lib/puppet/type/filebucket.rb +0 -0
  172. data/lib/puppet/type/group.rb +0 -8
  173. data/lib/puppet/type/host.rb +0 -0
  174. data/lib/puppet/type/mailalias.rb +0 -0
  175. data/lib/puppet/type/maillist.rb +0 -0
  176. data/lib/puppet/type/mount.rb +0 -0
  177. data/lib/puppet/type/package.rb +2 -2
  178. data/lib/puppet/type/port.rb +0 -0
  179. data/lib/puppet/type/schedule.rb +0 -0
  180. data/lib/puppet/type/selboolean.rb +31 -0
  181. data/lib/puppet/type/selmodule.rb +54 -0
  182. data/lib/puppet/type/ssh_authorized_key.rb +3 -3
  183. data/lib/puppet/type/sshkey.rb +0 -0
  184. data/lib/puppet/type/tidy.rb +0 -0
  185. data/lib/puppet/type/user.rb +153 -137
  186. data/lib/puppet/type/yumrepo.rb +18 -2
  187. data/lib/puppet/type/zone.rb +5 -1
  188. data/lib/puppet/util.rb +7 -7
  189. data/lib/puppet/util/filetype.rb +7 -0
  190. data/lib/puppet/util/instance_loader.rb +0 -0
  191. data/lib/puppet/util/ldap/connection.rb +11 -1
  192. data/lib/puppet/util/ldap/manager.rb +1 -1
  193. data/lib/puppet/util/loadedfile.rb +0 -0
  194. data/lib/puppet/util/log.rb +42 -43
  195. data/lib/puppet/util/metric.rb +23 -9
  196. data/lib/puppet/util/posix.rb +69 -18
  197. data/lib/puppet/util/selinux.rb +139 -0
  198. data/lib/puppet/util/settings.rb +5 -7
  199. data/lib/puppet/util/user_attr.rb +21 -0
  200. data/test/certmgr/ca.rb +0 -0
  201. data/test/certmgr/certmgr.rb +0 -0
  202. data/test/certmgr/inventory.rb +0 -0
  203. data/test/certmgr/support.rb +0 -0
  204. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys1 +3 -0
  205. data/test/data/snippets/append.pp +11 -0
  206. data/test/data/snippets/arithmetic_expression.pp +8 -0
  207. data/test/data/snippets/arraytrailingcomma.pp +3 -0
  208. data/test/data/snippets/emptyifelse.pp +9 -0
  209. data/test/data/snippets/funccomma.pp +5 -0
  210. data/test/data/snippets/ifexpression.rb +6 -0
  211. data/test/data/snippets/subclass_name_duplication.pp +0 -0
  212. data/test/executables/filebucket.rb +0 -0
  213. data/test/executables/puppetbin.rb +0 -0
  214. data/test/executables/puppetca.rb +0 -0
  215. data/test/executables/puppetd.rb +0 -0
  216. data/test/executables/puppetmasterd.rb +0 -0
  217. data/test/executables/puppetmodule.rb +0 -0
  218. data/test/language/ast.rb +0 -0
  219. data/test/language/ast/casestatement.rb +0 -0
  220. data/test/language/ast/resource.rb +0 -0
  221. data/test/language/ast/resource_reference.rb +0 -28
  222. data/test/language/ast/selector.rb +0 -0
  223. data/test/language/ast/variable.rb +0 -0
  224. data/test/language/functions.rb +91 -12
  225. data/test/language/parser.rb +21 -0
  226. data/test/language/resource.rb +0 -0
  227. data/test/language/scope.rb +28 -0
  228. data/test/language/snippets.rb +14 -0
  229. data/test/language/transportable.rb +0 -0
  230. data/test/lib/puppettest.rb +0 -0
  231. data/test/lib/puppettest/reporttesting.rb +0 -2
  232. data/test/lib/puppettest/runnable_test.rb +2 -0
  233. data/test/lib/puppettest/support/resources.rb +0 -0
  234. data/test/network/authconfig.rb +0 -0
  235. data/test/network/authorization.rb +0 -0
  236. data/test/network/authstore.rb +0 -0
  237. data/test/network/client/ca.rb +0 -0
  238. data/test/network/client/client.rb +0 -0
  239. data/test/network/client/dipper.rb +0 -0
  240. data/test/network/client/master.rb +2 -6
  241. data/test/network/client/resource.rb +0 -0
  242. data/test/network/client_request.rb +0 -0
  243. data/test/network/daemon.rb +0 -0
  244. data/test/network/handler/bucket.rb +0 -0
  245. data/test/network/handler/ca.rb +0 -0
  246. data/test/network/handler/fileserver.rb +8 -0
  247. data/test/network/handler/handler.rb +0 -0
  248. data/test/network/handler/master.rb +3 -1
  249. data/test/network/handler/report.rb +0 -0
  250. data/test/network/handler/resource.rb +0 -0
  251. data/test/network/handler/runner.rb +0 -0
  252. data/test/network/rights.rb +0 -0
  253. data/test/network/server/mongrel_test.rb +0 -0
  254. data/test/network/server/webrick.rb +0 -0
  255. data/test/network/xmlrpc/client.rb +0 -0
  256. data/test/network/xmlrpc/processor.rb +0 -0
  257. data/test/network/xmlrpc/server.rb +0 -0
  258. data/test/network/xmlrpc/webrick_servlet.rb +0 -0
  259. data/test/other/dsl.rb +0 -0
  260. data/test/other/events.rb +0 -0
  261. data/test/other/overrides.rb +0 -0
  262. data/test/other/provider.rb +0 -0
  263. data/test/other/puppet.rb +0 -0
  264. data/test/other/relationships.rb +0 -0
  265. data/test/other/report.rb +2 -4
  266. data/test/other/transactions.rb +1 -1
  267. data/test/puppet/conffiles.rb +0 -0
  268. data/test/puppet/defaults.rb +0 -0
  269. data/test/puppet/errortest.rb +0 -0
  270. data/test/puppet/tc_suidmanager.rb +0 -0
  271. data/test/rails/ast.rb +0 -0
  272. data/test/rails/configuration.rb +0 -0
  273. data/test/rails/host.rb +0 -0
  274. data/test/rails/rails.rb +0 -0
  275. data/test/rails/railsparameter.rb +0 -0
  276. data/test/rails/railsresource.rb +0 -0
  277. data/test/ral/manager/attributes.rb +0 -0
  278. data/test/ral/manager/instances.rb +0 -0
  279. data/test/ral/manager/manager.rb +0 -0
  280. data/test/ral/manager/provider.rb +0 -0
  281. data/test/ral/manager/type.rb +0 -0
  282. data/test/ral/providers/cron/crontab.rb +0 -0
  283. data/test/ral/providers/group.rb +14 -13
  284. data/test/ral/providers/host/netinfo.rb +0 -0
  285. data/test/ral/providers/host/parsed.rb +0 -0
  286. data/test/ral/providers/mailalias/aliases.rb +0 -0
  287. data/test/ral/providers/mount/netinfo.rb +0 -0
  288. data/test/ral/providers/nameservice.rb +0 -0
  289. data/test/ral/providers/package.rb +0 -31
  290. data/test/ral/providers/package/aptitude.rb +1 -2
  291. data/test/ral/providers/package/aptrpm.rb +2 -2
  292. data/test/ral/providers/parsedfile.rb +0 -0
  293. data/test/ral/providers/port/parsed.rb +0 -0
  294. data/test/ral/providers/provider.rb +0 -0
  295. data/test/ral/providers/service/base.rb +0 -0
  296. data/test/ral/providers/service/debian.rb +0 -0
  297. data/test/ral/providers/sshkey/parsed.rb +0 -0
  298. data/test/ral/providers/user.rb +8 -8
  299. data/test/ral/providers/user/useradd.rb +0 -0
  300. data/test/ral/type/basic.rb +0 -0
  301. data/test/ral/type/cron.rb +0 -0
  302. data/test/ral/type/exec.rb +0 -0
  303. data/test/ral/type/file.rb +0 -0
  304. data/test/ral/type/file/target.rb +0 -0
  305. data/test/ral/type/filebucket.rb +0 -0
  306. data/test/ral/type/fileignoresource.rb +0 -0
  307. data/test/ral/type/filesources.rb +1 -3
  308. data/test/ral/type/group.rb +0 -0
  309. data/test/ral/type/host.rb +0 -0
  310. data/test/ral/type/mailalias.rb +1 -2
  311. data/test/ral/type/parameter.rb +0 -0
  312. data/test/ral/type/port.rb +0 -0
  313. data/test/ral/type/property.rb +0 -0
  314. data/test/ral/type/resources.rb +0 -0
  315. data/test/ral/type/service.rb +0 -0
  316. data/test/ral/type/sshkey.rb +0 -0
  317. data/test/ral/type/tidy.rb +0 -0
  318. data/test/ral/type/user.rb +0 -50
  319. data/test/ral/type/yumrepo.rb +7 -1
  320. data/test/ral/type/zone.rb +0 -0
  321. data/test/test +0 -0
  322. data/test/util/autoload.rb +0 -0
  323. data/test/util/classgen.rb +0 -0
  324. data/test/util/execution.rb +0 -0
  325. data/test/util/features.rb +0 -0
  326. data/test/util/fileparsing.rb +0 -0
  327. data/test/util/filetype.rb +0 -0
  328. data/test/util/inifile.rb +0 -0
  329. data/test/util/instance_loader.rb +0 -0
  330. data/test/util/log.rb +0 -59
  331. data/test/util/metrics.rb +0 -0
  332. data/test/util/package.rb +0 -0
  333. data/test/util/pidlock.rb +0 -0
  334. data/test/util/settings.rb +0 -0
  335. data/test/util/storage.rb +0 -0
  336. data/test/util/subclass_loader.rb +0 -0
  337. data/test/util/utiltest.rb +0 -0
  338. metadata +54 -19
  339. data/lib/puppet/metatype/attributes.rb +0 -685
  340. data/lib/puppet/metatype/closure.rb +0 -49
  341. data/lib/puppet/metatype/container.rb +0 -50
  342. data/lib/puppet/metatype/evaluation.rb +0 -163
  343. data/lib/puppet/metatype/instances.rb +0 -305
  344. data/lib/puppet/metatype/metaparams.rb +0 -423
  345. data/lib/puppet/metatype/providers.rb +0 -247
  346. data/lib/puppet/metatype/relationships.rb +0 -115
  347. data/lib/puppet/metatype/schedules.rb +0 -33
  348. data/lib/puppet/metatype/tags.rb +0 -38
  349. data/lib/puppet/util/plist.rb +0 -23
  350. data/lib/puppet/util/plist/generator.rb +0 -225
  351. data/lib/puppet/util/plist/parser.rb +0 -226
  352. data/test/ral/providers/package/apt.rb +0 -169
  353. data/test/ral/providers/package/dpkg.rb +0 -64
  354. data/test/util/posixtest.rb +0 -169
@@ -0,0 +1,18 @@
1
+ # Test whether a given tag is set. This functions as a big OR -- if any of the specified tags are unset, we return false.
2
+ Puppet::Parser::Functions::newfunction(:tagged, :type => :rvalue, :doc => "A boolean function that
3
+ tells you whether the current container is tagged with the specified tags.
4
+ The tags are ANDed, so that all of the specified tags must be included for
5
+ the function to return true.") do |vals|
6
+ configtags = compiler.catalog.tags
7
+ resourcetags = resource.tags
8
+
9
+ retval = true
10
+ vals.each do |val|
11
+ unless configtags.include?(val) or resourcetags.include?(val)
12
+ retval = false
13
+ break
14
+ end
15
+ end
16
+
17
+ return retval
18
+ end
@@ -0,0 +1,22 @@
1
+ Puppet::Parser::Functions::newfunction(:template, :type => :rvalue, :doc =>
2
+ "Evaluate a template and return its value. See `the templating docs
3
+ </trac/puppet/wiki/PuppetTemplating>`_ for more information. Note that
4
+ if multiple templates are specified, their output is all concatenated
5
+ and returned as the output of the function.") do |vals|
6
+ require 'erb'
7
+
8
+ vals.collect do |file|
9
+ # Use a wrapper, so the template can't get access to the full
10
+ # Scope object.
11
+ debug "Retrieving template %s" % file
12
+ wrapper = Puppet::Parser::TemplateWrapper.new(self, file)
13
+
14
+ begin
15
+ wrapper.result()
16
+ rescue => detail
17
+ raise Puppet::ParseError,
18
+ "Failed to parse template %s: %s" %
19
+ [file, detail]
20
+ end
21
+ end.join("")
22
+ end
@@ -105,6 +105,7 @@ class Puppet::Parser::Lexer
105
105
  '(' => :LPAREN,
106
106
  ')' => :RPAREN,
107
107
  '=' => :EQUALS,
108
+ '+=' => :APPENDS,
108
109
  '==' => :ISEQUAL,
109
110
  '>=' => :GREATEREQUAL,
110
111
  '>' => :GREATERTHAN,
@@ -125,13 +126,23 @@ class Puppet::Parser::Lexer
125
126
  '\\' => :BACKSLASH,
126
127
  '=>' => :FARROW,
127
128
  '+>' => :PARROW,
129
+ '+' => :PLUS,
130
+ '-' => :MINUS,
131
+ '/' => :DIV,
132
+ '*' => :TIMES,
133
+ '<<' => :LSHIFT,
134
+ '>>' => :RSHIFT,
128
135
  %r{([a-z][-\w]*::)+[a-z][-\w]*} => :CLASSNAME,
129
136
  %r{((::){0,1}[A-Z][-\w]*)+} => :CLASSREF
130
137
  )
131
138
 
132
139
  TOKENS.add_tokens "Whatever" => :DQTEXT, "Nomatter" => :SQTEXT, "alsonomatter" => :BOOLEAN
133
140
 
134
- TOKENS.add_token :NAME, %r{[a-z][-\w]*} do |lexer, value|
141
+ TOKENS.add_token :NUMBER, %r{\b(?:0[xX][0-9A-Fa-f]+|0?\d+(?:\.\d+)?(?:[eE]-?\d+)?)\b} do |lexer, value|
142
+ [TOKENS[:NAME], value]
143
+ end
144
+
145
+ TOKENS.add_token :NAME, %r{[a-z0-9][-\w]*} do |lexer, value|
135
146
  string_token = self
136
147
  # we're looking for keywords here
137
148
  if tmp = KEYWORDS.lookup(value)
@@ -144,10 +155,6 @@ class Puppet::Parser::Lexer
144
155
  [string_token, value]
145
156
  end
146
157
 
147
- TOKENS.add_token :NUMBER, %r{[0-9]+} do |lexer, value|
148
- [TOKENS[:NAME], value]
149
- end
150
-
151
158
  TOKENS.add_token :COMMENT, %r{#.*}, :skip => true
152
159
 
153
160
  TOKENS.add_token :RETURN, "\n", :skip => true, :incr_line => true, :skip_text => true
@@ -431,6 +438,9 @@ class Puppet::Parser::Lexer
431
438
  str.gsub!(/\\#{quote}/,quote)
432
439
  end
433
440
 
441
+ # Add to our line count for every carriage return in multi-line strings.
442
+ @line += str.count("\n")
443
+
434
444
  return str
435
445
  end
436
446
 
@@ -29,7 +29,7 @@ module Puppet
29
29
 
30
30
  class Parser < Racc::Parser
31
31
 
32
- module_eval <<'..end grammar.ra modeval..id9145566289', 'grammar.ra', 638
32
+ module_eval <<'..end grammar.ra modeval..id5cb4445525', 'grammar.ra', 741
33
33
 
34
34
  # It got too annoying having code in a file that needs to be compiled.
35
35
  require 'puppet/parser/parser_support'
@@ -41,517 +41,690 @@ require 'puppet/parser/parser_support'
41
41
 
42
42
  # $Id$
43
43
 
44
- ..end grammar.ra modeval..id9145566289
44
+ ..end grammar.ra modeval..id5cb4445525
45
45
 
46
46
  ##### racc 1.4.5 generates ###
47
47
 
48
48
  racc_reduce_table = [
49
49
  0, 0, :racc_error,
50
- 1, 52, :_reduce_1,
51
- 1, 52, :_reduce_none,
52
- 1, 53, :_reduce_none,
53
- 2, 53, :_reduce_4,
54
- 1, 55, :_reduce_none,
55
- 1, 55, :_reduce_none,
56
- 1, 55, :_reduce_none,
57
- 1, 55, :_reduce_none,
58
- 1, 55, :_reduce_none,
59
- 1, 55, :_reduce_none,
60
- 1, 55, :_reduce_none,
61
- 1, 55, :_reduce_none,
62
- 1, 55, :_reduce_none,
63
- 1, 55, :_reduce_none,
64
- 1, 55, :_reduce_none,
65
- 1, 55, :_reduce_none,
66
- 4, 63, :_reduce_17,
67
- 3, 63, :_reduce_18,
68
- 2, 63, :_reduce_19,
69
- 1, 68, :_reduce_none,
70
- 1, 68, :_reduce_none,
71
- 1, 69, :_reduce_none,
72
- 3, 69, :_reduce_23,
73
- 1, 71, :_reduce_none,
74
- 1, 71, :_reduce_none,
75
- 1, 71, :_reduce_none,
76
- 1, 71, :_reduce_none,
77
- 1, 71, :_reduce_none,
78
- 1, 71, :_reduce_none,
79
- 1, 71, :_reduce_none,
80
- 1, 71, :_reduce_31,
81
- 1, 70, :_reduce_none,
82
- 3, 70, :_reduce_33,
83
- 5, 56, :_reduce_34,
84
- 5, 56, :_reduce_35,
85
- 5, 56, :_reduce_36,
86
- 5, 67, :_reduce_37,
87
- 2, 57, :_reduce_38,
88
- 1, 87, :_reduce_39,
89
- 2, 87, :_reduce_40,
90
- 2, 58, :_reduce_41,
91
- 3, 88, :_reduce_42,
92
- 3, 88, :_reduce_43,
93
- 1, 89, :_reduce_none,
94
- 1, 89, :_reduce_none,
95
- 3, 89, :_reduce_46,
96
- 1, 90, :_reduce_none,
97
- 3, 90, :_reduce_48,
98
- 1, 91, :_reduce_none,
99
- 1, 91, :_reduce_none,
100
- 3, 92, :_reduce_51,
101
- 3, 92, :_reduce_52,
102
- 1, 93, :_reduce_none,
103
- 1, 93, :_reduce_none,
104
- 4, 95, :_reduce_55,
105
- 1, 81, :_reduce_none,
106
- 3, 81, :_reduce_57,
107
- 0, 82, :_reduce_none,
108
- 1, 82, :_reduce_none,
109
- 1, 97, :_reduce_60,
110
- 1, 72, :_reduce_61,
111
- 1, 74, :_reduce_62,
112
- 1, 96, :_reduce_none,
113
- 1, 96, :_reduce_none,
114
- 1, 96, :_reduce_none,
50
+ 1, 60, :_reduce_1,
51
+ 1, 60, :_reduce_none,
52
+ 1, 61, :_reduce_none,
53
+ 2, 61, :_reduce_4,
54
+ 1, 63, :_reduce_none,
55
+ 1, 63, :_reduce_none,
56
+ 1, 63, :_reduce_none,
57
+ 1, 63, :_reduce_none,
58
+ 1, 63, :_reduce_none,
59
+ 1, 63, :_reduce_none,
60
+ 1, 63, :_reduce_none,
61
+ 1, 63, :_reduce_none,
62
+ 1, 63, :_reduce_none,
63
+ 1, 63, :_reduce_none,
64
+ 1, 63, :_reduce_none,
65
+ 1, 63, :_reduce_none,
66
+ 1, 63, :_reduce_none,
67
+ 4, 71, :_reduce_18,
68
+ 5, 71, :_reduce_19,
69
+ 3, 71, :_reduce_20,
70
+ 2, 71, :_reduce_21,
71
+ 1, 77, :_reduce_none,
72
+ 1, 77, :_reduce_none,
73
+ 3, 77, :_reduce_24,
74
+ 3, 77, :_reduce_25,
75
+ 1, 78, :_reduce_none,
76
+ 1, 78, :_reduce_none,
77
+ 1, 78, :_reduce_none,
78
+ 1, 78, :_reduce_none,
79
+ 1, 78, :_reduce_none,
80
+ 1, 78, :_reduce_none,
81
+ 1, 78, :_reduce_none,
82
+ 1, 78, :_reduce_33,
83
+ 5, 64, :_reduce_34,
84
+ 5, 64, :_reduce_35,
85
+ 5, 64, :_reduce_36,
86
+ 5, 75, :_reduce_37,
87
+ 2, 65, :_reduce_38,
88
+ 1, 94, :_reduce_39,
89
+ 2, 94, :_reduce_40,
90
+ 2, 66, :_reduce_41,
91
+ 3, 95, :_reduce_42,
92
+ 3, 95, :_reduce_43,
115
93
  1, 96, :_reduce_none,
116
94
  1, 96, :_reduce_none,
117
- 1, 96, :_reduce_none,
118
- 3, 59, :_reduce_69,
119
- 0, 83, :_reduce_70,
120
- 1, 83, :_reduce_71,
121
- 3, 83, :_reduce_72,
122
- 3, 100, :_reduce_73,
123
- 3, 101, :_reduce_74,
124
- 1, 102, :_reduce_none,
125
- 1, 102, :_reduce_none,
126
- 0, 86, :_reduce_77,
127
- 1, 86, :_reduce_78,
128
- 3, 86, :_reduce_79,
95
+ 3, 96, :_reduce_46,
96
+ 1, 97, :_reduce_none,
97
+ 3, 97, :_reduce_48,
98
+ 1, 98, :_reduce_none,
99
+ 1, 98, :_reduce_none,
100
+ 3, 99, :_reduce_51,
101
+ 3, 99, :_reduce_52,
102
+ 1, 100, :_reduce_none,
103
+ 1, 100, :_reduce_none,
104
+ 4, 102, :_reduce_55,
105
+ 1, 88, :_reduce_none,
106
+ 3, 88, :_reduce_57,
107
+ 0, 89, :_reduce_none,
108
+ 1, 89, :_reduce_none,
109
+ 1, 104, :_reduce_60,
110
+ 1, 80, :_reduce_61,
111
+ 1, 82, :_reduce_62,
129
112
  1, 103, :_reduce_none,
130
- 3, 103, :_reduce_81,
131
- 1, 94, :_reduce_none,
132
- 1, 94, :_reduce_none,
133
- 1, 94, :_reduce_none,
134
- 1, 94, :_reduce_none,
135
- 1, 94, :_reduce_none,
136
- 1, 94, :_reduce_none,
137
- 1, 99, :_reduce_none,
138
- 1, 99, :_reduce_none,
139
- 1, 99, :_reduce_none,
140
- 1, 99, :_reduce_none,
141
- 1, 99, :_reduce_none,
142
- 1, 99, :_reduce_none,
143
- 1, 99, :_reduce_none,
144
- 1, 99, :_reduce_none,
145
- 1, 99, :_reduce_none,
146
- 1, 99, :_reduce_none,
147
- 4, 76, :_reduce_98,
148
- 3, 76, :_reduce_99,
149
- 1, 78, :_reduce_100,
150
- 1, 78, :_reduce_101,
151
- 1, 75, :_reduce_102,
152
- 4, 79, :_reduce_103,
153
- 4, 79, :_reduce_104,
154
- 6, 61, :_reduce_105,
155
- 0, 106, :_reduce_none,
156
- 4, 106, :_reduce_107,
157
- 1, 105, :_reduce_none,
158
- 5, 60, :_reduce_109,
159
- 1, 107, :_reduce_none,
160
- 2, 107, :_reduce_111,
161
- 5, 108, :_reduce_112,
162
- 4, 108, :_reduce_113,
163
- 1, 109, :_reduce_none,
164
- 3, 109, :_reduce_115,
165
- 3, 77, :_reduce_116,
166
- 1, 111, :_reduce_none,
167
- 4, 111, :_reduce_118,
168
- 1, 113, :_reduce_none,
169
- 3, 113, :_reduce_120,
170
- 3, 112, :_reduce_121,
171
- 1, 110, :_reduce_none,
172
- 1, 110, :_reduce_none,
173
- 1, 110, :_reduce_none,
174
- 1, 110, :_reduce_none,
175
- 1, 110, :_reduce_none,
113
+ 1, 103, :_reduce_none,
114
+ 1, 103, :_reduce_none,
115
+ 1, 103, :_reduce_none,
116
+ 1, 103, :_reduce_none,
117
+ 1, 103, :_reduce_none,
118
+ 3, 67, :_reduce_69,
119
+ 3, 76, :_reduce_70,
120
+ 0, 90, :_reduce_71,
121
+ 1, 90, :_reduce_72,
122
+ 3, 90, :_reduce_73,
123
+ 3, 107, :_reduce_74,
124
+ 3, 109, :_reduce_75,
176
125
  1, 110, :_reduce_none,
177
126
  1, 110, :_reduce_none,
178
- 1, 110, :_reduce_129,
179
- 1, 114, :_reduce_130,
180
- 3, 114, :_reduce_131,
181
- 2, 62, :_reduce_132,
182
- 6, 64, :_reduce_133,
183
- 5, 64, :_reduce_134,
184
- 6, 65, :_reduce_135,
185
- 5, 65, :_reduce_136,
186
- 6, 66, :_reduce_137,
187
- 5, 66, :_reduce_138,
188
- 1, 85, :_reduce_none,
189
- 1, 80, :_reduce_none,
190
- 1, 80, :_reduce_none,
191
- 1, 117, :_reduce_none,
192
- 3, 117, :_reduce_143,
193
- 1, 119, :_reduce_none,
194
- 1, 119, :_reduce_none,
195
- 1, 119, :_reduce_none,
196
- 1, 119, :_reduce_none,
197
- 0, 54, :_reduce_148,
198
- 0, 120, :_reduce_149,
199
- 1, 115, :_reduce_none,
200
- 3, 115, :_reduce_151,
201
- 3, 115, :_reduce_152,
202
- 1, 121, :_reduce_none,
203
- 3, 121, :_reduce_154,
204
- 3, 122, :_reduce_155,
205
- 1, 122, :_reduce_156,
206
- 3, 122, :_reduce_157,
207
- 1, 122, :_reduce_158,
208
- 1, 118, :_reduce_none,
209
- 2, 118, :_reduce_160,
127
+ 0, 93, :_reduce_78,
128
+ 1, 93, :_reduce_79,
129
+ 3, 93, :_reduce_80,
130
+ 1, 111, :_reduce_none,
131
+ 3, 111, :_reduce_82,
132
+ 1, 101, :_reduce_none,
133
+ 1, 101, :_reduce_none,
134
+ 1, 101, :_reduce_none,
135
+ 1, 101, :_reduce_none,
136
+ 1, 101, :_reduce_none,
137
+ 1, 101, :_reduce_none,
138
+ 1, 108, :_reduce_none,
139
+ 1, 108, :_reduce_none,
140
+ 1, 108, :_reduce_none,
141
+ 1, 108, :_reduce_none,
142
+ 1, 108, :_reduce_none,
143
+ 1, 108, :_reduce_none,
144
+ 1, 108, :_reduce_none,
145
+ 1, 108, :_reduce_none,
146
+ 1, 108, :_reduce_none,
147
+ 1, 108, :_reduce_none,
148
+ 4, 84, :_reduce_99,
149
+ 3, 84, :_reduce_100,
150
+ 1, 86, :_reduce_101,
151
+ 1, 86, :_reduce_102,
152
+ 1, 83, :_reduce_103,
153
+ 4, 79, :_reduce_104,
154
+ 4, 79, :_reduce_105,
155
+ 6, 69, :_reduce_106,
156
+ 5, 69, :_reduce_107,
157
+ 0, 113, :_reduce_none,
158
+ 4, 113, :_reduce_109,
159
+ 3, 113, :_reduce_110,
160
+ 1, 106, :_reduce_none,
161
+ 3, 106, :_reduce_112,
162
+ 3, 106, :_reduce_113,
163
+ 3, 106, :_reduce_114,
164
+ 3, 106, :_reduce_115,
165
+ 3, 106, :_reduce_116,
166
+ 3, 106, :_reduce_117,
167
+ 2, 106, :_reduce_118,
168
+ 3, 106, :_reduce_119,
169
+ 3, 106, :_reduce_120,
170
+ 3, 106, :_reduce_121,
171
+ 3, 106, :_reduce_122,
172
+ 3, 106, :_reduce_123,
173
+ 3, 106, :_reduce_124,
174
+ 2, 106, :_reduce_125,
175
+ 3, 106, :_reduce_126,
176
+ 3, 106, :_reduce_127,
177
+ 3, 106, :_reduce_128,
178
+ 5, 68, :_reduce_129,
179
+ 1, 114, :_reduce_none,
180
+ 2, 114, :_reduce_131,
181
+ 5, 115, :_reduce_132,
182
+ 4, 115, :_reduce_133,
210
183
  1, 116, :_reduce_none,
211
- 2, 116, :_reduce_162,
212
- 1, 123, :_reduce_none,
184
+ 3, 116, :_reduce_135,
185
+ 3, 85, :_reduce_136,
186
+ 1, 118, :_reduce_none,
187
+ 4, 118, :_reduce_138,
188
+ 1, 120, :_reduce_none,
189
+ 3, 120, :_reduce_140,
190
+ 3, 119, :_reduce_141,
191
+ 1, 117, :_reduce_none,
192
+ 1, 117, :_reduce_none,
193
+ 1, 117, :_reduce_none,
194
+ 1, 117, :_reduce_none,
195
+ 1, 117, :_reduce_none,
196
+ 1, 117, :_reduce_none,
197
+ 1, 117, :_reduce_none,
198
+ 1, 117, :_reduce_149,
199
+ 1, 121, :_reduce_150,
200
+ 3, 121, :_reduce_151,
201
+ 2, 70, :_reduce_152,
202
+ 6, 72, :_reduce_153,
203
+ 5, 72, :_reduce_154,
204
+ 6, 73, :_reduce_155,
205
+ 5, 73, :_reduce_156,
206
+ 6, 74, :_reduce_157,
207
+ 5, 74, :_reduce_158,
208
+ 1, 92, :_reduce_none,
209
+ 1, 87, :_reduce_none,
210
+ 1, 87, :_reduce_none,
211
+ 1, 124, :_reduce_none,
212
+ 3, 124, :_reduce_163,
213
+ 1, 126, :_reduce_none,
214
+ 1, 126, :_reduce_none,
215
+ 1, 126, :_reduce_none,
216
+ 1, 126, :_reduce_none,
217
+ 0, 62, :_reduce_168,
218
+ 0, 127, :_reduce_169,
219
+ 1, 122, :_reduce_none,
220
+ 3, 122, :_reduce_171,
221
+ 3, 122, :_reduce_172,
222
+ 1, 128, :_reduce_none,
223
+ 3, 128, :_reduce_174,
224
+ 3, 129, :_reduce_175,
225
+ 1, 129, :_reduce_176,
226
+ 3, 129, :_reduce_177,
227
+ 1, 129, :_reduce_178,
228
+ 1, 125, :_reduce_none,
229
+ 2, 125, :_reduce_180,
213
230
  1, 123, :_reduce_none,
214
- 1, 73, :_reduce_165,
215
- 3, 98, :_reduce_166,
216
- 2, 98, :_reduce_167,
217
- 1, 104, :_reduce_none,
218
- 1, 104, :_reduce_none,
219
- 0, 84, :_reduce_none,
220
- 1, 84, :_reduce_171 ]
221
-
222
- racc_reduce_n = 172
223
-
224
- racc_shift_n = 276
231
+ 2, 123, :_reduce_182,
232
+ 1, 130, :_reduce_none,
233
+ 1, 130, :_reduce_none,
234
+ 1, 81, :_reduce_185,
235
+ 3, 105, :_reduce_186,
236
+ 4, 105, :_reduce_187,
237
+ 2, 105, :_reduce_188,
238
+ 1, 112, :_reduce_none,
239
+ 1, 112, :_reduce_none,
240
+ 0, 91, :_reduce_none,
241
+ 1, 91, :_reduce_192 ]
242
+
243
+ racc_reduce_n = 193
244
+
245
+ racc_shift_n = 317
225
246
 
226
247
  racc_action_table = [
227
- 71, 51, 53, 184, 162, 102, 71, 51, 53, 132,
228
- 149, 5, 209, 47, -127, 87, 71, 51, 53, 88,
229
- 208, 65, 71, 51, 53, 162, 144, 34, 35, 99,
230
- 65, 89, 126, -127, 50, 54, 65, 126, 59, -123,
231
- 50, 54, 207, 45, 59, 161, 65, 56, -126, 45,
232
- 50, 54, 65, 56, 59, 90, 50, 54, 185, 45,
233
- 59, 36, 169, 56, 37, 45, 71, 51, 53, 56,
234
- 204, 206, 47, 51, 53, 200, 149, 51, 53, 33,
235
- 199, -122, 71, 51, 53, 238, 1, 65, 71, 51,
236
- 53, 67, 144, 34, 35, 87, 65, 237, 234, -123,
237
- 50, 54, 65, 200, 59, 233, 50, 54, 199, 45,
238
- 59, 252, 65, 56, 43, 45, 50, 54, 65, 56,
239
- 59, 33, 50, 54, 156, 45, 59, 36, 1, 56,
240
- 37, 45, 71, 51, 53, 56, 204, 206, 71, 51,
241
- 53, 149, 149, 34, 35, 188, 259, 196, 71, 51,
242
- 53, -125, 65, 65, 71, 51, 53, 144, 144, 51,
243
- 53, 202, 65, 162, 33, 168, 50, 54, 65, 137,
244
- 59, 1, 50, 54, 168, 45, 59, 36, 65, 56,
245
- 37, 45, 50, 174, 65, 56, 59, -122, 50, 54,
246
- 165, 111, 59, -125, -122, 56, 127, 45, 71, 51,
247
- 53, 56, 33, 211, 71, 51, 53, 204, 206, 1,
248
- 5, 135, 218, 186, 71, 51, 53, 188, 189, 106,
249
- 125, 51, 53, 221, 222, 231, 140, 140, 65, 225,
250
- 126, -124, 50, 54, 65, 228, 59, 47, 50, 54,
251
- -139, 45, 59, 123, 65, 56, 106, 45, 50, 112,
252
- 65, 56, 59, -124, 50, 174, 134, 111, 59, 51,
253
- 53, 56, 164, 111, 239, 51, 53, 56, 240, 241,
254
- 242, -124, 96, 140, -126, 51, 53, 93, 179, 168,
255
- 91, 51, 53, 159, 181, 260, 262, 85, 65, 157,
256
- 88, 133, 50, 174, 65, 41, 59, -124, 50, 54,
257
- 128, 111, 59, -122, 65, 56, 43, 45, 50, 174,
258
- 65, 56, 59, -125, 50, 54, -123, 111, 59, 51,
259
- 53, 56, 43, 45, -127, 51, 53, 56, 176, 40,
260
- 269, -171, 270, -128, -123, 51, 53, 152, -125, nil,
261
- nil, 51, 53, nil, nil, nil, nil, nil, 65, nil,
262
- nil, nil, 50, 174, 65, nil, 59, nil, 50, 174,
263
- 43, 111, 59, nil, 65, 56, nil, 111, 50, 174,
264
- 65, 56, 59, 254, 50, 174, nil, 111, 59, 51,
265
- 53, 56, nil, 111, nil, 51, 53, 56, nil, nil,
266
- nil, nil, nil, 15, nil, 19, 21, nil, 28, 2,
267
- nil, 8, nil, 13, nil, 17, nil, 22, 65, nil,
268
- 1, 5, 50, 174, 65, 264, 59, nil, 50, 174,
269
- nil, 111, 59, nil, nil, 56, nil, 111, nil, nil,
270
- nil, 56, nil, nil, 271, 15, nil, 19, 21, nil,
271
- 28, 2, nil, 8, nil, 13, nil, 17, nil, 22,
272
- nil, nil, 1, 5, 15, 212, 19, 21, nil, 28,
273
- 2, nil, 8, nil, 13, nil, 17, nil, 22, nil,
274
- nil, 1, 5, nil, 230, 15, nil, 19, 21, nil,
275
- 28, 2, nil, 8, nil, 13, nil, 17, nil, 22,
276
- nil, nil, 1, 5, 15, 253, 19, 21, nil, 28,
277
- 2, nil, 8, nil, 13, nil, 17, nil, 22, nil,
278
- nil, 1, 5, nil, 214, 15, nil, 19, 21, nil,
279
- 28, 2, nil, 8, nil, 13, nil, 17, nil, 22,
280
- nil, nil, 1, 5, 15, 274, 19, 21, nil, 28,
281
- 2, nil, 8, nil, 13, nil, 17, nil, 22, nil,
282
- nil, 1, 5, nil, 235, 15, nil, 19, 21, nil,
283
- 28, 2, nil, 8, nil, 13, nil, 17, nil, 22,
284
- nil, nil, 1, 5, 15, 275, 19, 21, nil, 28,
285
- 2, nil, 8, nil, 13, nil, 17, nil, 22, nil,
286
- nil, 1, 5, nil, nil, 15, nil, 19, 21, nil,
287
- 28, 2, nil, 8, nil, 13, nil, 17, nil, 22,
288
- nil, nil, 1, 5, 15, nil, 19, 21, nil, 28,
289
- 2, nil, 8, nil, 13, nil, 17, nil, 22, nil,
290
- nil, 1, 5, 15, nil, 19, 21, nil, 28, 2,
291
- nil, 8, nil, 13, nil, 17, nil, 22, nil, nil,
292
- 1, 5, 15, nil, 19, 21, nil, 28, 2, nil,
293
- 8, nil, 13, nil, 17, nil, 22, nil, nil, 1,
294
- 5, 15, nil, 19, 21, nil, 28, 2, nil, 8,
295
- nil, 13, nil, 17, nil, 22, nil, nil, 1, 5 ]
248
+ 75, 57, 61, 260, 179, 38, 40, 35, 44, 196,
249
+ 54, 287, 45, 239, 3, 6, 187, 298, 240, -145,
250
+ 74, 75, 57, 61, 286, 47, 38, 40, 194, 195,
251
+ 132, 49, 38, 40, 112, 60, 64, 194, 195, 70,
252
+ 41, 74, 149, 43, 55, 77, 178, 118, 66, 48,
253
+ 141, 87, 49, 75, 57, 61, 60, 64, 49, 109,
254
+ 70, 41, 253, 123, 43, 55, 77, 41, 105, 66,
255
+ 43, -146, 87, 74, 75, 57, 61, 202, 151, 152,
256
+ 153, 139, 140, 142, 49, 282, 128, 133, 60, 64,
257
+ 201, 239, 70, 281, 74, 149, 240, 55, 77, 271,
258
+ 118, 66, 179, 141, 87, 49, 75, 57, 61, 60,
259
+ 64, 49, 193, 70, 35, 132, 123, 174, 55, 77,
260
+ 192, 3, 66, 35, 258, 87, 74, 75, 57, 61,
261
+ 3, 151, 152, 153, 139, 140, 142, 49, 116, 35,
262
+ 155, 60, 64, 153, 139, 70, 3, 74, 149, -147,
263
+ 55, 77, -143, 118, 66, 156, 141, 87, 49, 75,
264
+ 57, 61, 60, 64, 49, 157, 70, 153, 139, 123,
265
+ 134, 55, 77, 57, 61, 66, 33, 34, 87, 74,
266
+ 75, 57, 61, 132, 151, 152, 153, 139, 140, 142,
267
+ 49, -145, 203, 274, 60, 64, 187, 188, 70, 275,
268
+ 74, 149, -142, 55, 77, -144, 118, 66, 45, 141,
269
+ 87, 49, 75, 57, 61, 60, 64, 49, 44, 70,
270
+ 57, 61, 123, -142, 55, 77, -159, 128, 66, 177,
271
+ 181, 87, 74, 75, 57, 61, -143, 151, 152, 153,
272
+ 139, 140, 142, 49, 116, 198, 278, 60, 64, 194,
273
+ 195, 70, 248, 74, 186, -145, 55, 77, 187, 188,
274
+ 66, 216, 183, 87, 49, 187, 217, -142, 60, 64,
275
+ 150, 283, 70, 151, 152, 153, 139, 55, 77, 145,
276
+ 149, 66, 284, 285, 87, 190, 105, 290, 141, 143,
277
+ 146, 148, 101, 190, 75, 57, 61, 151, 152, 153,
278
+ 139, 140, 142, 151, 152, 153, 139, 140, 142, 116,
279
+ 98, 97, 144, 147, 74, -142, 151, 152, 153, 139,
280
+ 140, 142, -144, -143, -147, 49, 75, 57, 61, 60,
281
+ 64, -144, 246, 70, 151, 152, 153, 139, 55, 77,
282
+ 244, 278, 66, 301, 302, 87, 74, 75, 57, 61,
283
+ -144, 179, -145, -148, 73, 190, -143, 49, 310, -192,
284
+ 37, 60, 64, -147, -146, 70, 292, 74, nil, nil,
285
+ 55, 77, nil, nil, 66, nil, nil, 87, 49, 75,
286
+ 57, 61, 60, 64, nil, nil, 70, nil, nil, nil,
287
+ nil, 55, 77, nil, nil, 66, nil, nil, 87, 74,
288
+ 75, 57, 61, nil, nil, nil, nil, nil, nil, nil,
289
+ 49, nil, nil, nil, 60, 64, nil, nil, 70, nil,
290
+ 74, nil, nil, 55, 77, nil, nil, 66, nil, nil,
291
+ 87, 49, 75, 57, 61, 60, 64, nil, nil, 70,
292
+ nil, nil, nil, nil, 55, 77, nil, nil, 66, nil,
293
+ nil, 87, 74, 75, 57, 61, nil, nil, nil, nil,
294
+ nil, nil, nil, 49, nil, nil, nil, 60, 64, nil,
295
+ nil, 70, nil, 74, nil, nil, 55, 77, nil, nil,
296
+ 66, nil, nil, 87, 49, 75, 57, 61, 60, 64,
297
+ nil, nil, 70, nil, nil, nil, nil, 55, 77, nil,
298
+ nil, 66, nil, nil, 87, 74, 75, 57, 61, nil,
299
+ nil, nil, nil, nil, nil, nil, 49, 75, 57, 61,
300
+ 60, 64, nil, nil, 70, nil, 74, nil, nil, 55,
301
+ 77, nil, nil, 66, nil, nil, 87, 49, 75, 57,
302
+ 61, 60, 64, nil, nil, 70, nil, nil, 49, nil,
303
+ 55, 77, 60, 64, 66, nil, 70, 87, 74, nil,
304
+ nil, 55, nil, nil, nil, 66, nil, nil, nil, 49,
305
+ 54, 57, 61, 60, 64, nil, nil, 70, nil, nil,
306
+ nil, nil, 55, 77, nil, nil, 66, nil, nil, 87,
307
+ 51, 75, 57, 61, nil, nil, nil, 75, 57, 61,
308
+ nil, 49, nil, nil, nil, 60, 64, nil, nil, 70,
309
+ nil, nil, nil, 52, 55, 75, 57, 61, 66, nil,
310
+ nil, nil, 49, nil, nil, nil, 60, 168, 49, nil,
311
+ 70, nil, 60, 209, nil, 161, 70, nil, nil, 66,
312
+ nil, 161, nil, nil, nil, 66, 49, nil, nil, nil,
313
+ 60, 64, nil, nil, 70, 75, 57, 61, 137, 55,
314
+ nil, nil, nil, 66, nil, 75, 57, 61, nil, nil,
315
+ nil, 75, 57, 61, nil, nil, nil, nil, nil, nil,
316
+ nil, 75, 57, 61, nil, nil, 49, 75, 57, 61,
317
+ 60, 64, nil, nil, 70, nil, 49, nil, nil, 55,
318
+ 60, 64, 49, 66, 70, nil, 60, 64, nil, 55,
319
+ 70, nil, 49, 66, nil, 55, 60, 64, 49, 66,
320
+ 70, nil, 60, 64, nil, 55, 70, nil, nil, 66,
321
+ nil, 55, 75, 57, 61, 66, nil, nil, 75, 57,
322
+ 61, nil, nil, nil, nil, nil, nil, nil, 75, 57,
323
+ 61, nil, nil, nil, nil, 57, 61, nil, nil, nil,
324
+ nil, nil, nil, 49, nil, 57, 61, 60, 64, 49,
325
+ nil, 70, nil, 60, 64, nil, 55, 70, nil, 49,
326
+ 66, nil, 55, 60, 64, 49, 66, 70, nil, 60,
327
+ 209, nil, 55, 70, nil, 49, 66, nil, 161, 60,
328
+ 209, nil, 66, 70, 57, 61, 57, 61, 161, nil,
329
+ nil, nil, 66, nil, nil, nil, nil, nil, nil, nil,
330
+ 57, 61, 57, 61, 270, nil, nil, nil, nil, nil,
331
+ nil, nil, nil, nil, 49, nil, 49, nil, 60, 64,
332
+ 60, 209, 70, nil, 70, nil, 52, 55, nil, 161,
333
+ 49, 66, 49, 66, 60, 209, 60, 64, 70, nil,
334
+ 70, 57, 61, 161, 52, 55, nil, 66, nil, 66,
335
+ nil, 57, 61, nil, nil, 280, nil, 57, 61, nil,
336
+ nil, 130, nil, nil, nil, nil, nil, 57, 61, nil,
337
+ nil, 49, nil, nil, nil, 60, 64, 57, 61, 70,
338
+ 210, 49, nil, 52, 55, 60, 209, 49, 66, 70,
339
+ nil, 60, 209, nil, 161, 70, nil, 49, 66, nil,
340
+ 161, 60, 209, nil, 66, 70, nil, 49, 57, 61,
341
+ 161, 60, 209, nil, 66, 70, nil, nil, nil, nil,
342
+ 161, nil, nil, nil, 66, 145, 149, nil, 205, nil,
343
+ nil, nil, nil, nil, 141, 143, 146, 148, 49, nil,
344
+ nil, nil, 60, 64, nil, nil, 70, nil, nil, nil,
345
+ 52, 55, nil, nil, nil, 66, nil, nil, 144, 147,
346
+ 145, 149, 151, 152, 153, 139, 140, 142, 215, 141,
347
+ 143, 146, 148, 145, 149, nil, nil, nil, nil, nil,
348
+ nil, nil, 141, 143, 146, 148, nil, nil, nil, nil,
349
+ nil, nil, nil, 144, 147, 145, 149, 151, 152, 153,
350
+ 139, 140, 142, nil, 141, 143, 146, 148, 145, 149,
351
+ 151, 152, 153, 139, 140, 142, nil, 141, 143, 146,
352
+ 148, nil, nil, nil, nil, nil, nil, nil, nil, 147,
353
+ 289, nil, 151, 152, 153, 139, 140, 142, nil, nil,
354
+ nil, 144, 147, nil, nil, 151, 152, 153, 139, 140,
355
+ 142, 16, 294, 23, 26, nil, 1, 4, nil, 9,
356
+ nil, 13, nil, 20, nil, 27, nil, nil, 3, 6,
357
+ nil, 295, nil, 16, nil, 23, 26, nil, 1, 4,
358
+ nil, 9, nil, 13, nil, 20, nil, 27, nil, nil,
359
+ 3, 6, 16, 276, 23, 26, nil, 1, 4, nil,
360
+ 9, nil, 13, nil, 20, nil, 27, nil, nil, 3,
361
+ 6, nil, 307, nil, 16, nil, 23, 26, nil, 1,
362
+ 4, nil, 9, nil, 13, nil, 20, nil, 27, nil,
363
+ nil, 3, 6, 16, 230, 23, 26, nil, 1, 4,
364
+ nil, 9, nil, 13, nil, 20, nil, 27, nil, nil,
365
+ 3, 6, nil, 312, nil, 16, nil, 23, 26, nil,
366
+ 1, 4, nil, 9, nil, 13, nil, 20, nil, 27,
367
+ nil, nil, 3, 6, 16, 314, 23, 26, nil, 1,
368
+ 4, nil, 9, nil, 13, nil, 20, nil, 27, nil,
369
+ nil, 3, 6, nil, 256, nil, 16, nil, 23, 26,
370
+ nil, 1, 4, nil, 9, nil, 13, nil, 20, nil,
371
+ 27, nil, nil, 3, 6, 16, 315, 23, 26, nil,
372
+ 1, 4, nil, 9, nil, 13, nil, 20, nil, 27,
373
+ nil, nil, 3, 6, nil, 250, nil, 16, nil, 23,
374
+ 26, nil, 1, 4, nil, 9, nil, 13, nil, 20,
375
+ nil, 27, nil, nil, 3, 6, 16, 316, 23, 26,
376
+ nil, 1, 4, nil, 9, nil, 13, nil, 20, nil,
377
+ 27, nil, nil, 3, 6, nil, nil, nil, 16, nil,
378
+ 23, 26, nil, 1, 4, nil, 9, nil, 13, nil,
379
+ 20, nil, 27, nil, nil, 3, 6, 16, nil, 23,
380
+ 26, nil, 1, 4, nil, 9, nil, 13, nil, 20,
381
+ nil, 27, nil, nil, 3, 6, 16, nil, 23, 26,
382
+ nil, 1, 4, nil, 9, nil, 13, nil, 20, nil,
383
+ 27, nil, nil, 3, 6 ]
296
384
 
297
385
  racc_action_check = [
298
- 93, 93, 93, 127, 106, 38, 71, 71, 71, 71,
299
- 90, 127, 146, 54, 78, 23, 87, 87, 87, 23,
300
- 146, 90, 161, 161, 161, 112, 90, 102, 102, 38,
301
- 93, 23, 54, 64, 93, 93, 71, 112, 93, 62,
302
- 71, 71, 142, 93, 71, 106, 87, 93, 66, 71,
303
- 87, 87, 161, 71, 87, 23, 161, 161, 129, 87,
304
- 161, 102, 119, 87, 102, 161, 240, 240, 240, 161,
305
- 142, 142, 13, 13, 13, 238, 149, 135, 135, 2,
306
- 238, 74, 15, 15, 15, 197, 2, 149, 17, 17,
307
- 17, 13, 149, 99, 99, 61, 240, 197, 194, 118,
308
- 240, 240, 13, 137, 240, 194, 13, 13, 137, 240,
309
- 13, 210, 15, 240, 13, 13, 15, 15, 17, 13,
310
- 15, 96, 17, 17, 96, 15, 17, 99, 96, 15,
311
- 99, 17, 239, 239, 239, 17, 210, 210, 162, 162,
312
- 162, 89, 205, 8, 8, 227, 227, 136, 165, 165,
313
- 165, 116, 89, 205, 47, 47, 47, 89, 205, 19,
314
- 19, 139, 239, 140, 21, 141, 239, 239, 162, 84,
315
- 239, 21, 162, 162, 115, 239, 162, 8, 165, 239,
316
- 8, 162, 165, 165, 47, 162, 165, 114, 47, 47,
317
- 113, 165, 47, 60, 58, 165, 55, 47, 225, 225,
318
- 225, 47, 29, 151, 187, 187, 187, 151, 151, 29,
319
- 29, 83, 163, 131, 41, 41, 41, 131, 131, 164,
320
- 52, 192, 192, 166, 167, 192, 168, 169, 225, 170,
321
- 174, 46, 225, 225, 187, 182, 225, 184, 187, 187,
322
- 45, 225, 187, 42, 41, 225, 40, 187, 41, 41,
323
- 192, 187, 41, 110, 192, 192, 81, 41, 192, 208,
324
- 208, 41, 107, 192, 199, 126, 126, 192, 200, 201,
325
- 203, 70, 32, 88, 79, 209, 209, 28, 124, 224,
326
- 25, 67, 67, 100, 126, 230, 233, 22, 208, 97,
327
- 95, 73, 208, 208, 126, 11, 208, 245, 126, 126,
328
- 67, 208, 126, 246, 209, 208, 126, 126, 209, 209,
329
- 67, 126, 209, 248, 67, 67, 249, 209, 67, 125,
330
- 125, 209, 67, 67, 250, 123, 123, 67, 123, 9,
331
- 258, 259, 260, 77, 76, 176, 176, 91, 75, nil,
332
- nil, 134, 134, nil, nil, nil, nil, nil, 125, nil,
333
- nil, nil, 125, 125, 123, nil, 125, nil, 123, 123,
334
- 125, 125, 123, nil, 176, 125, nil, 123, 176, 176,
335
- 134, 123, 176, 215, 134, 134, nil, 176, 134, 234,
336
- 234, 176, nil, 134, nil, 257, 257, 134, nil, nil,
337
- nil, nil, nil, 215, nil, 215, 215, nil, 215, 215,
338
- nil, 215, nil, 215, nil, 215, nil, 215, 234, nil,
339
- 215, 215, 234, 234, 257, 236, 234, nil, 257, 257,
340
- nil, 234, 257, nil, nil, 234, nil, 257, nil, nil,
341
- nil, 257, nil, nil, 262, 236, nil, 236, 236, nil,
342
- 236, 236, nil, 236, nil, 236, nil, 236, nil, 236,
343
- nil, nil, 236, 236, 262, 157, 262, 262, nil, 262,
344
- 262, nil, 262, nil, 262, nil, 262, nil, 262, nil,
345
- nil, 262, 262, nil, 190, 157, nil, 157, 157, nil,
346
- 157, 157, nil, 157, nil, 157, nil, 157, nil, 157,
347
- nil, nil, 157, 157, 190, 213, 190, 190, nil, 190,
348
- 190, nil, 190, nil, 190, nil, 190, nil, 190, nil,
349
- nil, 190, 190, nil, 159, 213, nil, 213, 213, nil,
350
- 213, 213, nil, 213, nil, 213, nil, 213, nil, 213,
351
- nil, nil, 213, 213, 159, 272, 159, 159, nil, 159,
352
- 159, nil, 159, nil, 159, nil, 159, nil, 159, nil,
353
- nil, 159, 159, nil, 196, 272, nil, 272, 272, nil,
354
- 272, 272, nil, 272, nil, 272, nil, 272, nil, 272,
355
- nil, nil, 272, 272, 196, 273, 196, 196, nil, 196,
356
- 196, nil, 196, nil, 196, nil, 196, nil, 196, nil,
357
- nil, 196, 196, nil, nil, 273, nil, 273, 273, nil,
358
- 273, 273, nil, 273, nil, 273, nil, 273, nil, 273,
359
- nil, nil, 273, 273, 133, nil, 133, 133, nil, 133,
360
- 133, nil, 133, nil, 133, nil, 133, nil, 133, nil,
361
- nil, 133, 133, 270, nil, 270, 270, nil, 270, 270,
362
- nil, 270, nil, 270, nil, 270, nil, 270, nil, nil,
363
- 270, 270, 27, nil, 27, 27, nil, 27, 27, nil,
364
- 27, nil, 27, nil, 27, nil, 27, nil, nil, 27,
365
- 27, 0, nil, 0, 0, nil, 0, 0, nil, 0,
366
- nil, 0, nil, 0, nil, 0, nil, nil, 0, 0 ]
386
+ 34, 34, 34, 191, 105, 112, 112, 17, 11, 125,
387
+ 64, 242, 11, 287, 17, 17, 273, 273, 287, 263,
388
+ 34, 153, 153, 153, 242, 11, 9, 9, 191, 191,
389
+ 64, 34, 109, 109, 39, 34, 34, 125, 125, 34,
390
+ 112, 153, 222, 112, 34, 34, 105, 48, 34, 11,
391
+ 222, 34, 153, 139, 139, 139, 153, 153, 48, 39,
392
+ 153, 9, 180, 48, 9, 153, 153, 109, 181, 153,
393
+ 109, 69, 153, 139, 140, 140, 140, 129, 222, 222,
394
+ 222, 222, 222, 222, 139, 236, 204, 68, 139, 139,
395
+ 129, 157, 139, 236, 140, 227, 157, 139, 139, 204,
396
+ 197, 139, 168, 227, 139, 140, 151, 151, 151, 140,
397
+ 140, 197, 120, 140, 101, 168, 197, 101, 140, 140,
398
+ 120, 101, 140, 26, 189, 140, 151, 141, 141, 141,
399
+ 26, 227, 227, 227, 227, 227, 227, 151, 190, 4,
400
+ 93, 151, 151, 232, 232, 151, 4, 141, 225, 67,
401
+ 151, 151, 65, 118, 151, 94, 225, 151, 141, 77,
402
+ 77, 77, 141, 141, 118, 96, 141, 231, 231, 118,
403
+ 73, 141, 141, 23, 23, 141, 1, 1, 141, 77,
404
+ 142, 142, 142, 209, 225, 225, 225, 225, 225, 225,
405
+ 77, 62, 131, 211, 77, 77, 131, 131, 77, 217,
406
+ 142, 224, 78, 77, 77, 173, 47, 77, 90, 224,
407
+ 77, 142, 16, 16, 16, 142, 142, 47, 59, 142,
408
+ 156, 156, 47, 58, 142, 142, 55, 50, 142, 102,
409
+ 106, 142, 16, 74, 74, 74, 167, 224, 224, 224,
410
+ 224, 224, 224, 16, 45, 127, 230, 16, 16, 127,
411
+ 127, 16, 166, 74, 113, 165, 16, 16, 113, 113,
412
+ 16, 136, 110, 16, 74, 136, 136, 163, 74, 74,
413
+ 84, 239, 74, 221, 221, 221, 221, 74, 74, 84,
414
+ 84, 74, 240, 241, 74, 162, 37, 245, 84, 84,
415
+ 84, 84, 36, 115, 87, 87, 87, 220, 220, 220,
416
+ 220, 220, 220, 228, 228, 228, 228, 228, 228, 248,
417
+ 30, 27, 84, 84, 87, 262, 84, 84, 84, 84,
418
+ 84, 84, 72, 264, 265, 87, 149, 149, 149, 87,
419
+ 87, 267, 160, 87, 219, 219, 219, 219, 87, 87,
420
+ 158, 276, 87, 278, 281, 87, 149, 148, 148, 148,
421
+ 89, 116, 79, 80, 15, 293, 81, 149, 297, 298,
422
+ 7, 149, 149, 83, 85, 149, 247, 148, nil, nil,
423
+ 149, 149, nil, nil, 149, nil, nil, 149, 148, 143,
424
+ 143, 143, 148, 148, nil, nil, 148, nil, nil, nil,
425
+ nil, 148, 148, nil, nil, 148, nil, nil, 148, 143,
426
+ 144, 144, 144, nil, nil, nil, nil, nil, nil, nil,
427
+ 143, nil, nil, nil, 143, 143, nil, nil, 143, nil,
428
+ 144, nil, nil, 143, 143, nil, nil, 143, nil, nil,
429
+ 143, 144, 33, 33, 33, 144, 144, nil, nil, 144,
430
+ nil, nil, nil, nil, 144, 144, nil, nil, 144, nil,
431
+ nil, 144, 33, 152, 152, 152, nil, nil, nil, nil,
432
+ nil, nil, nil, 33, nil, nil, nil, 33, 33, nil,
433
+ nil, 33, nil, 152, nil, nil, 33, 33, nil, nil,
434
+ 33, nil, nil, 33, 152, 147, 147, 147, 152, 152,
435
+ nil, nil, 152, nil, nil, nil, nil, 152, 152, nil,
436
+ nil, 152, nil, nil, 152, 147, 146, 146, 146, nil,
437
+ nil, nil, nil, nil, nil, nil, 147, 44, 44, 44,
438
+ 147, 147, nil, nil, 147, nil, 146, nil, nil, 147,
439
+ 147, nil, nil, 147, nil, nil, 147, 146, 145, 145,
440
+ 145, 146, 146, nil, nil, 146, nil, nil, 44, nil,
441
+ 146, 146, 44, 44, 146, nil, 44, 146, 145, nil,
442
+ nil, 44, nil, nil, nil, 44, nil, nil, nil, 145,
443
+ 13, 13, 13, 145, 145, nil, nil, 145, nil, nil,
444
+ nil, nil, 145, 145, nil, nil, 145, nil, nil, 145,
445
+ 13, 98, 98, 98, nil, nil, nil, 246, 246, 246,
446
+ nil, 13, nil, nil, nil, 13, 13, nil, nil, 13,
447
+ nil, nil, nil, 13, 13, 274, 274, 274, 13, nil,
448
+ nil, nil, 98, nil, nil, nil, 98, 98, 246, nil,
449
+ 98, nil, 246, 246, nil, 98, 246, nil, nil, 98,
450
+ nil, 246, nil, nil, nil, 246, 274, nil, nil, nil,
451
+ 274, 274, nil, nil, 274, 75, 75, 75, 75, 274,
452
+ nil, nil, nil, 274, nil, 54, 54, 54, nil, nil,
453
+ nil, 284, 284, 284, nil, nil, nil, nil, nil, nil,
454
+ nil, 178, 178, 178, nil, nil, 75, 20, 20, 20,
455
+ 75, 75, nil, nil, 75, nil, 54, nil, nil, 75,
456
+ 54, 54, 284, 75, 54, nil, 284, 284, nil, 54,
457
+ 284, nil, 178, 54, nil, 284, 178, 178, 20, 284,
458
+ 178, nil, 20, 20, nil, 178, 20, nil, nil, 178,
459
+ nil, 20, 179, 179, 179, 20, nil, nil, 283, 283,
460
+ 283, nil, nil, nil, nil, nil, nil, nil, 185, 185,
461
+ 185, nil, nil, nil, nil, 193, 193, nil, nil, nil,
462
+ nil, nil, nil, 179, nil, 192, 192, 179, 179, 283,
463
+ nil, 179, nil, 283, 283, nil, 179, 283, nil, 185,
464
+ 179, nil, 283, 185, 185, 193, 283, 185, nil, 193,
465
+ 193, nil, 185, 193, nil, 192, 185, nil, 193, 192,
466
+ 192, nil, 193, 192, 202, 202, 210, 210, 192, nil,
467
+ nil, nil, 192, nil, nil, nil, nil, nil, nil, nil,
468
+ 282, 282, 128, 128, 202, nil, nil, nil, nil, nil,
469
+ nil, nil, nil, nil, 202, nil, 210, nil, 202, 202,
470
+ 210, 210, 202, nil, 210, nil, 202, 202, nil, 210,
471
+ 282, 202, 128, 210, 282, 282, 128, 128, 282, nil,
472
+ 128, 51, 51, 282, 128, 128, nil, 282, nil, 128,
473
+ nil, 234, 234, nil, nil, 234, nil, 296, 296, nil,
474
+ nil, 51, nil, nil, nil, nil, nil, 155, 155, nil,
475
+ nil, 51, nil, nil, nil, 51, 51, 133, 133, 51,
476
+ 133, 234, nil, 51, 51, 234, 234, 296, 51, 234,
477
+ nil, 296, 296, nil, 234, 296, nil, 155, 234, nil,
478
+ 296, 155, 155, nil, 296, 155, nil, 133, 132, 132,
479
+ 155, 133, 133, nil, 155, 133, nil, nil, nil, nil,
480
+ 133, nil, nil, nil, 133, 100, 100, nil, 132, nil,
481
+ nil, nil, nil, nil, 100, 100, 100, 100, 132, nil,
482
+ nil, nil, 132, 132, nil, nil, 132, nil, nil, nil,
483
+ 132, 132, nil, nil, nil, 132, nil, nil, 100, 100,
484
+ 135, 135, 100, 100, 100, 100, 100, 100, 135, 135,
485
+ 135, 135, 135, 226, 226, nil, nil, nil, nil, nil,
486
+ nil, nil, 226, 226, 226, 226, nil, nil, nil, nil,
487
+ nil, nil, nil, 135, 135, 223, 223, 135, 135, 135,
488
+ 135, 135, 135, nil, 223, 223, 223, 223, 99, 99,
489
+ 226, 226, 226, 226, 226, 226, nil, 99, 99, 99,
490
+ 99, nil, nil, nil, nil, nil, nil, nil, nil, 223,
491
+ 244, nil, 223, 223, 223, 223, 223, 223, nil, nil,
492
+ nil, 99, 99, nil, nil, 99, 99, 99, 99, 99,
493
+ 99, 244, 249, 244, 244, nil, 244, 244, nil, 244,
494
+ nil, 244, nil, 244, nil, 244, nil, nil, 244, 244,
495
+ nil, 255, nil, 249, nil, 249, 249, nil, 249, 249,
496
+ nil, 249, nil, 249, nil, 249, nil, 249, nil, nil,
497
+ 249, 249, 255, 229, 255, 255, nil, 255, 255, nil,
498
+ 255, nil, 255, nil, 255, nil, 255, nil, nil, 255,
499
+ 255, nil, 288, nil, 229, nil, 229, 229, nil, 229,
500
+ 229, nil, 229, nil, 229, nil, 229, nil, 229, nil,
501
+ nil, 229, 229, 288, 150, 288, 288, nil, 288, 288,
502
+ nil, 288, nil, 288, nil, 288, nil, 288, nil, nil,
503
+ 288, 288, nil, 301, nil, 150, nil, 150, 150, nil,
504
+ 150, 150, nil, 150, nil, 150, nil, 150, nil, 150,
505
+ nil, nil, 150, 150, 301, 302, 301, 301, nil, 301,
506
+ 301, nil, 301, nil, 301, nil, 301, nil, 301, nil,
507
+ nil, 301, 301, nil, 183, nil, 302, nil, 302, 302,
508
+ nil, 302, 302, nil, 302, nil, 302, nil, 302, nil,
509
+ 302, nil, nil, 302, 302, 183, 311, 183, 183, nil,
510
+ 183, 183, nil, 183, nil, 183, nil, 183, nil, 183,
511
+ nil, nil, 183, 183, nil, 177, nil, 311, nil, 311,
512
+ 311, nil, 311, 311, nil, 311, nil, 311, nil, 311,
513
+ nil, 311, nil, nil, 311, 311, 177, 313, 177, 177,
514
+ nil, 177, 177, nil, 177, nil, 177, nil, 177, nil,
515
+ 177, nil, nil, 177, 177, nil, nil, nil, 313, nil,
516
+ 313, 313, nil, 313, 313, nil, 313, nil, 313, nil,
517
+ 313, nil, 313, nil, nil, 313, 313, 19, nil, 19,
518
+ 19, nil, 19, 19, nil, 19, nil, 19, nil, 19,
519
+ nil, 19, nil, nil, 19, 19, 0, nil, 0, 0,
520
+ nil, 0, 0, nil, 0, nil, 0, nil, 0, nil,
521
+ 0, nil, nil, 0, 0 ]
367
522
 
368
523
  racc_action_pointer = [
369
- 644, nil, 42, nil, nil, nil, nil, nil, 140, 323,
370
- nil, 289, nil, 70, nil, 80, nil, 86, nil, 156,
371
- nil, 127, 246, 13, nil, 280, nil, 625, 264, 165,
372
- nil, nil, 238, nil, nil, nil, nil, nil, -5, nil,
373
- 209, 212, 223, nil, nil, 238, 211, 152, nil, nil,
374
- nil, nil, 210, nil, 11, 186, nil, nil, 174, nil,
375
- 173, 93, 19, nil, 13, nil, 28, 278, nil, nil,
376
- 251, 4, nil, 285, 61, 318, 314, 313, -6, 254,
377
- nil, 250, nil, 201, 148, nil, nil, 14, 236, 120,
378
- -11, 337, nil, -2, nil, 284, 84, 283, nil, 90,
379
- 277, nil, 24, nil, nil, nil, -5, 252, nil, nil,
380
- 233, nil, 16, 152, 167, 164, 131, nil, 79, 45,
381
- nil, nil, nil, 322, 273, 316, 262, -34, nil, 36,
382
- nil, 208, nil, 587, 338, 74, 141, 71, nil, 156,
383
- 154, 155, 23, nil, nil, nil, -3, nil, nil, 55,
384
- nil, 160, nil, nil, nil, nil, nil, 448, nil, 507,
385
- nil, 20, 136, 205, 182, 146, 216, 217, 189, 190,
386
- 220, nil, nil, nil, 209, nil, 332, nil, nil, nil,
387
- nil, nil, 213, nil, 235, nil, nil, 202, nil, nil,
388
- 467, nil, 218, nil, 88, nil, 547, 75, nil, 251,
389
- 255, 247, nil, 263, nil, 121, nil, nil, 256, 272,
390
- 89, nil, nil, 488, nil, 366, nil, nil, nil, nil,
391
- nil, nil, nil, nil, 269, 196, nil, 136, nil, nil,
392
- 257, nil, nil, 280, 376, nil, 408, nil, 43, 130,
393
- 64, nil, nil, nil, nil, 277, 283, nil, 293, 296,
394
- 304, nil, nil, nil, nil, nil, nil, 382, 323, 324,
395
- 326, nil, 427, nil, nil, nil, nil, nil, nil, nil,
396
- 606, nil, 528, 568, nil, nil ]
524
+ 1308, 163, nil, nil, 101, nil, nil, 354, nil, 23,
525
+ nil, 6, nil, 568, nil, 354, 210, -31, nil, 1289,
526
+ 685, nil, nil, 170, nil, nil, 85, 269, nil, nil,
527
+ 304, nil, nil, 430, -2, nil, 257, 248, nil, 24,
528
+ nil, nil, nil, nil, 515, 206, nil, 184, 25, nil,
529
+ 217, 858, nil, nil, 663, 224, nil, nil, 202, 216,
530
+ nil, nil, 170, nil, 8, 131, nil, 128, 66, 50,
531
+ nil, nil, 301, 170, 231, 653, nil, 157, 181, 331,
532
+ 332, 335, nil, 342, 264, 343, nil, 292, nil, 329,
533
+ 202, nil, nil, 134, 145, nil, 143, nil, 589, 1013,
534
+ 930, 76, 223, nil, nil, -5, 220, nil, nil, 29,
535
+ 256, nil, 2, 249, nil, 283, 342, nil, 131, nil,
536
+ 96, nil, nil, nil, nil, -11, nil, 201, 819, 67,
537
+ nil, 187, 925, 894, nil, 965, 256, nil, nil, 51,
538
+ 72, 125, 178, 377, 398, 536, 504, 483, 345, 324,
539
+ 1147, 104, 451, 19, nil, 884, 217, 58, 334, nil,
540
+ 293, nil, 275, 246, nil, 234, 234, 215, 93, nil,
541
+ nil, nil, nil, 184, nil, nil, nil, 1248, 679, 730,
542
+ 55, 30, nil, 1207, nil, 746, nil, nil, nil, 117,
543
+ 100, -20, 762, 752, nil, nil, nil, 78, nil, nil,
544
+ nil, nil, 801, nil, 76, nil, nil, nil, nil, 161,
545
+ 803, 184, nil, nil, nil, nil, nil, 194, nil, 282,
546
+ 245, 221, 26, 1000, 185, 132, 978, 79, 251, 1106,
547
+ 217, 113, 89, nil, 868, nil, 75, nil, nil, 258,
548
+ 269, 260, 1, nil, 1043, 280, 595, 359, 271, 1065,
549
+ nil, nil, nil, nil, nil, 1084, nil, nil, nil, nil,
550
+ nil, nil, 294, -2, 302, 303, nil, 310, nil, nil,
551
+ nil, nil, nil, 7, 613, nil, 312, nil, 337, nil,
552
+ nil, 338, 817, 736, 669, nil, nil, -20, 1125, nil,
553
+ nil, nil, nil, 345, nil, nil, 874, 351, 352, nil,
554
+ nil, 1166, 1188, nil, nil, nil, nil, nil, nil, nil,
555
+ nil, 1229, nil, 1270, nil, nil, nil ]
397
556
 
398
557
  racc_action_default = [
399
- -148, -141, -172, -15, -3, -139, -16, -5, -172, -172,
400
- -6, -172, -7, -140, -8, -172, -9, -172, -10, -172,
401
- -11, -172, -39, -172, -12, -172, -13, -1, -172, -172,
402
- -14, -2, -148, -140, -146, -145, -144, -147, -148, -142,
403
- -77, -70, -172, -31, -29, -62, -30, -172, -32, -19,
404
- -102, -100, -20, -101, -61, -21, -60, -22, -24, -129,
405
- -25, -172, -26, -128, -27, -165, -28, -172, -108, -92,
406
- -88, -172, -95, -172, -89, -93, -90, -97, -91, -96,
407
- -94, -172, -130, -132, -148, -40, -41, -172, -70, -148,
408
- -148, -172, -4, -172, -38, -172, -172, -172, -161, -172,
409
- -172, -159, -172, -75, -76, -78, -172, -170, -66, -71,
410
- -63, -62, -61, -58, -64, -170, -67, -56, -65, -172,
411
- -127, -126, -68, -172, -172, -172, -172, -172, -18, -172,
412
- -80, -172, -167, -172, -172, -172, -172, -149, -150, -172,
413
- -172, -170, -172, -45, -61, -47, -172, -54, -53, -148,
414
- -44, -172, 276, -69, -162, -163, -164, -172, -160, -172,
415
- -143, -172, -172, -172, -171, -59, -172, -172, -171, -70,
416
- -172, -124, -116, -117, -61, -122, -172, -125, -123, -103,
417
- -23, -99, -172, -33, -172, -17, -166, -172, -168, -169,
418
- -172, -114, -172, -110, -172, -131, -172, -172, -153, -156,
419
- -158, -172, -104, -172, -50, -172, -49, -43, -172, -172,
420
- -172, -42, -136, -172, -138, -172, -74, -73, -37, -79,
421
- -57, -34, -35, -72, -170, -172, -119, -170, -98, -81,
422
- -106, -109, -111, -172, -172, -134, -172, -152, -172, -172,
423
- -172, -151, -36, -46, -86, -82, -83, -51, -87, -84,
424
- -85, -52, -48, -135, -137, -55, -121, -172, -172, -169,
425
- -172, -105, -172, -115, -133, -154, -155, -157, -120, -118,
426
- -172, -113, -172, -172, -112, -107 ]
558
+ -168, -193, -7, -161, -193, -8, -159, -193, -9, -193,
559
+ -10, -193, -11, -160, -12, -193, -193, -193, -13, -1,
560
+ -193, -14, -2, -193, -15, -3, -193, -39, -16, -5,
561
+ -193, -17, -6, -193, -193, -160, -168, -78, -166, -168,
562
+ -165, -164, -162, -167, -193, -71, -41, -168, -168, -185,
563
+ -21, -193, -33, -22, -193, -62, -23, -101, -26, -193,
564
+ -103, -102, -27, -148, -61, -28, -60, -29, -193, -30,
565
+ -149, -31, -32, -193, -193, -193, -96, -193, -90, -94,
566
+ -98, -91, -95, -92, -193, -97, -93, -193, -111, -89,
567
+ -193, -38, -4, -193, -152, -150, -168, -40, -71, -69,
568
+ -70, -193, -193, -181, -79, -193, -191, -76, -77, -193,
569
+ -193, -179, -193, -193, -81, -191, -193, -72, -168, -47,
570
+ -193, -54, -53, -61, -44, -193, -45, -193, -193, -193,
571
+ -20, -193, -193, -193, 317, -193, -193, -188, -125, -193,
572
+ -193, -193, -193, -193, -193, -193, -193, -193, -193, -193,
573
+ -193, -193, -193, -193, -118, -193, -193, -169, -193, -170,
574
+ -58, -62, -191, -64, -56, -67, -193, -65, -61, -147,
575
+ -68, -146, -66, -63, -184, -182, -183, -193, -193, -193,
576
+ -193, -192, -180, -193, -163, -193, -105, -189, -190, -193,
577
+ -192, -193, -193, -193, -50, -49, -43, -193, -42, -24,
578
+ -25, -18, -193, -104, -193, -100, -142, -145, -143, -61,
579
+ -193, -193, -136, -144, -137, -128, -186, -190, -114, -116,
580
+ -120, -117, -122, -127, -124, -121, -126, -123, -119, -193,
581
+ -108, -112, -113, -115, -193, -130, -193, -134, -151, -178,
582
+ -176, -193, -193, -173, -193, -193, -59, -193, -71, -193,
583
+ -156, -75, -74, -37, -80, -193, -158, -82, -36, -73,
584
+ -48, -51, -84, -88, -85, -86, -87, -83, -52, -46,
585
+ -19, -99, -139, -191, -193, -187, -108, -107, -193, -131,
586
+ -129, -193, -193, -193, -193, -171, -172, -193, -193, -154,
587
+ -34, -57, -35, -191, -155, -157, -193, -193, -190, -141,
588
+ -106, -193, -193, -135, -177, -175, -174, -153, -55, -140,
589
+ -138, -193, -110, -193, -133, -109, -132 ]
427
590
 
428
591
  racc_goto_table = [
429
- 23, 27, 122, 92, 173, 105, 198, 49, 117, 46,
430
- 187, 39, 31, 170, 32, 82, 193, 103, 115, 25,
431
- 142, 151, 243, 44, 191, 247, 251, 23, 131, 95,
432
- 64, 86, 73, 84, 261, 192, 107, 110, 166, 172,
433
- 113, 227, 83, 62, 98, 163, 136, 97, 38, 100,
434
- 101, 108, 180, 167, 201, 197, 94, 226, 120, 154,
435
- nil, 129, nil, 46, 66, 141, 170, nil, nil, nil,
436
- nil, 118, nil, nil, 232, nil, nil, 44, nil, 203,
437
- 210, nil, 191, nil, 64, nil, nil, nil, nil, nil,
438
- nil, nil, 121, nil, nil, nil, 138, 62, nil, nil,
439
- nil, nil, 158, nil, nil, 160, 257, 265, 155, nil,
440
- nil, nil, nil, nil, nil, nil, nil, nil, 66, 171,
441
- 182, 46, 46, nil, 263, nil, 122, nil, nil, 219,
442
- 171, 195, 220, 23, 190, 44, 44, nil, 268, nil,
443
- 120, 103, 64, 64, nil, 223, 224, 170, nil, nil,
444
- nil, 120, nil, 178, nil, 62, 62, 23, 213, 23,
445
- 215, 110, 255, nil, 178, 258, 92, nil, nil, nil,
446
- 60, nil, 171, nil, 121, 108, 66, 66, nil, nil,
447
- 58, nil, 120, nil, nil, 121, nil, nil, 171, 92,
448
- 23, 92, nil, 120, nil, 118, 23, 236, 116, nil,
449
- nil, nil, nil, nil, 245, 245, 178, nil, 114, 120,
450
- nil, nil, 92, 23, nil, 23, 121, nil, 244, 244,
451
- nil, nil, 178, nil, 60, 250, 250, 121, nil, nil,
452
- 171, nil, nil, nil, 58, nil, 23, nil, 249, 249,
453
- nil, nil, nil, 121, nil, nil, 148, 148, 92, 92,
454
- nil, 120, nil, 171, nil, nil, 147, 147, nil, 121,
455
- 121, nil, 23, 272, 178, nil, nil, nil, nil, nil,
456
- 23, 273, 23, 23, 120, 68, nil, 81, nil, 77,
457
- 177, 77, 60, 60, 48, 121, 72, 178, 72, nil,
458
- 175, 177, 58, 58, nil, nil, nil, nil, nil, nil,
459
- nil, 175, nil, nil, nil, nil, 148, 124, 121, nil,
460
- nil, 77, nil, nil, nil, nil, 147, nil, 72, nil,
461
- nil, nil, 116, nil, nil, nil, nil, nil, nil, nil,
462
- nil, 130, 114, 177, nil, 77, nil, nil, 48, nil,
463
- nil, nil, 72, 175, nil, nil, nil, 139, nil, 177,
464
- nil, 77, nil, 153, nil, nil, nil, 77, 72, 175,
465
- nil, nil, 148, nil, 72, 248, 248, nil, nil, nil,
466
- nil, nil, 147, nil, nil, 246, 246, nil, nil, nil,
467
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
468
- nil, 177, nil, nil, nil, nil, nil, 48, 183, nil,
469
- nil, 175, nil, nil, nil, nil, nil, nil, nil, nil,
470
- nil, nil, nil, nil, 177, nil, nil, nil, nil, nil,
471
- nil, 216, 217, nil, 175, 77, 77, nil, nil, nil,
472
- nil, nil, 72, 72, nil, nil, nil, nil, nil, nil,
473
- nil, nil, nil, nil, nil, nil, nil, 229, nil, nil,
474
- nil, 77, nil, nil, nil, nil, nil, nil, 72, nil,
475
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
476
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
477
- nil, nil, nil, nil, nil, 256, nil, nil, nil, 77,
478
- nil, nil, nil, nil, nil, nil, 72, nil, nil, 266,
479
- 267, nil, nil, 77, 77, nil, nil, nil, nil, nil,
480
- 72, 72 ]
592
+ 7, 92, 65, 11, 214, 115, 180, 19, 170, 243,
593
+ 107, 164, 211, 56, 50, 189, 104, 36, 235, 7,
594
+ 90, 71, 11, 15, 42, 199, 277, 63, 261, 268,
595
+ 22, 296, 125, 127, 237, 269, 113, 234, 46, 96,
596
+ 65, 106, 212, 245, 273, 94, 131, 158, 102, 39,
597
+ 110, 56, 129, 160, 241, 242, 91, 175, 162, 71,
598
+ nil, nil, 247, nil, nil, 63, 103, 136, 93, 111,
599
+ nil, nil, 300, nil, nil, nil, nil, nil, nil, nil,
600
+ nil, 272, nil, nil, nil, nil, nil, 167, nil, 211,
601
+ nil, nil, 114, nil, nil, nil, nil, 279, nil, 199,
602
+ 62, nil, 114, 191, nil, nil, 172, nil, nil, nil,
603
+ nil, nil, 63, 237, 176, nil, nil, 65, nil, nil,
604
+ nil, 65, 208, 114, 182, nil, 159, 184, 200, nil,
605
+ nil, nil, 56, 204, 122, 122, 71, nil, 62, 306,
606
+ 71, nil, 63, nil, 208, nil, 63, 63, nil, nil,
607
+ 7, nil, nil, 11, 107, nil, 170, 229, 69, 291,
608
+ 254, 303, nil, 259, nil, nil, nil, 309, nil, 63,
609
+ nil, nil, nil, 297, nil, 211, nil, 7, nil, nil,
610
+ 11, 264, 264, 7, 249, 165, 11, nil, nil, nil,
611
+ 255, 65, nil, 308, nil, nil, 69, nil, nil, 208,
612
+ 266, 266, 200, nil, nil, 122, 63, 63, 293, nil,
613
+ 71, 92, nil, nil, nil, 62, 63, nil, nil, 62,
614
+ 207, nil, nil, 208, 63, nil, 251, 252, nil, 7,
615
+ nil, 92, 11, 257, 58, 167, nil, 92, nil, nil,
616
+ nil, nil, 207, 171, 7, 67, nil, 11, 63, 7,
617
+ nil, 288, 11, nil, 172, 7, nil, nil, 11, nil,
618
+ 63, nil, nil, nil, nil, 72, nil, nil, 121, 121,
619
+ 92, 208, 58, 69, nil, 95, nil, 69, 171, 263,
620
+ 263, nil, nil, 67, 122, 208, nil, nil, 7, 62,
621
+ nil, 11, nil, 92, nil, 92, 63, 207, nil, nil,
622
+ 171, 7, 7, 72, 11, 11, nil, nil, 311, 313,
623
+ 63, 7, nil, 7, 11, nil, 11, nil, nil, 163,
624
+ nil, 207, 299, nil, nil, nil, nil, nil, nil, nil,
625
+ 169, 304, 305, 165, nil, nil, nil, 171, 171, 121,
626
+ nil, nil, nil, nil, nil, nil, nil, 69, nil, 58,
627
+ 173, nil, nil, 58, 206, 171, nil, nil, nil, nil,
628
+ 67, nil, nil, nil, 67, 169, nil, nil, nil, 207,
629
+ nil, nil, nil, nil, nil, nil, 206, nil, nil, 171,
630
+ 72, nil, nil, 207, 72, 213, nil, 169, nil, nil,
631
+ nil, 171, nil, nil, nil, nil, nil, nil, nil, nil,
632
+ nil, nil, nil, nil, nil, nil, nil, 213, 238, nil,
633
+ nil, nil, nil, 262, 262, nil, nil, nil, 121, nil,
634
+ nil, nil, nil, 58, 265, 265, nil, 171, nil, 84,
635
+ nil, 206, nil, nil, 67, nil, nil, nil, nil, nil,
636
+ nil, 171, 169, nil, 267, 267, 99, 100, nil, nil,
637
+ nil, nil, nil, nil, 72, 206, nil, nil, nil, nil,
638
+ nil, nil, 213, nil, nil, nil, 169, 163, nil, nil,
639
+ nil, nil, nil, nil, nil, nil, nil, nil, 169, nil,
640
+ nil, nil, nil, nil, nil, nil, 213, 135, nil, nil,
641
+ 138, nil, nil, nil, nil, nil, nil, nil, 173, nil,
642
+ 154, nil, nil, 206, nil, nil, nil, nil, nil, nil,
643
+ nil, nil, nil, nil, 169, nil, nil, 206, nil, nil,
644
+ nil, nil, nil, nil, nil, nil, nil, nil, 169, nil,
645
+ nil, nil, nil, nil, 213, nil, nil, nil, nil, nil,
646
+ nil, nil, nil, nil, nil, nil, nil, nil, 213, nil,
647
+ nil, nil, 218, 219, 220, 221, 222, 223, 224, 225,
648
+ 226, 227, 228, nil, 231, 232, 233 ]
481
649
 
482
650
  racc_goto_check = [
483
- 34, 2, 47, 4, 61, 51, 71, 17, 44, 27,
484
- 53, 68, 3, 59, 29, 27, 57, 49, 32, 1,
485
- 38, 38, 39, 26, 59, 43, 43, 34, 52, 34,
486
- 24, 37, 54, 29, 55, 56, 35, 27, 31, 60,
487
- 30, 62, 63, 23, 3, 33, 64, 65, 66, 67,
488
- 3, 26, 20, 33, 69, 70, 5, 61, 24, 72,
489
- nil, 17, nil, 27, 25, 32, 59, nil, nil, nil,
490
- nil, 23, nil, nil, 57, nil, nil, 26, nil, 33,
491
- 38, nil, 59, nil, 24, nil, nil, nil, nil, nil,
492
- nil, nil, 25, nil, nil, nil, 3, 23, nil, nil,
493
- nil, nil, 68, nil, nil, 68, 53, 71, 29, nil,
494
- nil, nil, nil, nil, nil, nil, nil, nil, 25, 27,
495
- 17, 27, 27, nil, 59, nil, 47, nil, nil, 51,
496
- 27, 27, 44, 34, 2, 26, 26, nil, 61, nil,
497
- 24, 49, 24, 24, nil, 49, 32, 59, nil, nil,
498
- nil, 24, nil, 23, nil, 23, 23, 34, 2, 34,
499
- 2, 27, 33, nil, 23, 33, 4, nil, nil, nil,
500
- 22, nil, 27, nil, 25, 26, 25, 25, nil, nil,
501
- 21, nil, 24, nil, nil, 25, nil, nil, 27, 4,
502
- 34, 4, nil, 24, nil, 23, 34, 2, 22, nil,
503
- nil, nil, nil, nil, 27, 27, 23, nil, 21, 24,
504
- nil, nil, 4, 34, nil, 34, 25, nil, 26, 26,
505
- nil, nil, 23, nil, 22, 24, 24, 25, nil, nil,
506
- 27, nil, nil, nil, 21, nil, 34, nil, 23, 23,
507
- nil, nil, nil, 25, nil, nil, 22, 22, 4, 4,
508
- nil, 24, nil, 27, nil, nil, 21, 21, nil, 25,
509
- 25, nil, 34, 2, 23, nil, nil, nil, nil, nil,
510
- 34, 2, 34, 34, 24, 48, nil, 48, nil, 46,
511
- 22, 46, 22, 22, 28, 25, 28, 23, 28, nil,
512
- 21, 22, 21, 21, nil, nil, nil, nil, nil, nil,
513
- nil, 21, nil, nil, nil, nil, 22, 48, 25, nil,
514
- nil, 46, nil, nil, nil, nil, 21, nil, 28, nil,
515
- nil, nil, 22, nil, nil, nil, nil, nil, nil, nil,
516
- nil, 48, 21, 22, nil, 46, nil, nil, 28, nil,
517
- nil, nil, 28, 21, nil, nil, nil, 48, nil, 22,
518
- nil, 46, nil, 48, nil, nil, nil, 46, 28, 21,
519
- nil, nil, 22, nil, 28, 22, 22, nil, nil, nil,
520
- nil, nil, 21, nil, nil, 21, 21, nil, nil, nil,
521
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
522
- nil, 22, nil, nil, nil, nil, nil, 28, 28, nil,
523
- nil, 21, nil, nil, nil, nil, nil, nil, nil, nil,
524
- nil, nil, nil, nil, 22, nil, nil, nil, nil, nil,
525
- nil, 48, 48, nil, 21, 46, 46, nil, nil, nil,
526
- nil, nil, 28, 28, nil, nil, nil, nil, nil, nil,
527
- nil, nil, nil, nil, nil, nil, nil, 48, nil, nil,
528
- nil, 46, nil, nil, nil, nil, nil, nil, 28, nil,
529
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
530
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
531
- nil, nil, nil, nil, nil, 48, nil, nil, nil, 46,
532
- nil, nil, nil, nil, nil, nil, 28, nil, nil, 48,
533
- 48, nil, nil, 46, 46, nil, nil, nil, nil, nil,
534
- 28, 28 ]
651
+ 20, 4, 23, 33, 60, 31, 32, 2, 46, 70,
652
+ 48, 43, 58, 20, 18, 32, 51, 28, 56, 20,
653
+ 33, 26, 33, 1, 67, 19, 54, 45, 42, 42,
654
+ 3, 53, 37, 37, 58, 38, 52, 55, 36, 28,
655
+ 23, 34, 59, 30, 61, 62, 52, 63, 64, 65,
656
+ 66, 20, 18, 29, 68, 69, 5, 71, 31, 26,
657
+ nil, nil, 32, nil, nil, 45, 3, 52, 49, 3,
658
+ nil, nil, 54, nil, nil, nil, nil, nil, nil, nil,
659
+ nil, 60, nil, nil, nil, nil, nil, 23, nil, 58,
660
+ nil, nil, 49, nil, nil, nil, nil, 56, nil, 19,
661
+ 22, nil, 49, 37, nil, nil, 26, nil, nil, nil,
662
+ nil, nil, 45, 58, 28, nil, nil, 23, nil, nil,
663
+ nil, 23, 23, 49, 67, nil, 3, 67, 20, nil,
664
+ nil, nil, 20, 18, 22, 22, 26, nil, 22, 70,
665
+ 26, nil, 45, nil, 23, nil, 45, 45, nil, nil,
666
+ 20, nil, nil, 33, 48, nil, 46, 2, 25, 43,
667
+ 51, 58, nil, 48, nil, nil, nil, 60, nil, 45,
668
+ nil, nil, nil, 32, nil, 58, nil, 20, nil, nil,
669
+ 33, 23, 23, 20, 2, 22, 33, nil, nil, nil,
670
+ 2, 23, nil, 32, nil, nil, 25, nil, nil, 23,
671
+ 26, 26, 20, nil, nil, 22, 45, 45, 31, nil,
672
+ 26, 4, nil, nil, nil, 22, 45, nil, nil, 22,
673
+ 22, nil, nil, 23, 45, nil, 49, 49, nil, 20,
674
+ nil, 4, 33, 49, 21, 23, nil, 4, nil, nil,
675
+ nil, nil, 22, 25, 20, 24, nil, 33, 45, 20,
676
+ nil, 2, 33, nil, 26, 20, nil, nil, 33, nil,
677
+ 45, nil, nil, nil, nil, 27, nil, nil, 21, 21,
678
+ 4, 23, 21, 25, nil, 27, nil, 25, 25, 22,
679
+ 22, nil, nil, 24, 22, 23, nil, nil, 20, 22,
680
+ nil, 33, nil, 4, nil, 4, 45, 22, nil, nil,
681
+ 25, 20, 20, 27, 33, 33, nil, nil, 2, 2,
682
+ 45, 20, nil, 20, 33, nil, 33, nil, nil, 21,
683
+ nil, 22, 49, nil, nil, nil, nil, nil, nil, nil,
684
+ 24, 49, 49, 22, nil, nil, nil, 25, 25, 21,
685
+ nil, nil, nil, nil, nil, nil, nil, 25, nil, 21,
686
+ 27, nil, nil, 21, 21, 25, nil, nil, nil, nil,
687
+ 24, nil, nil, nil, 24, 24, nil, nil, nil, 22,
688
+ nil, nil, nil, nil, nil, nil, 21, nil, nil, 25,
689
+ 27, nil, nil, 22, 27, 27, nil, 24, nil, nil,
690
+ nil, 25, nil, nil, nil, nil, nil, nil, nil, nil,
691
+ nil, nil, nil, nil, nil, nil, nil, 27, 27, nil,
692
+ nil, nil, nil, 21, 21, nil, nil, nil, 21, nil,
693
+ nil, nil, nil, 21, 24, 24, nil, 25, nil, 47,
694
+ nil, 21, nil, nil, 24, nil, nil, nil, nil, nil,
695
+ nil, 25, 24, nil, 27, 27, 47, 47, nil, nil,
696
+ nil, nil, nil, nil, 27, 21, nil, nil, nil, nil,
697
+ nil, nil, 27, nil, nil, nil, 24, 21, nil, nil,
698
+ nil, nil, nil, nil, nil, nil, nil, nil, 24, nil,
699
+ nil, nil, nil, nil, nil, nil, 27, 47, nil, nil,
700
+ 47, nil, nil, nil, nil, nil, nil, nil, 27, nil,
701
+ 47, nil, nil, 21, nil, nil, nil, nil, nil, nil,
702
+ nil, nil, nil, nil, 24, nil, nil, 21, nil, nil,
703
+ nil, nil, nil, nil, nil, nil, nil, nil, 24, nil,
704
+ nil, nil, nil, nil, 27, nil, nil, nil, nil, nil,
705
+ nil, nil, nil, nil, nil, nil, nil, nil, 27, nil,
706
+ nil, nil, 47, 47, 47, 47, 47, 47, 47, 47,
707
+ 47, 47, 47, nil, 47, 47, 47 ]
535
708
 
536
709
  racc_goto_pointer = [
537
- nil, 19, 1, 12, -24, 27, nil, nil, nil, nil,
538
- nil, nil, nil, nil, nil, nil, nil, -6, nil, nil,
539
- -73, 167, 157, 30, 17, 51, 10, -4, 271, 12,
540
- -1, -75, -23, -62, 0, -4, nil, 8, -69, -183,
541
- nil, nil, nil, -183, -33, nil, 264, -39, 260, -23,
542
- nil, -35, -43, -121, 17, -196, -99, -118, nil, -110,
543
- -84, -119, -135, 23, -38, 15, 40, 11, 3, -83,
544
- -82, -131, -37 ]
710
+ nil, 23, 7, 30, -18, 39, nil, nil, nil, nil,
711
+ nil, nil, nil, nil, nil, nil, nil, nil, 1, -103,
712
+ 0, 221, 87, -11, 232, 145, 8, 252, 13, -45,
713
+ -117, -40, -100, 3, 4, nil, 27, -15, -162, nil,
714
+ nil, nil, -164, -87, nil, 14, -90, 413, -27, 48,
715
+ nil, -21, -8, -242, -204, -118, -137, nil, -121, -91,
716
+ -129, -166, 22, -49, 12, 40, 11, 15, -103, -102,
717
+ -148, -44 ]
545
718
 
546
719
  racc_goto_default = [
547
- nil, nil, nil, 150, 4, 7, 10, 12, 14, 16,
548
- 18, 20, 24, 26, 30, 3, 6, nil, 52, 55,
549
- 57, 74, 75, 76, 78, 79, 69, 70, 9, 11,
550
- nil, nil, nil, nil, 61, nil, 29, nil, nil, 143,
551
- 205, 145, 146, nil, nil, 119, 63, 80, nil, 109,
552
- 104, nil, nil, nil, nil, nil, nil, nil, 194, 42,
720
+ nil, nil, nil, 124, 25, 29, 32, 2, 5, 8,
721
+ 10, 12, 14, 18, 21, 24, 28, 31, nil, 53,
722
+ 76, 78, 79, 81, 83, 85, 86, 89, 30, nil,
723
+ nil, nil, nil, 59, nil, 17, nil, nil, 126, 197,
724
+ 119, 120, nil, nil, 166, 80, 82, nil, 117, 88,
725
+ 108, nil, nil, 185, nil, nil, nil, 236, 68, nil,
553
726
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
554
- nil, nil, nil ]
727
+ nil, nil ]
555
728
 
556
729
  racc_token_table = {
557
730
  false => 0,
@@ -568,47 +741,55 @@ racc_token_table = {
568
741
  :TRUE => 11,
569
742
  :FALSE => 12,
570
743
  :EQUALS => 13,
571
- :LESSEQUAL => 14,
572
- :NOTEQUAL => 15,
573
- :DOT => 16,
574
- :COLON => 17,
575
- :LLCOLLECT => 18,
576
- :RRCOLLECT => 19,
577
- :QMARK => 20,
578
- :LPAREN => 21,
579
- :RPAREN => 22,
580
- :ISEQUAL => 23,
581
- :GREATEREQUAL => 24,
582
- :GREATERTHAN => 25,
583
- :LESSTHAN => 26,
584
- :IF => 27,
585
- :ELSE => 28,
586
- :IMPORT => 29,
587
- :DEFINE => 30,
588
- :ELSIF => 31,
589
- :VARIABLE => 32,
590
- :CLASS => 33,
591
- :INHERITS => 34,
592
- :NODE => 35,
593
- :BOOLEAN => 36,
594
- :NAME => 37,
595
- :SEMIC => 38,
596
- :CASE => 39,
597
- :DEFAULT => 40,
598
- :AT => 41,
599
- :LCOLLECT => 42,
600
- :RCOLLECT => 43,
601
- :CLASSNAME => 44,
602
- :CLASSREF => 45,
603
- :NOT => 46,
604
- :OR => 47,
605
- :AND => 48,
606
- :UNDEF => 49,
607
- :PARROW => 50 }
744
+ :APPENDS => 14,
745
+ :LESSEQUAL => 15,
746
+ :NOTEQUAL => 16,
747
+ :DOT => 17,
748
+ :COLON => 18,
749
+ :LLCOLLECT => 19,
750
+ :RRCOLLECT => 20,
751
+ :QMARK => 21,
752
+ :LPAREN => 22,
753
+ :RPAREN => 23,
754
+ :ISEQUAL => 24,
755
+ :GREATEREQUAL => 25,
756
+ :GREATERTHAN => 26,
757
+ :LESSTHAN => 27,
758
+ :IF => 28,
759
+ :ELSE => 29,
760
+ :IMPORT => 30,
761
+ :DEFINE => 31,
762
+ :ELSIF => 32,
763
+ :VARIABLE => 33,
764
+ :CLASS => 34,
765
+ :INHERITS => 35,
766
+ :NODE => 36,
767
+ :BOOLEAN => 37,
768
+ :NAME => 38,
769
+ :SEMIC => 39,
770
+ :CASE => 40,
771
+ :DEFAULT => 41,
772
+ :AT => 42,
773
+ :LCOLLECT => 43,
774
+ :RCOLLECT => 44,
775
+ :CLASSNAME => 45,
776
+ :CLASSREF => 46,
777
+ :NOT => 47,
778
+ :OR => 48,
779
+ :AND => 49,
780
+ :UNDEF => 50,
781
+ :PARROW => 51,
782
+ :PLUS => 52,
783
+ :MINUS => 53,
784
+ :TIMES => 54,
785
+ :DIV => 55,
786
+ :LSHIFT => 56,
787
+ :RSHIFT => 57,
788
+ :UMINUS => 58 }
608
789
 
609
790
  racc_use_result_var = true
610
791
 
611
- racc_nt_base = 51
792
+ racc_nt_base = 59
612
793
 
613
794
  Racc_arg = [
614
795
  racc_action_table,
@@ -641,6 +822,7 @@ Racc_token_to_s_table = [
641
822
  'TRUE',
642
823
  'FALSE',
643
824
  'EQUALS',
825
+ 'APPENDS',
644
826
  'LESSEQUAL',
645
827
  'NOTEQUAL',
646
828
  'DOT',
@@ -678,6 +860,13 @@ Racc_token_to_s_table = [
678
860
  'AND',
679
861
  'UNDEF',
680
862
  'PARROW',
863
+ 'PLUS',
864
+ 'MINUS',
865
+ 'TIMES',
866
+ 'DIV',
867
+ 'LSHIFT',
868
+ 'RSHIFT',
869
+ 'UMINUS',
681
870
  '$start',
682
871
  'program',
683
872
  'statements',
@@ -695,10 +884,10 @@ Racc_token_to_s_table = [
695
884
  'hostclass',
696
885
  'nodedef',
697
886
  'resourceoverride',
887
+ 'append',
698
888
  'funcvalues',
699
- 'namestrings',
700
- 'resourcerefs',
701
889
  'namestring',
890
+ 'resourceref',
702
891
  'name',
703
892
  'variable',
704
893
  'type',
@@ -706,7 +895,6 @@ Racc_token_to_s_table = [
706
895
  'funcrvalue',
707
896
  'selector',
708
897
  'quotedtext',
709
- 'resourceref',
710
898
  'classname',
711
899
  'resourceinstances',
712
900
  'endsemi',
@@ -726,13 +914,13 @@ Racc_token_to_s_table = [
726
914
  'resourcename',
727
915
  'undef',
728
916
  'array',
729
- 'rvalue',
917
+ 'expression',
730
918
  'param',
919
+ 'rvalue',
731
920
  'addparam',
732
921
  'anyparam',
733
922
  'rvalues',
734
923
  'comma',
735
- 'iftest',
736
924
  'else',
737
925
  'caseopts',
738
926
  'caseopt',
@@ -758,7 +946,7 @@ Racc_debug_parser = false
758
946
 
759
947
  # reduce 0 omitted
760
948
 
761
- module_eval <<'.,.,', 'grammar.ra', 30
949
+ module_eval <<'.,.,', 'grammar.ra', 42
762
950
  def _reduce_1( val, _values, result )
763
951
  if val[0]
764
952
  # Make sure we always return an array.
@@ -782,7 +970,7 @@ module_eval <<'.,.,', 'grammar.ra', 30
782
970
 
783
971
  # reduce 3 omitted
784
972
 
785
- module_eval <<'.,.,', 'grammar.ra', 46
973
+ module_eval <<'.,.,', 'grammar.ra', 58
786
974
  def _reduce_4( val, _values, result )
787
975
  if val[0] and val[1]
788
976
  if val[0].instance_of?(AST::ASTArray)
@@ -823,8 +1011,10 @@ module_eval <<'.,.,', 'grammar.ra', 46
823
1011
 
824
1012
  # reduce 16 omitted
825
1013
 
826
- module_eval <<'.,.,', 'grammar.ra', 68
827
- def _reduce_17( val, _values, result )
1014
+ # reduce 17 omitted
1015
+
1016
+ module_eval <<'.,.,', 'grammar.ra', 81
1017
+ def _reduce_18( val, _values, result )
828
1018
  args = aryfy(val[2])
829
1019
  result = ast AST::Function,
830
1020
  :name => val[0],
@@ -834,8 +1024,19 @@ module_eval <<'.,.,', 'grammar.ra', 68
834
1024
  end
835
1025
  .,.,
836
1026
 
837
- module_eval <<'.,.,', 'grammar.ra', 74
838
- def _reduce_18( val, _values, result )
1027
+ module_eval <<'.,.,', 'grammar.ra', 88
1028
+ def _reduce_19( val, _values, result )
1029
+ args = aryfy(val[2])
1030
+ result = ast AST::Function,
1031
+ :name => val[0],
1032
+ :arguments => args,
1033
+ :ftype => :statement
1034
+ result
1035
+ end
1036
+ .,.,
1037
+
1038
+ module_eval <<'.,.,', 'grammar.ra', 93
1039
+ def _reduce_20( val, _values, result )
839
1040
  result = ast AST::Function,
840
1041
  :name => val[0],
841
1042
  :arguments => AST::ASTArray.new({}),
@@ -844,8 +1045,8 @@ module_eval <<'.,.,', 'grammar.ra', 74
844
1045
  end
845
1046
  .,.,
846
1047
 
847
- module_eval <<'.,.,', 'grammar.ra', 81
848
- def _reduce_19( val, _values, result )
1048
+ module_eval <<'.,.,', 'grammar.ra', 100
1049
+ def _reduce_21( val, _values, result )
849
1050
  args = aryfy(val[1])
850
1051
  result = ast AST::Function,
851
1052
  :name => val[0],
@@ -855,14 +1056,12 @@ module_eval <<'.,.,', 'grammar.ra', 81
855
1056
  end
856
1057
  .,.,
857
1058
 
858
- # reduce 20 omitted
859
-
860
- # reduce 21 omitted
861
-
862
1059
  # reduce 22 omitted
863
1060
 
864
- module_eval <<'.,.,', 'grammar.ra', 91
865
- def _reduce_23( val, _values, result )
1061
+ # reduce 23 omitted
1062
+
1063
+ module_eval <<'.,.,', 'grammar.ra', 108
1064
+ def _reduce_24( val, _values, result )
866
1065
  result = aryfy(val[0], val[2])
867
1066
  result.line = @lexer.line
868
1067
  result.file = @lexer.file
@@ -870,9 +1069,18 @@ module_eval <<'.,.,', 'grammar.ra', 91
870
1069
  end
871
1070
  .,.,
872
1071
 
873
- # reduce 24 omitted
1072
+ module_eval <<'.,.,', 'grammar.ra', 117
1073
+ def _reduce_25( val, _values, result )
1074
+ unless val[0].is_a?(AST::ASTArray)
1075
+ val[0] = aryfy(val[0])
1076
+ end
874
1077
 
875
- # reduce 25 omitted
1078
+ val[0].push(val[2])
1079
+
1080
+ result = val[0]
1081
+ result
1082
+ end
1083
+ .,.,
876
1084
 
877
1085
  # reduce 26 omitted
878
1086
 
@@ -884,29 +1092,18 @@ module_eval <<'.,.,', 'grammar.ra', 91
884
1092
 
885
1093
  # reduce 30 omitted
886
1094
 
887
- module_eval <<'.,.,', 'grammar.ra', 104
888
- def _reduce_31( val, _values, result )
889
- result = ast AST::Name, :value => val[0]
890
- result
891
- end
892
- .,.,
1095
+ # reduce 31 omitted
893
1096
 
894
1097
  # reduce 32 omitted
895
1098
 
896
- module_eval <<'.,.,', 'grammar.ra', 115
1099
+ module_eval <<'.,.,', 'grammar.ra', 130
897
1100
  def _reduce_33( val, _values, result )
898
- unless val[0].is_a?(AST::ASTArray)
899
- val[0] = aryfy(val[0])
900
- end
901
-
902
- val[0].push(val[2])
903
-
904
- result = val[0]
1101
+ result = ast AST::Name, :value => val[0]
905
1102
  result
906
1103
  end
907
1104
  .,.,
908
1105
 
909
- module_eval <<'.,.,', 'grammar.ra', 136
1106
+ module_eval <<'.,.,', 'grammar.ra', 151
910
1107
  def _reduce_34( val, _values, result )
911
1108
  array = val[2]
912
1109
  if array.instance_of?(AST::ResourceInstance)
@@ -930,7 +1127,7 @@ module_eval <<'.,.,', 'grammar.ra', 136
930
1127
  end
931
1128
  .,.,
932
1129
 
933
- module_eval <<'.,.,', 'grammar.ra', 139
1130
+ module_eval <<'.,.,', 'grammar.ra', 154
934
1131
  def _reduce_35( val, _values, result )
935
1132
  # This is a deprecated syntax.
936
1133
  error "All resource specifications require names"
@@ -938,7 +1135,7 @@ module_eval <<'.,.,', 'grammar.ra', 139
938
1135
  end
939
1136
  .,.,
940
1137
 
941
- module_eval <<'.,.,', 'grammar.ra', 142
1138
+ module_eval <<'.,.,', 'grammar.ra', 157
942
1139
  def _reduce_36( val, _values, result )
943
1140
  # a defaults setting for a type
944
1141
  result = ast(AST::ResourceDefaults, :type => val[0], :params => val[2])
@@ -946,14 +1143,14 @@ module_eval <<'.,.,', 'grammar.ra', 142
946
1143
  end
947
1144
  .,.,
948
1145
 
949
- module_eval <<'.,.,', 'grammar.ra', 147
1146
+ module_eval <<'.,.,', 'grammar.ra', 162
950
1147
  def _reduce_37( val, _values, result )
951
1148
  result = ast AST::ResourceOverride, :object => val[0], :params => val[2]
952
1149
  result
953
1150
  end
954
1151
  .,.,
955
1152
 
956
- module_eval <<'.,.,', 'grammar.ra', 174
1153
+ module_eval <<'.,.,', 'grammar.ra', 189
957
1154
  def _reduce_38( val, _values, result )
958
1155
  type = val[0]
959
1156
 
@@ -981,21 +1178,21 @@ module_eval <<'.,.,', 'grammar.ra', 174
981
1178
  end
982
1179
  .,.,
983
1180
 
984
- module_eval <<'.,.,', 'grammar.ra', 175
1181
+ module_eval <<'.,.,', 'grammar.ra', 190
985
1182
  def _reduce_39( val, _values, result )
986
1183
  result = :virtual
987
1184
  result
988
1185
  end
989
1186
  .,.,
990
1187
 
991
- module_eval <<'.,.,', 'grammar.ra', 176
1188
+ module_eval <<'.,.,', 'grammar.ra', 191
992
1189
  def _reduce_40( val, _values, result )
993
1190
  result = :exported
994
1191
  result
995
1192
  end
996
1193
  .,.,
997
1194
 
998
- module_eval <<'.,.,', 'grammar.ra', 199
1195
+ module_eval <<'.,.,', 'grammar.ra', 214
999
1196
  def _reduce_41( val, _values, result )
1000
1197
  if val[0] =~ /^[a-z]/
1001
1198
  Puppet.warning addcontext("Collection names must now be capitalized")
@@ -1018,7 +1215,7 @@ module_eval <<'.,.,', 'grammar.ra', 199
1018
1215
  end
1019
1216
  .,.,
1020
1217
 
1021
- module_eval <<'.,.,', 'grammar.ra', 209
1218
+ module_eval <<'.,.,', 'grammar.ra', 224
1022
1219
  def _reduce_42( val, _values, result )
1023
1220
  if val[1]
1024
1221
  result = val[1]
@@ -1030,7 +1227,7 @@ module_eval <<'.,.,', 'grammar.ra', 209
1030
1227
  end
1031
1228
  .,.,
1032
1229
 
1033
- module_eval <<'.,.,', 'grammar.ra', 217
1230
+ module_eval <<'.,.,', 'grammar.ra', 232
1034
1231
  def _reduce_43( val, _values, result )
1035
1232
  if val[1]
1036
1233
  result = val[1]
@@ -1046,7 +1243,7 @@ module_eval <<'.,.,', 'grammar.ra', 217
1046
1243
 
1047
1244
  # reduce 45 omitted
1048
1245
 
1049
- module_eval <<'.,.,', 'grammar.ra', 225
1246
+ module_eval <<'.,.,', 'grammar.ra', 240
1050
1247
  def _reduce_46( val, _values, result )
1051
1248
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
1052
1249
  result
@@ -1055,7 +1252,7 @@ module_eval <<'.,.,', 'grammar.ra', 225
1055
1252
 
1056
1253
  # reduce 47 omitted
1057
1254
 
1058
- module_eval <<'.,.,', 'grammar.ra', 231
1255
+ module_eval <<'.,.,', 'grammar.ra', 246
1059
1256
  def _reduce_48( val, _values, result )
1060
1257
  result = val[1]
1061
1258
  result.parens = true
@@ -1067,7 +1264,7 @@ module_eval <<'.,.,', 'grammar.ra', 231
1067
1264
 
1068
1265
  # reduce 50 omitted
1069
1266
 
1070
- module_eval <<'.,.,', 'grammar.ra', 239
1267
+ module_eval <<'.,.,', 'grammar.ra', 254
1071
1268
  def _reduce_51( val, _values, result )
1072
1269
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
1073
1270
  #result = ast AST::CollExpr
@@ -1076,7 +1273,7 @@ module_eval <<'.,.,', 'grammar.ra', 239
1076
1273
  end
1077
1274
  .,.,
1078
1275
 
1079
- module_eval <<'.,.,', 'grammar.ra', 244
1276
+ module_eval <<'.,.,', 'grammar.ra', 259
1080
1277
  def _reduce_52( val, _values, result )
1081
1278
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
1082
1279
  #result = ast AST::CollExpr
@@ -1089,7 +1286,7 @@ module_eval <<'.,.,', 'grammar.ra', 244
1089
1286
 
1090
1287
  # reduce 54 omitted
1091
1288
 
1092
- module_eval <<'.,.,', 'grammar.ra', 251
1289
+ module_eval <<'.,.,', 'grammar.ra', 266
1093
1290
  def _reduce_55( val, _values, result )
1094
1291
  result = ast AST::ResourceInstance, :children => [val[0],val[2]]
1095
1292
  result
@@ -1098,7 +1295,7 @@ module_eval <<'.,.,', 'grammar.ra', 251
1098
1295
 
1099
1296
  # reduce 56 omitted
1100
1297
 
1101
- module_eval <<'.,.,', 'grammar.ra', 261
1298
+ module_eval <<'.,.,', 'grammar.ra', 276
1102
1299
  def _reduce_57( val, _values, result )
1103
1300
  if val[0].instance_of?(AST::ResourceInstance)
1104
1301
  result = ast AST::ASTArray, :children => [val[0],val[2]]
@@ -1114,21 +1311,21 @@ module_eval <<'.,.,', 'grammar.ra', 261
1114
1311
 
1115
1312
  # reduce 59 omitted
1116
1313
 
1117
- module_eval <<'.,.,', 'grammar.ra', 268
1314
+ module_eval <<'.,.,', 'grammar.ra', 283
1118
1315
  def _reduce_60( val, _values, result )
1119
1316
  result = ast AST::Undef, :value => :undef
1120
1317
  result
1121
1318
  end
1122
1319
  .,.,
1123
1320
 
1124
- module_eval <<'.,.,', 'grammar.ra', 272
1321
+ module_eval <<'.,.,', 'grammar.ra', 287
1125
1322
  def _reduce_61( val, _values, result )
1126
1323
  result = ast AST::Name, :value => val[0]
1127
1324
  result
1128
1325
  end
1129
1326
  .,.,
1130
1327
 
1131
- module_eval <<'.,.,', 'grammar.ra', 276
1328
+ module_eval <<'.,.,', 'grammar.ra', 291
1132
1329
  def _reduce_62( val, _values, result )
1133
1330
  result = ast AST::Type, :value => val[0]
1134
1331
  result
@@ -1147,7 +1344,7 @@ module_eval <<'.,.,', 'grammar.ra', 276
1147
1344
 
1148
1345
  # reduce 68 omitted
1149
1346
 
1150
- module_eval <<'.,.,', 'grammar.ra', 292
1347
+ module_eval <<'.,.,', 'grammar.ra', 307
1151
1348
  def _reduce_69( val, _values, result )
1152
1349
  if val[0] =~ /::/
1153
1350
  raise Puppet::ParseError, "Cannot assign to variables in other namespaces"
@@ -1159,22 +1356,30 @@ module_eval <<'.,.,', 'grammar.ra', 292
1159
1356
  end
1160
1357
  .,.,
1161
1358
 
1162
- module_eval <<'.,.,', 'grammar.ra', 297
1359
+ module_eval <<'.,.,', 'grammar.ra', 312
1163
1360
  def _reduce_70( val, _values, result )
1164
- result = ast AST::ASTArray
1361
+ variable = ast AST::Name, :value => val[0]
1362
+ result = ast AST::VarDef, :name => variable, :value => val[2], :append => true
1165
1363
  result
1166
1364
  end
1167
1365
  .,.,
1168
1366
 
1169
- module_eval <<'.,.,', 'grammar.ra', 297
1367
+ module_eval <<'.,.,', 'grammar.ra', 317
1170
1368
  def _reduce_71( val, _values, result )
1171
- result = val[0]
1369
+ result = ast AST::ASTArray
1172
1370
  result
1173
1371
  end
1174
1372
  .,.,
1175
1373
 
1176
- module_eval <<'.,.,', 'grammar.ra', 306
1374
+ module_eval <<'.,.,', 'grammar.ra', 317
1177
1375
  def _reduce_72( val, _values, result )
1376
+ result = val[0]
1377
+ result
1378
+ end
1379
+ .,.,
1380
+
1381
+ module_eval <<'.,.,', 'grammar.ra', 326
1382
+ def _reduce_73( val, _values, result )
1178
1383
  if val[0].instance_of?(AST::ASTArray)
1179
1384
  val[0].push(val[2])
1180
1385
  result = val[0]
@@ -1185,41 +1390,41 @@ module_eval <<'.,.,', 'grammar.ra', 306
1185
1390
  end
1186
1391
  .,.,
1187
1392
 
1188
- module_eval <<'.,.,', 'grammar.ra', 310
1189
- def _reduce_73( val, _values, result )
1393
+ module_eval <<'.,.,', 'grammar.ra', 330
1394
+ def _reduce_74( val, _values, result )
1190
1395
  result = ast AST::ResourceParam, :param => val[0], :value => val[2]
1191
1396
  result
1192
1397
  end
1193
1398
  .,.,
1194
1399
 
1195
- module_eval <<'.,.,', 'grammar.ra', 315
1196
- def _reduce_74( val, _values, result )
1400
+ module_eval <<'.,.,', 'grammar.ra', 335
1401
+ def _reduce_75( val, _values, result )
1197
1402
  result = ast AST::ResourceParam, :param => val[0], :value => val[2],
1198
1403
  :add => true
1199
1404
  result
1200
1405
  end
1201
1406
  .,.,
1202
1407
 
1203
- # reduce 75 omitted
1204
-
1205
1408
  # reduce 76 omitted
1206
1409
 
1207
- module_eval <<'.,.,', 'grammar.ra', 323
1208
- def _reduce_77( val, _values, result )
1410
+ # reduce 77 omitted
1411
+
1412
+ module_eval <<'.,.,', 'grammar.ra', 343
1413
+ def _reduce_78( val, _values, result )
1209
1414
  result = ast AST::ASTArray
1210
1415
  result
1211
1416
  end
1212
1417
  .,.,
1213
1418
 
1214
- module_eval <<'.,.,', 'grammar.ra', 323
1215
- def _reduce_78( val, _values, result )
1419
+ module_eval <<'.,.,', 'grammar.ra', 343
1420
+ def _reduce_79( val, _values, result )
1216
1421
  result = val[0]
1217
1422
  result
1218
1423
  end
1219
1424
  .,.,
1220
1425
 
1221
- module_eval <<'.,.,', 'grammar.ra', 332
1222
- def _reduce_79( val, _values, result )
1426
+ module_eval <<'.,.,', 'grammar.ra', 352
1427
+ def _reduce_80( val, _values, result )
1223
1428
  if val[0].instance_of?(AST::ASTArray)
1224
1429
  val[0].push(val[2])
1225
1430
  result = val[0]
@@ -1230,10 +1435,10 @@ module_eval <<'.,.,', 'grammar.ra', 332
1230
1435
  end
1231
1436
  .,.,
1232
1437
 
1233
- # reduce 80 omitted
1438
+ # reduce 81 omitted
1234
1439
 
1235
- module_eval <<'.,.,', 'grammar.ra', 341
1236
- def _reduce_81( val, _values, result )
1440
+ module_eval <<'.,.,', 'grammar.ra', 361
1441
+ def _reduce_82( val, _values, result )
1237
1442
  if val[0].instance_of?(AST::ASTArray)
1238
1443
  result = val[0].push(val[2])
1239
1444
  else
@@ -1243,8 +1448,6 @@ module_eval <<'.,.,', 'grammar.ra', 341
1243
1448
  end
1244
1449
  .,.,
1245
1450
 
1246
- # reduce 82 omitted
1247
-
1248
1451
  # reduce 83 omitted
1249
1452
 
1250
1453
  # reduce 84 omitted
@@ -1275,8 +1478,10 @@ module_eval <<'.,.,', 'grammar.ra', 341
1275
1478
 
1276
1479
  # reduce 97 omitted
1277
1480
 
1278
- module_eval <<'.,.,', 'grammar.ra', 368
1279
- def _reduce_98( val, _values, result )
1481
+ # reduce 98 omitted
1482
+
1483
+ module_eval <<'.,.,', 'grammar.ra', 388
1484
+ def _reduce_99( val, _values, result )
1280
1485
  args = aryfy(val[2])
1281
1486
  result = ast AST::Function,
1282
1487
  :name => val[0],
@@ -1286,8 +1491,8 @@ module_eval <<'.,.,', 'grammar.ra', 368
1286
1491
  end
1287
1492
  .,.,
1288
1493
 
1289
- module_eval <<'.,.,', 'grammar.ra', 373
1290
- def _reduce_99( val, _values, result )
1494
+ module_eval <<'.,.,', 'grammar.ra', 393
1495
+ def _reduce_100( val, _values, result )
1291
1496
  result = ast AST::Function,
1292
1497
  :name => val[0],
1293
1498
  :arguments => AST::ASTArray.new({}),
@@ -1296,44 +1501,44 @@ module_eval <<'.,.,', 'grammar.ra', 373
1296
1501
  end
1297
1502
  .,.,
1298
1503
 
1299
- module_eval <<'.,.,', 'grammar.ra', 377
1300
- def _reduce_100( val, _values, result )
1504
+ module_eval <<'.,.,', 'grammar.ra', 397
1505
+ def _reduce_101( val, _values, result )
1301
1506
  result = ast AST::String, :value => val[0]
1302
1507
  result
1303
1508
  end
1304
1509
  .,.,
1305
1510
 
1306
- module_eval <<'.,.,', 'grammar.ra', 379
1307
- def _reduce_101( val, _values, result )
1511
+ module_eval <<'.,.,', 'grammar.ra', 399
1512
+ def _reduce_102( val, _values, result )
1308
1513
  result = ast AST::FlatString, :value => val[0]
1309
1514
  result
1310
1515
  end
1311
1516
  .,.,
1312
1517
 
1313
- module_eval <<'.,.,', 'grammar.ra', 383
1314
- def _reduce_102( val, _values, result )
1518
+ module_eval <<'.,.,', 'grammar.ra', 403
1519
+ def _reduce_103( val, _values, result )
1315
1520
  result = ast AST::Boolean, :value => val[0]
1316
1521
  result
1317
1522
  end
1318
1523
  .,.,
1319
1524
 
1320
- module_eval <<'.,.,', 'grammar.ra', 388
1321
- def _reduce_103( val, _values, result )
1525
+ module_eval <<'.,.,', 'grammar.ra', 408
1526
+ def _reduce_104( val, _values, result )
1322
1527
  Puppet.warning addcontext("Deprecation notice: Resource references should now be capitalized")
1323
1528
  result = ast AST::ResourceReference, :type => val[0], :title => val[2]
1324
1529
  result
1325
1530
  end
1326
1531
  .,.,
1327
1532
 
1328
- module_eval <<'.,.,', 'grammar.ra', 390
1329
- def _reduce_104( val, _values, result )
1533
+ module_eval <<'.,.,', 'grammar.ra', 410
1534
+ def _reduce_105( val, _values, result )
1330
1535
  result = ast AST::ResourceReference, :type => val[0], :title => val[2]
1331
1536
  result
1332
1537
  end
1333
1538
  .,.,
1334
1539
 
1335
- module_eval <<'.,.,', 'grammar.ra', 403
1336
- def _reduce_105( val, _values, result )
1540
+ module_eval <<'.,.,', 'grammar.ra', 423
1541
+ def _reduce_106( val, _values, result )
1337
1542
  args = {
1338
1543
  :test => val[1],
1339
1544
  :statements => val[3]
@@ -1348,19 +1553,161 @@ module_eval <<'.,.,', 'grammar.ra', 403
1348
1553
  end
1349
1554
  .,.,
1350
1555
 
1351
- # reduce 106 omitted
1352
-
1353
- module_eval <<'.,.,', 'grammar.ra', 408
1556
+ module_eval <<'.,.,', 'grammar.ra', 435
1354
1557
  def _reduce_107( val, _values, result )
1355
- result = ast AST::Else, :statements => val[2]
1558
+ args = {
1559
+ :test => val[1],
1560
+ :statements => ast(AST::Nop)
1561
+ }
1562
+
1563
+ if val[4]
1564
+ args[:else] = val[4]
1565
+ end
1566
+
1567
+ result = ast AST::IfStatement, args
1356
1568
  result
1357
1569
  end
1358
1570
  .,.,
1359
1571
 
1360
1572
  # reduce 108 omitted
1361
1573
 
1362
- module_eval <<'.,.,', 'grammar.ra', 420
1574
+ module_eval <<'.,.,', 'grammar.ra', 440
1363
1575
  def _reduce_109( val, _values, result )
1576
+ result = ast AST::Else, :statements => val[2]
1577
+ result
1578
+ end
1579
+ .,.,
1580
+
1581
+ module_eval <<'.,.,', 'grammar.ra', 443
1582
+ def _reduce_110( val, _values, result )
1583
+ result = ast AST::Else, :statements => ast(AST::Nop)
1584
+ result
1585
+ end
1586
+ .,.,
1587
+
1588
+ # reduce 111 omitted
1589
+
1590
+ module_eval <<'.,.,', 'grammar.ra', 460
1591
+ def _reduce_112( val, _values, result )
1592
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1593
+ result
1594
+ end
1595
+ .,.,
1596
+
1597
+ module_eval <<'.,.,', 'grammar.ra', 463
1598
+ def _reduce_113( val, _values, result )
1599
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1600
+ result
1601
+ end
1602
+ .,.,
1603
+
1604
+ module_eval <<'.,.,', 'grammar.ra', 466
1605
+ def _reduce_114( val, _values, result )
1606
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1607
+ result
1608
+ end
1609
+ .,.,
1610
+
1611
+ module_eval <<'.,.,', 'grammar.ra', 469
1612
+ def _reduce_115( val, _values, result )
1613
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1614
+ result
1615
+ end
1616
+ .,.,
1617
+
1618
+ module_eval <<'.,.,', 'grammar.ra', 472
1619
+ def _reduce_116( val, _values, result )
1620
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1621
+ result
1622
+ end
1623
+ .,.,
1624
+
1625
+ module_eval <<'.,.,', 'grammar.ra', 475
1626
+ def _reduce_117( val, _values, result )
1627
+ result = ast AST::ArithmeticOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1628
+ result
1629
+ end
1630
+ .,.,
1631
+
1632
+ module_eval <<'.,.,', 'grammar.ra', 478
1633
+ def _reduce_118( val, _values, result )
1634
+ result = ast AST::Minus, :value => val[1]
1635
+ result
1636
+ end
1637
+ .,.,
1638
+
1639
+ module_eval <<'.,.,', 'grammar.ra', 481
1640
+ def _reduce_119( val, _values, result )
1641
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1642
+ result
1643
+ end
1644
+ .,.,
1645
+
1646
+ module_eval <<'.,.,', 'grammar.ra', 484
1647
+ def _reduce_120( val, _values, result )
1648
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1649
+ result
1650
+ end
1651
+ .,.,
1652
+
1653
+ module_eval <<'.,.,', 'grammar.ra', 487
1654
+ def _reduce_121( val, _values, result )
1655
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1656
+ result
1657
+ end
1658
+ .,.,
1659
+
1660
+ module_eval <<'.,.,', 'grammar.ra', 490
1661
+ def _reduce_122( val, _values, result )
1662
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1663
+ result
1664
+ end
1665
+ .,.,
1666
+
1667
+ module_eval <<'.,.,', 'grammar.ra', 493
1668
+ def _reduce_123( val, _values, result )
1669
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1670
+ result
1671
+ end
1672
+ .,.,
1673
+
1674
+ module_eval <<'.,.,', 'grammar.ra', 496
1675
+ def _reduce_124( val, _values, result )
1676
+ result = ast AST::ComparisonOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1677
+ result
1678
+ end
1679
+ .,.,
1680
+
1681
+ module_eval <<'.,.,', 'grammar.ra', 499
1682
+ def _reduce_125( val, _values, result )
1683
+ result = ast AST::Not, :value => val[1]
1684
+ result
1685
+ end
1686
+ .,.,
1687
+
1688
+ module_eval <<'.,.,', 'grammar.ra', 502
1689
+ def _reduce_126( val, _values, result )
1690
+ result = ast AST::BooleanOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1691
+ result
1692
+ end
1693
+ .,.,
1694
+
1695
+ module_eval <<'.,.,', 'grammar.ra', 505
1696
+ def _reduce_127( val, _values, result )
1697
+ result = ast AST::BooleanOperator, :operator => val[1], :lval => val[0], :rval => val[2]
1698
+ result
1699
+ end
1700
+ .,.,
1701
+
1702
+ module_eval <<'.,.,', 'grammar.ra', 508
1703
+ def _reduce_128( val, _values, result )
1704
+ result = val[1]
1705
+ result
1706
+ end
1707
+ .,.,
1708
+
1709
+ module_eval <<'.,.,', 'grammar.ra', 516
1710
+ def _reduce_129( val, _values, result )
1364
1711
  options = val[3]
1365
1712
  unless options.instance_of?(AST::ASTArray)
1366
1713
  options = ast AST::ASTArray, :children => [val[3]]
@@ -1370,10 +1717,10 @@ module_eval <<'.,.,', 'grammar.ra', 420
1370
1717
  end
1371
1718
  .,.,
1372
1719
 
1373
- # reduce 110 omitted
1720
+ # reduce 130 omitted
1374
1721
 
1375
- module_eval <<'.,.,', 'grammar.ra', 430
1376
- def _reduce_111( val, _values, result )
1722
+ module_eval <<'.,.,', 'grammar.ra', 526
1723
+ def _reduce_131( val, _values, result )
1377
1724
  if val[0].instance_of?(AST::ASTArray)
1378
1725
  val[0].push val[1]
1379
1726
  result = val[0]
@@ -1384,15 +1731,15 @@ module_eval <<'.,.,', 'grammar.ra', 430
1384
1731
  end
1385
1732
  .,.,
1386
1733
 
1387
- module_eval <<'.,.,', 'grammar.ra', 434
1388
- def _reduce_112( val, _values, result )
1734
+ module_eval <<'.,.,', 'grammar.ra', 530
1735
+ def _reduce_132( val, _values, result )
1389
1736
  result = ast AST::CaseOpt, :value => val[0], :statements => val[3]
1390
1737
  result
1391
1738
  end
1392
1739
  .,.,
1393
1740
 
1394
- module_eval <<'.,.,', 'grammar.ra', 439
1395
- def _reduce_113( val, _values, result )
1741
+ module_eval <<'.,.,', 'grammar.ra', 535
1742
+ def _reduce_133( val, _values, result )
1396
1743
  result = ast(AST::CaseOpt,
1397
1744
  :value => val[0],
1398
1745
  :statements => ast(AST::ASTArray)
@@ -1401,10 +1748,10 @@ module_eval <<'.,.,', 'grammar.ra', 439
1401
1748
  end
1402
1749
  .,.,
1403
1750
 
1404
- # reduce 114 omitted
1751
+ # reduce 134 omitted
1405
1752
 
1406
- module_eval <<'.,.,', 'grammar.ra', 449
1407
- def _reduce_115( val, _values, result )
1753
+ module_eval <<'.,.,', 'grammar.ra', 545
1754
+ def _reduce_135( val, _values, result )
1408
1755
  if val[0].instance_of?(AST::ASTArray)
1409
1756
  val[0].push(val[2])
1410
1757
  result = val[0]
@@ -1415,26 +1762,26 @@ module_eval <<'.,.,', 'grammar.ra', 449
1415
1762
  end
1416
1763
  .,.,
1417
1764
 
1418
- module_eval <<'.,.,', 'grammar.ra', 453
1419
- def _reduce_116( val, _values, result )
1765
+ module_eval <<'.,.,', 'grammar.ra', 549
1766
+ def _reduce_136( val, _values, result )
1420
1767
  result = ast AST::Selector, :param => val[0], :values => val[2]
1421
1768
  result
1422
1769
  end
1423
1770
  .,.,
1424
1771
 
1425
- # reduce 117 omitted
1772
+ # reduce 137 omitted
1426
1773
 
1427
- module_eval <<'.,.,', 'grammar.ra', 455
1428
- def _reduce_118( val, _values, result )
1774
+ module_eval <<'.,.,', 'grammar.ra', 551
1775
+ def _reduce_138( val, _values, result )
1429
1776
  result = val[1]
1430
1777
  result
1431
1778
  end
1432
1779
  .,.,
1433
1780
 
1434
- # reduce 119 omitted
1781
+ # reduce 139 omitted
1435
1782
 
1436
- module_eval <<'.,.,', 'grammar.ra', 466
1437
- def _reduce_120( val, _values, result )
1783
+ module_eval <<'.,.,', 'grammar.ra', 562
1784
+ def _reduce_140( val, _values, result )
1438
1785
  if val[0].instance_of?(AST::ASTArray)
1439
1786
  val[0].push(val[2])
1440
1787
  result = val[0]
@@ -1445,50 +1792,50 @@ module_eval <<'.,.,', 'grammar.ra', 466
1445
1792
  end
1446
1793
  .,.,
1447
1794
 
1448
- module_eval <<'.,.,', 'grammar.ra', 470
1449
- def _reduce_121( val, _values, result )
1795
+ module_eval <<'.,.,', 'grammar.ra', 566
1796
+ def _reduce_141( val, _values, result )
1450
1797
  result = ast AST::ResourceParam, :param => val[0], :value => val[2]
1451
1798
  result
1452
1799
  end
1453
1800
  .,.,
1454
1801
 
1455
- # reduce 122 omitted
1802
+ # reduce 142 omitted
1456
1803
 
1457
- # reduce 123 omitted
1804
+ # reduce 143 omitted
1458
1805
 
1459
- # reduce 124 omitted
1806
+ # reduce 144 omitted
1460
1807
 
1461
- # reduce 125 omitted
1808
+ # reduce 145 omitted
1462
1809
 
1463
- # reduce 126 omitted
1810
+ # reduce 146 omitted
1464
1811
 
1465
- # reduce 127 omitted
1812
+ # reduce 147 omitted
1466
1813
 
1467
- # reduce 128 omitted
1814
+ # reduce 148 omitted
1468
1815
 
1469
- module_eval <<'.,.,', 'grammar.ra', 481
1470
- def _reduce_129( val, _values, result )
1816
+ module_eval <<'.,.,', 'grammar.ra', 577
1817
+ def _reduce_149( val, _values, result )
1471
1818
  result = ast AST::Default, :value => val[0]
1472
1819
  result
1473
1820
  end
1474
1821
  .,.,
1475
1822
 
1476
- module_eval <<'.,.,', 'grammar.ra', 483
1477
- def _reduce_130( val, _values, result )
1823
+ module_eval <<'.,.,', 'grammar.ra', 579
1824
+ def _reduce_150( val, _values, result )
1478
1825
  result = [val[0].value]
1479
1826
  result
1480
1827
  end
1481
1828
  .,.,
1482
1829
 
1483
- module_eval <<'.,.,', 'grammar.ra', 487
1484
- def _reduce_131( val, _values, result )
1830
+ module_eval <<'.,.,', 'grammar.ra', 583
1831
+ def _reduce_151( val, _values, result )
1485
1832
  results = val[0] << val[2].value
1486
1833
  result
1487
1834
  end
1488
1835
  .,.,
1489
1836
 
1490
- module_eval <<'.,.,', 'grammar.ra', 495
1491
- def _reduce_132( val, _values, result )
1837
+ module_eval <<'.,.,', 'grammar.ra', 591
1838
+ def _reduce_152( val, _values, result )
1492
1839
  val[1].each do |file|
1493
1840
  import(file)
1494
1841
  end
@@ -1498,8 +1845,8 @@ module_eval <<'.,.,', 'grammar.ra', 495
1498
1845
  end
1499
1846
  .,.,
1500
1847
 
1501
- module_eval <<'.,.,', 'grammar.ra', 505
1502
- def _reduce_133( val, _values, result )
1848
+ module_eval <<'.,.,', 'grammar.ra', 601
1849
+ def _reduce_153( val, _values, result )
1503
1850
  newdefine classname(val[1]), :arguments => val[2], :code => val[4]
1504
1851
  @lexer.indefine = false
1505
1852
  result = nil
@@ -1509,8 +1856,8 @@ module_eval <<'.,.,', 'grammar.ra', 505
1509
1856
  end
1510
1857
  .,.,
1511
1858
 
1512
- module_eval <<'.,.,', 'grammar.ra', 509
1513
- def _reduce_134( val, _values, result )
1859
+ module_eval <<'.,.,', 'grammar.ra', 605
1860
+ def _reduce_154( val, _values, result )
1514
1861
  newdefine classname(val[1]), :arguments => val[2]
1515
1862
  @lexer.indefine = false
1516
1863
  result = nil
@@ -1518,8 +1865,8 @@ module_eval <<'.,.,', 'grammar.ra', 509
1518
1865
  end
1519
1866
  .,.,
1520
1867
 
1521
- module_eval <<'.,.,', 'grammar.ra', 517
1522
- def _reduce_135( val, _values, result )
1868
+ module_eval <<'.,.,', 'grammar.ra', 613
1869
+ def _reduce_155( val, _values, result )
1523
1870
  # Our class gets defined in the parent namespace, not our own.
1524
1871
  @lexer.namepop
1525
1872
  newclass classname(val[1]), :code => val[4], :parent => val[2]
@@ -1528,8 +1875,8 @@ module_eval <<'.,.,', 'grammar.ra', 517
1528
1875
  end
1529
1876
  .,.,
1530
1877
 
1531
- module_eval <<'.,.,', 'grammar.ra', 522
1532
- def _reduce_136( val, _values, result )
1878
+ module_eval <<'.,.,', 'grammar.ra', 618
1879
+ def _reduce_156( val, _values, result )
1533
1880
  # Our class gets defined in the parent namespace, not our own.
1534
1881
  @lexer.namepop
1535
1882
  newclass classname(val[1]), :parent => val[2]
@@ -1538,32 +1885,32 @@ module_eval <<'.,.,', 'grammar.ra', 522
1538
1885
  end
1539
1886
  .,.,
1540
1887
 
1541
- module_eval <<'.,.,', 'grammar.ra', 527
1542
- def _reduce_137( val, _values, result )
1888
+ module_eval <<'.,.,', 'grammar.ra', 623
1889
+ def _reduce_157( val, _values, result )
1543
1890
  newnode val[1], :parent => val[2], :code => val[4]
1544
1891
  result = nil
1545
1892
  result
1546
1893
  end
1547
1894
  .,.,
1548
1895
 
1549
- module_eval <<'.,.,', 'grammar.ra', 530
1550
- def _reduce_138( val, _values, result )
1896
+ module_eval <<'.,.,', 'grammar.ra', 626
1897
+ def _reduce_158( val, _values, result )
1551
1898
  newnode val[1], :parent => val[2]
1552
1899
  result = nil
1553
1900
  result
1554
1901
  end
1555
1902
  .,.,
1556
1903
 
1557
- # reduce 139 omitted
1904
+ # reduce 159 omitted
1558
1905
 
1559
- # reduce 140 omitted
1906
+ # reduce 160 omitted
1560
1907
 
1561
- # reduce 141 omitted
1908
+ # reduce 161 omitted
1562
1909
 
1563
- # reduce 142 omitted
1910
+ # reduce 162 omitted
1564
1911
 
1565
- module_eval <<'.,.,', 'grammar.ra', 544
1566
- def _reduce_143( val, _values, result )
1912
+ module_eval <<'.,.,', 'grammar.ra', 640
1913
+ def _reduce_163( val, _values, result )
1567
1914
  result = val[0]
1568
1915
  result = [result] unless result.is_a?(Array)
1569
1916
  result << val[2]
@@ -1571,49 +1918,49 @@ module_eval <<'.,.,', 'grammar.ra', 544
1571
1918
  end
1572
1919
  .,.,
1573
1920
 
1574
- # reduce 144 omitted
1921
+ # reduce 164 omitted
1575
1922
 
1576
- # reduce 145 omitted
1923
+ # reduce 165 omitted
1577
1924
 
1578
- # reduce 146 omitted
1925
+ # reduce 166 omitted
1579
1926
 
1580
- # reduce 147 omitted
1927
+ # reduce 167 omitted
1581
1928
 
1582
- module_eval <<'.,.,', 'grammar.ra', 553
1583
- def _reduce_148( val, _values, result )
1929
+ module_eval <<'.,.,', 'grammar.ra', 649
1930
+ def _reduce_168( val, _values, result )
1584
1931
  result = nil
1585
1932
  result
1586
1933
  end
1587
1934
  .,.,
1588
1935
 
1589
- module_eval <<'.,.,', 'grammar.ra', 557
1590
- def _reduce_149( val, _values, result )
1936
+ module_eval <<'.,.,', 'grammar.ra', 653
1937
+ def _reduce_169( val, _values, result )
1591
1938
  result = ast AST::ASTArray, :children => []
1592
1939
  result
1593
1940
  end
1594
1941
  .,.,
1595
1942
 
1596
- # reduce 150 omitted
1943
+ # reduce 170 omitted
1597
1944
 
1598
- module_eval <<'.,.,', 'grammar.ra', 562
1599
- def _reduce_151( val, _values, result )
1945
+ module_eval <<'.,.,', 'grammar.ra', 658
1946
+ def _reduce_171( val, _values, result )
1600
1947
  result = nil
1601
1948
  result
1602
1949
  end
1603
1950
  .,.,
1604
1951
 
1605
- module_eval <<'.,.,', 'grammar.ra', 566
1606
- def _reduce_152( val, _values, result )
1952
+ module_eval <<'.,.,', 'grammar.ra', 662
1953
+ def _reduce_172( val, _values, result )
1607
1954
  result = val[1]
1608
1955
  result = [result] unless result[0].is_a?(Array)
1609
1956
  result
1610
1957
  end
1611
1958
  .,.,
1612
1959
 
1613
- # reduce 153 omitted
1960
+ # reduce 173 omitted
1614
1961
 
1615
- module_eval <<'.,.,', 'grammar.ra', 573
1616
- def _reduce_154( val, _values, result )
1962
+ module_eval <<'.,.,', 'grammar.ra', 669
1963
+ def _reduce_174( val, _values, result )
1617
1964
  result = val[0]
1618
1965
  result = [result] unless result[0].is_a?(Array)
1619
1966
  result << val[2]
@@ -1621,67 +1968,67 @@ module_eval <<'.,.,', 'grammar.ra', 573
1621
1968
  end
1622
1969
  .,.,
1623
1970
 
1624
- module_eval <<'.,.,', 'grammar.ra', 578
1625
- def _reduce_155( val, _values, result )
1971
+ module_eval <<'.,.,', 'grammar.ra', 674
1972
+ def _reduce_175( val, _values, result )
1626
1973
  Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
1627
1974
  result = [val[0], val[2]]
1628
1975
  result
1629
1976
  end
1630
1977
  .,.,
1631
1978
 
1632
- module_eval <<'.,.,', 'grammar.ra', 582
1633
- def _reduce_156( val, _values, result )
1979
+ module_eval <<'.,.,', 'grammar.ra', 678
1980
+ def _reduce_176( val, _values, result )
1634
1981
  Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
1635
1982
  result = [val[0]]
1636
1983
  result
1637
1984
  end
1638
1985
  .,.,
1639
1986
 
1640
- module_eval <<'.,.,', 'grammar.ra', 584
1641
- def _reduce_157( val, _values, result )
1987
+ module_eval <<'.,.,', 'grammar.ra', 680
1988
+ def _reduce_177( val, _values, result )
1642
1989
  result = [val[0], val[2]]
1643
1990
  result
1644
1991
  end
1645
1992
  .,.,
1646
1993
 
1647
- module_eval <<'.,.,', 'grammar.ra', 586
1648
- def _reduce_158( val, _values, result )
1994
+ module_eval <<'.,.,', 'grammar.ra', 682
1995
+ def _reduce_178( val, _values, result )
1649
1996
  result = [val[0]]
1650
1997
  result
1651
1998
  end
1652
1999
  .,.,
1653
2000
 
1654
- # reduce 159 omitted
2001
+ # reduce 179 omitted
1655
2002
 
1656
- module_eval <<'.,.,', 'grammar.ra', 591
1657
- def _reduce_160( val, _values, result )
2003
+ module_eval <<'.,.,', 'grammar.ra', 687
2004
+ def _reduce_180( val, _values, result )
1658
2005
  result = val[1]
1659
2006
  result
1660
2007
  end
1661
2008
  .,.,
1662
2009
 
1663
- # reduce 161 omitted
2010
+ # reduce 181 omitted
1664
2011
 
1665
- module_eval <<'.,.,', 'grammar.ra', 596
1666
- def _reduce_162( val, _values, result )
2012
+ module_eval <<'.,.,', 'grammar.ra', 692
2013
+ def _reduce_182( val, _values, result )
1667
2014
  result = val[1]
1668
2015
  result
1669
2016
  end
1670
2017
  .,.,
1671
2018
 
1672
- # reduce 163 omitted
2019
+ # reduce 183 omitted
1673
2020
 
1674
- # reduce 164 omitted
2021
+ # reduce 184 omitted
1675
2022
 
1676
- module_eval <<'.,.,', 'grammar.ra', 602
1677
- def _reduce_165( val, _values, result )
2023
+ module_eval <<'.,.,', 'grammar.ra', 698
2024
+ def _reduce_185( val, _values, result )
1678
2025
  result = ast AST::Variable, :value => val[0]
1679
2026
  result
1680
2027
  end
1681
2028
  .,.,
1682
2029
 
1683
- module_eval <<'.,.,', 'grammar.ra', 610
1684
- def _reduce_166( val, _values, result )
2030
+ module_eval <<'.,.,', 'grammar.ra', 706
2031
+ def _reduce_186( val, _values, result )
1685
2032
  if val[1].instance_of?(AST::ASTArray)
1686
2033
  result = val[1]
1687
2034
  else
@@ -1691,21 +2038,32 @@ module_eval <<'.,.,', 'grammar.ra', 610
1691
2038
  end
1692
2039
  .,.,
1693
2040
 
1694
- module_eval <<'.,.,', 'grammar.ra', 612
1695
- def _reduce_167( val, _values, result )
2041
+ module_eval <<'.,.,', 'grammar.ra', 713
2042
+ def _reduce_187( val, _values, result )
2043
+ if val[1].instance_of?(AST::ASTArray)
2044
+ result = val[1]
2045
+ else
2046
+ result = ast AST::ASTArray, :children => [val[1]]
2047
+ end
2048
+ result
2049
+ end
2050
+ .,.,
2051
+
2052
+ module_eval <<'.,.,', 'grammar.ra', 715
2053
+ def _reduce_188( val, _values, result )
1696
2054
  result = ast AST::ASTArray
1697
2055
  result
1698
2056
  end
1699
2057
  .,.,
1700
2058
 
1701
- # reduce 168 omitted
2059
+ # reduce 189 omitted
1702
2060
 
1703
- # reduce 169 omitted
2061
+ # reduce 190 omitted
1704
2062
 
1705
- # reduce 170 omitted
2063
+ # reduce 191 omitted
1706
2064
 
1707
- module_eval <<'.,.,', 'grammar.ra', 617
1708
- def _reduce_171( val, _values, result )
2065
+ module_eval <<'.,.,', 'grammar.ra', 720
2066
+ def _reduce_192( val, _values, result )
1709
2067
  result = nil
1710
2068
  result
1711
2069
  end