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.
- data/CHANGELOG +206 -0
- data/Rakefile +53 -0
- data/bin/filebucket +0 -0
- data/bin/puppet +32 -11
- data/bin/puppetca +1 -0
- data/bin/puppetd +0 -0
- data/bin/puppetdoc +0 -0
- data/bin/puppetmasterd +0 -0
- data/bin/puppetrun +16 -8
- data/bin/ralsh +0 -0
- data/conf/debian/rules +0 -0
- data/conf/gentoo/init.d/puppetmaster +0 -0
- data/conf/osx/PackageInfo.plist +36 -0
- data/conf/osx/createpackage.sh +167 -0
- data/conf/osx/preflight +12 -0
- data/conf/redhat/client.init +1 -1
- data/conf/redhat/puppet.spec +34 -6
- data/conf/redhat/server.init +42 -7
- data/conf/redhat/server.sysconfig +22 -0
- data/conf/solaris/smf/svc-puppetd +0 -0
- data/conf/solaris/smf/svc-puppetmasterd +0 -0
- data/examples/etc/init.d/sleeper +0 -0
- data/examples/mac_dscl.pp +0 -0
- data/examples/mac_dscl_revert.pp +0 -0
- data/examples/mac_netinfo.pp +0 -0
- data/examples/mac_pkgdmg.pp +0 -0
- data/ext/bin/sleeper +0 -0
- data/ext/module_puppet +0 -0
- data/ext/nagios/check_puppet.rb +0 -0
- data/ext/passenger/README +63 -0
- data/ext/passenger/apache2.conf +29 -0
- data/ext/passenger/config.ru +40 -0
- data/ext/puppet-test +0 -0
- data/ext/puppetlast +6 -31
- data/ext/puppetstoredconfigclean.rb +87 -0
- data/install.rb +75 -20
- data/lib/puppet.rb +1 -1
- data/lib/puppet/daemon.rb +0 -0
- data/lib/puppet/defaults.rb +3 -7
- data/lib/puppet/external/base64.rb +0 -0
- data/lib/puppet/external/nagios.rb +0 -0
- data/lib/puppet/external/nagios/base.rb +0 -0
- data/lib/puppet/file_serving/fileset.rb +2 -2
- data/lib/puppet/file_serving/metadata.rb +3 -3
- data/lib/puppet/indirector/facts/facter.rb +3 -2
- data/lib/puppet/indirector/yaml.rb +10 -1
- data/lib/puppet/module.rb +36 -12
- data/lib/puppet/network/authstore.rb +0 -0
- data/lib/puppet/network/client/master.rb +12 -11
- data/lib/puppet/network/handler/filebucket.rb +0 -0
- data/lib/puppet/network/handler/fileserver.rb +38 -46
- data/lib/puppet/network/handler/master.rb +1 -1
- data/lib/puppet/network/handler/report.rb +0 -0
- data/lib/puppet/network/handler/resource.rb +0 -0
- data/lib/puppet/network/handler/runner.rb +0 -0
- data/lib/puppet/network/http_server/rack.rb +148 -0
- data/lib/puppet/network/rights.rb +0 -0
- data/lib/puppet/network/xmlrpc/client.rb +5 -5
- data/lib/puppet/node.rb +5 -9
- data/lib/puppet/node/environment.rb +1 -17
- data/lib/puppet/node/facts.rb +0 -0
- data/lib/puppet/parameter.rb +1 -28
- data/lib/puppet/parser/ast.rb +6 -0
- data/lib/puppet/parser/ast/arithmetic_operator.rb +41 -0
- data/lib/puppet/parser/ast/boolean_operator.rb +48 -0
- data/lib/puppet/parser/ast/collexpr.rb +6 -1
- data/lib/puppet/parser/ast/comparison_operator.rb +37 -0
- data/lib/puppet/parser/ast/minus.rb +23 -0
- data/lib/puppet/parser/ast/nop.rb +11 -0
- data/lib/puppet/parser/ast/not.rb +19 -0
- data/lib/puppet/parser/ast/resource_override.rb +23 -16
- data/lib/puppet/parser/ast/resource_reference.rb +10 -6
- data/lib/puppet/parser/ast/vardef.rb +2 -2
- data/lib/puppet/parser/collector.rb +2 -1
- data/lib/puppet/parser/functions.rb +7 -217
- data/lib/puppet/parser/functions/defined.rb +27 -0
- data/lib/puppet/parser/functions/fail.rb +4 -0
- data/lib/puppet/parser/functions/file.rb +21 -0
- data/lib/puppet/parser/functions/fqdn_rand.rb +15 -0
- data/lib/puppet/parser/functions/generate.rb +35 -0
- data/lib/puppet/parser/functions/include.rb +26 -0
- data/lib/puppet/parser/functions/realize.rb +14 -0
- data/lib/puppet/parser/functions/search.rb +7 -0
- data/lib/puppet/parser/functions/sha1.rb +6 -0
- data/lib/puppet/parser/functions/tag.rb +6 -0
- data/lib/puppet/parser/functions/tagged.rb +18 -0
- data/lib/puppet/parser/functions/template.rb +22 -0
- data/lib/puppet/parser/lexer.rb +15 -5
- data/lib/puppet/parser/parser.rb +1073 -715
- data/lib/puppet/parser/parser_support.rb +18 -13
- data/lib/puppet/parser/resource.rb +1 -1
- data/lib/puppet/parser/resource/param.rb +10 -2
- data/lib/puppet/parser/scope.rb +63 -5
- data/lib/puppet/parser/templatewrapper.rb +61 -15
- data/lib/puppet/property.rb +7 -1
- data/lib/puppet/property/keyvalue.rb +96 -0
- data/lib/puppet/property/list.rb +78 -0
- data/lib/puppet/provider/confine.rb +1 -1
- data/lib/puppet/provider/confine/variable.rb +10 -1
- data/lib/puppet/provider/cron/crontab.rb +0 -0
- data/lib/puppet/provider/mailalias/aliases.rb +0 -0
- data/lib/puppet/provider/maillist/mailman.rb +0 -0
- data/lib/puppet/provider/mount/parsed.rb +0 -0
- data/lib/puppet/provider/nameservice.rb +24 -39
- data/lib/puppet/provider/nameservice/directoryservice.rb +12 -3
- data/lib/puppet/provider/nameservice/netinfo.rb +12 -2
- data/lib/puppet/provider/nameservice/objectadd.rb +1 -10
- data/lib/puppet/provider/package/appdmg.rb +1 -1
- data/lib/puppet/provider/package/apple.rb +0 -0
- data/lib/puppet/provider/package/apt.rb +14 -21
- data/lib/puppet/provider/package/aptitude.rb +0 -0
- data/lib/puppet/provider/package/blastwave.rb +2 -0
- data/lib/puppet/provider/package/darwinport.rb +0 -0
- data/lib/puppet/provider/package/dpkg.rb +33 -51
- data/lib/puppet/provider/package/fink.rb +1 -1
- data/lib/puppet/provider/package/freebsd.rb +0 -0
- data/lib/puppet/provider/package/gem.rb +0 -0
- data/lib/puppet/provider/package/hpux.rb +46 -0
- data/lib/puppet/provider/package/openbsd.rb +0 -0
- data/lib/puppet/provider/package/pkgdmg.rb +1 -1
- data/lib/puppet/provider/package/portage.rb +3 -1
- data/lib/puppet/provider/package/ports.rb +3 -3
- data/lib/puppet/provider/package/rpm.rb +8 -1
- data/lib/puppet/provider/package/rug.rb +2 -2
- data/lib/puppet/provider/package/sun.rb +2 -0
- data/lib/puppet/provider/package/sunfreeware.rb +3 -0
- data/lib/puppet/provider/package/yum.rb +24 -17
- data/lib/puppet/provider/package/yumhelper.py +92 -11
- data/lib/puppet/provider/parsedfile.rb +0 -0
- data/lib/puppet/provider/port/parsed.rb +0 -0
- data/lib/puppet/provider/selboolean/getsetsebool.rb +47 -0
- data/lib/puppet/provider/selmodule/semodule.rb +143 -0
- data/lib/puppet/provider/service/base.rb +0 -0
- data/lib/puppet/provider/service/daemontools.rb +154 -0
- data/lib/puppet/provider/service/debian.rb +1 -1
- data/lib/puppet/provider/service/freebsd.rb +2 -0
- data/lib/puppet/provider/service/gentoo.rb +2 -0
- data/lib/puppet/provider/service/init.rb +0 -0
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/runit.rb +93 -0
- data/lib/puppet/provider/service/smf.rb +2 -0
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +7 -1
- data/lib/puppet/provider/sshkey/parsed.rb +0 -0
- data/lib/puppet/provider/user/hpux.rb +30 -0
- data/lib/puppet/provider/user/user_role_add.rb +156 -0
- data/lib/puppet/provider/user/useradd.rb +23 -14
- data/lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb +17 -0
- data/lib/puppet/rails/database/schema.rb +0 -8
- data/lib/puppet/rails/resource.rb +6 -6
- data/lib/puppet/reference/configuration.rb +0 -7
- data/lib/puppet/reports.rb +0 -0
- data/lib/puppet/reports/rrdgraph.rb +3 -2
- data/lib/puppet/sslcertificates.rb +0 -0
- data/lib/puppet/sslcertificates/inventory.rb +3 -2
- data/lib/puppet/sslcertificates/support.rb +3 -0
- data/lib/puppet/transaction/report.rb +1 -7
- data/lib/puppet/transportable.rb +10 -7
- data/lib/puppet/type.rb +2110 -14
- data/lib/puppet/type/cron.rb +0 -0
- data/lib/puppet/type/exec.rb +0 -0
- data/lib/puppet/type/file.rb +12 -2
- data/lib/puppet/type/file/checksum.rb +4 -0
- data/lib/puppet/type/file/content.rb +0 -0
- data/lib/puppet/type/file/ensure.rb +0 -0
- data/lib/puppet/type/file/group.rb +30 -43
- data/lib/puppet/type/file/mode.rb +0 -0
- data/lib/puppet/type/file/owner.rb +0 -0
- data/lib/puppet/type/file/selcontext.rb +104 -0
- data/lib/puppet/type/file/source.rb +0 -0
- data/lib/puppet/type/file/type.rb +0 -0
- data/lib/puppet/type/filebucket.rb +0 -0
- data/lib/puppet/type/group.rb +0 -8
- data/lib/puppet/type/host.rb +0 -0
- data/lib/puppet/type/mailalias.rb +0 -0
- data/lib/puppet/type/maillist.rb +0 -0
- data/lib/puppet/type/mount.rb +0 -0
- data/lib/puppet/type/package.rb +2 -2
- data/lib/puppet/type/port.rb +0 -0
- data/lib/puppet/type/schedule.rb +0 -0
- data/lib/puppet/type/selboolean.rb +31 -0
- data/lib/puppet/type/selmodule.rb +54 -0
- data/lib/puppet/type/ssh_authorized_key.rb +3 -3
- data/lib/puppet/type/sshkey.rb +0 -0
- data/lib/puppet/type/tidy.rb +0 -0
- data/lib/puppet/type/user.rb +153 -137
- data/lib/puppet/type/yumrepo.rb +18 -2
- data/lib/puppet/type/zone.rb +5 -1
- data/lib/puppet/util.rb +7 -7
- data/lib/puppet/util/filetype.rb +7 -0
- data/lib/puppet/util/instance_loader.rb +0 -0
- data/lib/puppet/util/ldap/connection.rb +11 -1
- data/lib/puppet/util/ldap/manager.rb +1 -1
- data/lib/puppet/util/loadedfile.rb +0 -0
- data/lib/puppet/util/log.rb +42 -43
- data/lib/puppet/util/metric.rb +23 -9
- data/lib/puppet/util/posix.rb +69 -18
- data/lib/puppet/util/selinux.rb +139 -0
- data/lib/puppet/util/settings.rb +5 -7
- data/lib/puppet/util/user_attr.rb +21 -0
- data/test/certmgr/ca.rb +0 -0
- data/test/certmgr/certmgr.rb +0 -0
- data/test/certmgr/inventory.rb +0 -0
- data/test/certmgr/support.rb +0 -0
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys1 +3 -0
- data/test/data/snippets/append.pp +11 -0
- data/test/data/snippets/arithmetic_expression.pp +8 -0
- data/test/data/snippets/arraytrailingcomma.pp +3 -0
- data/test/data/snippets/emptyifelse.pp +9 -0
- data/test/data/snippets/funccomma.pp +5 -0
- data/test/data/snippets/ifexpression.rb +6 -0
- data/test/data/snippets/subclass_name_duplication.pp +0 -0
- data/test/executables/filebucket.rb +0 -0
- data/test/executables/puppetbin.rb +0 -0
- data/test/executables/puppetca.rb +0 -0
- data/test/executables/puppetd.rb +0 -0
- data/test/executables/puppetmasterd.rb +0 -0
- data/test/executables/puppetmodule.rb +0 -0
- data/test/language/ast.rb +0 -0
- data/test/language/ast/casestatement.rb +0 -0
- data/test/language/ast/resource.rb +0 -0
- data/test/language/ast/resource_reference.rb +0 -28
- data/test/language/ast/selector.rb +0 -0
- data/test/language/ast/variable.rb +0 -0
- data/test/language/functions.rb +91 -12
- data/test/language/parser.rb +21 -0
- data/test/language/resource.rb +0 -0
- data/test/language/scope.rb +28 -0
- data/test/language/snippets.rb +14 -0
- data/test/language/transportable.rb +0 -0
- data/test/lib/puppettest.rb +0 -0
- data/test/lib/puppettest/reporttesting.rb +0 -2
- data/test/lib/puppettest/runnable_test.rb +2 -0
- data/test/lib/puppettest/support/resources.rb +0 -0
- data/test/network/authconfig.rb +0 -0
- data/test/network/authorization.rb +0 -0
- data/test/network/authstore.rb +0 -0
- data/test/network/client/ca.rb +0 -0
- data/test/network/client/client.rb +0 -0
- data/test/network/client/dipper.rb +0 -0
- data/test/network/client/master.rb +2 -6
- data/test/network/client/resource.rb +0 -0
- data/test/network/client_request.rb +0 -0
- data/test/network/daemon.rb +0 -0
- data/test/network/handler/bucket.rb +0 -0
- data/test/network/handler/ca.rb +0 -0
- data/test/network/handler/fileserver.rb +8 -0
- data/test/network/handler/handler.rb +0 -0
- data/test/network/handler/master.rb +3 -1
- data/test/network/handler/report.rb +0 -0
- data/test/network/handler/resource.rb +0 -0
- data/test/network/handler/runner.rb +0 -0
- data/test/network/rights.rb +0 -0
- data/test/network/server/mongrel_test.rb +0 -0
- data/test/network/server/webrick.rb +0 -0
- data/test/network/xmlrpc/client.rb +0 -0
- data/test/network/xmlrpc/processor.rb +0 -0
- data/test/network/xmlrpc/server.rb +0 -0
- data/test/network/xmlrpc/webrick_servlet.rb +0 -0
- data/test/other/dsl.rb +0 -0
- data/test/other/events.rb +0 -0
- data/test/other/overrides.rb +0 -0
- data/test/other/provider.rb +0 -0
- data/test/other/puppet.rb +0 -0
- data/test/other/relationships.rb +0 -0
- data/test/other/report.rb +2 -4
- data/test/other/transactions.rb +1 -1
- data/test/puppet/conffiles.rb +0 -0
- data/test/puppet/defaults.rb +0 -0
- data/test/puppet/errortest.rb +0 -0
- data/test/puppet/tc_suidmanager.rb +0 -0
- data/test/rails/ast.rb +0 -0
- data/test/rails/configuration.rb +0 -0
- data/test/rails/host.rb +0 -0
- data/test/rails/rails.rb +0 -0
- data/test/rails/railsparameter.rb +0 -0
- data/test/rails/railsresource.rb +0 -0
- data/test/ral/manager/attributes.rb +0 -0
- data/test/ral/manager/instances.rb +0 -0
- data/test/ral/manager/manager.rb +0 -0
- data/test/ral/manager/provider.rb +0 -0
- data/test/ral/manager/type.rb +0 -0
- data/test/ral/providers/cron/crontab.rb +0 -0
- data/test/ral/providers/group.rb +14 -13
- data/test/ral/providers/host/netinfo.rb +0 -0
- data/test/ral/providers/host/parsed.rb +0 -0
- data/test/ral/providers/mailalias/aliases.rb +0 -0
- data/test/ral/providers/mount/netinfo.rb +0 -0
- data/test/ral/providers/nameservice.rb +0 -0
- data/test/ral/providers/package.rb +0 -31
- data/test/ral/providers/package/aptitude.rb +1 -2
- data/test/ral/providers/package/aptrpm.rb +2 -2
- data/test/ral/providers/parsedfile.rb +0 -0
- data/test/ral/providers/port/parsed.rb +0 -0
- data/test/ral/providers/provider.rb +0 -0
- data/test/ral/providers/service/base.rb +0 -0
- data/test/ral/providers/service/debian.rb +0 -0
- data/test/ral/providers/sshkey/parsed.rb +0 -0
- data/test/ral/providers/user.rb +8 -8
- data/test/ral/providers/user/useradd.rb +0 -0
- data/test/ral/type/basic.rb +0 -0
- data/test/ral/type/cron.rb +0 -0
- data/test/ral/type/exec.rb +0 -0
- data/test/ral/type/file.rb +0 -0
- data/test/ral/type/file/target.rb +0 -0
- data/test/ral/type/filebucket.rb +0 -0
- data/test/ral/type/fileignoresource.rb +0 -0
- data/test/ral/type/filesources.rb +1 -3
- data/test/ral/type/group.rb +0 -0
- data/test/ral/type/host.rb +0 -0
- data/test/ral/type/mailalias.rb +1 -2
- data/test/ral/type/parameter.rb +0 -0
- data/test/ral/type/port.rb +0 -0
- data/test/ral/type/property.rb +0 -0
- data/test/ral/type/resources.rb +0 -0
- data/test/ral/type/service.rb +0 -0
- data/test/ral/type/sshkey.rb +0 -0
- data/test/ral/type/tidy.rb +0 -0
- data/test/ral/type/user.rb +0 -50
- data/test/ral/type/yumrepo.rb +7 -1
- data/test/ral/type/zone.rb +0 -0
- data/test/test +0 -0
- data/test/util/autoload.rb +0 -0
- data/test/util/classgen.rb +0 -0
- data/test/util/execution.rb +0 -0
- data/test/util/features.rb +0 -0
- data/test/util/fileparsing.rb +0 -0
- data/test/util/filetype.rb +0 -0
- data/test/util/inifile.rb +0 -0
- data/test/util/instance_loader.rb +0 -0
- data/test/util/log.rb +0 -59
- data/test/util/metrics.rb +0 -0
- data/test/util/package.rb +0 -0
- data/test/util/pidlock.rb +0 -0
- data/test/util/settings.rb +0 -0
- data/test/util/storage.rb +0 -0
- data/test/util/subclass_loader.rb +0 -0
- data/test/util/utiltest.rb +0 -0
- metadata +54 -19
- data/lib/puppet/metatype/attributes.rb +0 -685
- data/lib/puppet/metatype/closure.rb +0 -49
- data/lib/puppet/metatype/container.rb +0 -50
- data/lib/puppet/metatype/evaluation.rb +0 -163
- data/lib/puppet/metatype/instances.rb +0 -305
- data/lib/puppet/metatype/metaparams.rb +0 -423
- data/lib/puppet/metatype/providers.rb +0 -247
- data/lib/puppet/metatype/relationships.rb +0 -115
- data/lib/puppet/metatype/schedules.rb +0 -33
- data/lib/puppet/metatype/tags.rb +0 -38
- data/lib/puppet/util/plist.rb +0 -23
- data/lib/puppet/util/plist/generator.rb +0 -225
- data/lib/puppet/util/plist/parser.rb +0 -226
- data/test/ral/providers/package/apt.rb +0 -169
- data/test/ral/providers/package/dpkg.rb +0 -64
- 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
|
data/lib/puppet/parser/lexer.rb
CHANGED
@@ -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 :
|
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
|
|
data/lib/puppet/parser/parser.rb
CHANGED
@@ -29,7 +29,7 @@ module Puppet
|
|
29
29
|
|
30
30
|
class Parser < Racc::Parser
|
31
31
|
|
32
|
-
module_eval <<'..end grammar.ra modeval..
|
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..
|
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,
|
51
|
-
1,
|
52
|
-
1,
|
53
|
-
2,
|
54
|
-
1,
|
55
|
-
1,
|
56
|
-
1,
|
57
|
-
1,
|
58
|
-
1,
|
59
|
-
1,
|
60
|
-
1,
|
61
|
-
1,
|
62
|
-
1,
|
63
|
-
1,
|
64
|
-
1,
|
65
|
-
1,
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
1,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
1,
|
76
|
-
1,
|
77
|
-
1,
|
78
|
-
1,
|
79
|
-
1,
|
80
|
-
1,
|
81
|
-
1,
|
82
|
-
|
83
|
-
5,
|
84
|
-
5,
|
85
|
-
5,
|
86
|
-
5,
|
87
|
-
2,
|
88
|
-
1,
|
89
|
-
2,
|
90
|
-
2,
|
91
|
-
3,
|
92
|
-
3,
|
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
|
-
|
118
|
-
|
119
|
-
|
120
|
-
1,
|
121
|
-
|
122
|
-
3,
|
123
|
-
3,
|
124
|
-
1,
|
125
|
-
1,
|
126
|
-
|
127
|
-
1,
|
128
|
-
3,
|
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
|
-
|
131
|
-
1,
|
132
|
-
1,
|
133
|
-
1,
|
134
|
-
1,
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
1,
|
139
|
-
|
140
|
-
|
141
|
-
|
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
|
-
|
179
|
-
1,
|
180
|
-
3,
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
1,
|
189
|
-
1,
|
190
|
-
1,
|
191
|
-
1,
|
192
|
-
|
193
|
-
1,
|
194
|
-
1,
|
195
|
-
1,
|
196
|
-
1,
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
3,
|
201
|
-
|
202
|
-
1,
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
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
|
-
|
212
|
-
|
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
|
-
|
215
|
-
|
216
|
-
|
217
|
-
1,
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
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
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
nil, nil, nil,
|
267
|
-
nil,
|
268
|
-
|
269
|
-
nil,
|
270
|
-
|
271
|
-
|
272
|
-
nil,
|
273
|
-
|
274
|
-
nil,
|
275
|
-
|
276
|
-
nil, nil,
|
277
|
-
|
278
|
-
nil,
|
279
|
-
|
280
|
-
nil, nil,
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
nil, nil,
|
289
|
-
|
290
|
-
nil,
|
291
|
-
nil,
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
nil,
|
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
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
nil,
|
338
|
-
|
339
|
-
|
340
|
-
nil,
|
341
|
-
|
342
|
-
|
343
|
-
nil,
|
344
|
-
|
345
|
-
nil,
|
346
|
-
|
347
|
-
nil, nil,
|
348
|
-
|
349
|
-
nil,
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
nil, nil,
|
360
|
-
|
361
|
-
nil,
|
362
|
-
nil,
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
nil,
|
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
|
-
|
370
|
-
nil,
|
371
|
-
nil,
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
nil, nil, nil,
|
382
|
-
nil,
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
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
|
-
-
|
400
|
-
|
401
|
-
|
402
|
-
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
-
|
408
|
-
-
|
409
|
-
|
410
|
-
|
411
|
-
-
|
412
|
-
-
|
413
|
-
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
-
|
419
|
-
|
420
|
-
-
|
421
|
-
|
422
|
-
-
|
423
|
-
-
|
424
|
-
|
425
|
-
|
426
|
-
-
|
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
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
nil,
|
436
|
-
nil,
|
437
|
-
|
438
|
-
nil, nil,
|
439
|
-
nil,
|
440
|
-
nil, nil,
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
nil,
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
nil, nil,
|
451
|
-
|
452
|
-
|
453
|
-
nil, nil,
|
454
|
-
nil,
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
nil,
|
461
|
-
nil,
|
462
|
-
|
463
|
-
nil, nil,
|
464
|
-
nil,
|
465
|
-
nil, nil,
|
466
|
-
nil, nil,
|
467
|
-
|
468
|
-
nil,
|
469
|
-
nil,
|
470
|
-
nil, nil, nil,
|
471
|
-
nil,
|
472
|
-
nil, nil,
|
473
|
-
nil,
|
474
|
-
nil,
|
475
|
-
nil, nil,
|
476
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
477
|
-
nil, nil, nil, nil, nil,
|
478
|
-
|
479
|
-
|
480
|
-
|
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
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
nil,
|
490
|
-
nil,
|
491
|
-
|
492
|
-
nil, nil,
|
493
|
-
|
494
|
-
nil, nil,
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
nil, nil,
|
505
|
-
nil, nil, 23, nil,
|
506
|
-
|
507
|
-
nil, nil,
|
508
|
-
nil,
|
509
|
-
|
510
|
-
|
511
|
-
22,
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
nil,
|
516
|
-
|
517
|
-
nil, nil,
|
518
|
-
nil,
|
519
|
-
nil, nil,
|
520
|
-
nil, nil,
|
521
|
-
|
522
|
-
nil,
|
523
|
-
nil,
|
524
|
-
nil, nil, nil,
|
525
|
-
nil,
|
526
|
-
nil, nil,
|
527
|
-
nil,
|
528
|
-
nil,
|
529
|
-
nil, nil,
|
530
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
531
|
-
nil, nil, nil, nil, nil,
|
532
|
-
nil, nil, nil, nil, nil, nil,
|
533
|
-
|
534
|
-
|
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,
|
538
|
-
nil, nil, nil, nil, nil, nil, nil,
|
539
|
-
-
|
540
|
-
|
541
|
-
nil, nil,
|
542
|
-
nil, -
|
543
|
-
|
544
|
-
|
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,
|
548
|
-
18,
|
549
|
-
|
550
|
-
nil, nil, nil,
|
551
|
-
|
552
|
-
|
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
|
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
|
-
:
|
572
|
-
:
|
573
|
-
:
|
574
|
-
:
|
575
|
-
:
|
576
|
-
:
|
577
|
-
:
|
578
|
-
:
|
579
|
-
:
|
580
|
-
:
|
581
|
-
:
|
582
|
-
:
|
583
|
-
:
|
584
|
-
:
|
585
|
-
:
|
586
|
-
:
|
587
|
-
:
|
588
|
-
:
|
589
|
-
:
|
590
|
-
:
|
591
|
-
:
|
592
|
-
:
|
593
|
-
:
|
594
|
-
:
|
595
|
-
:
|
596
|
-
:
|
597
|
-
:
|
598
|
-
:
|
599
|
-
:
|
600
|
-
:
|
601
|
-
:
|
602
|
-
:
|
603
|
-
:
|
604
|
-
:
|
605
|
-
:
|
606
|
-
:
|
607
|
-
:
|
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 =
|
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
|
-
'
|
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',
|
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',
|
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
|
-
|
827
|
-
|
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',
|
838
|
-
def
|
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',
|
848
|
-
def
|
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
|
-
|
865
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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',
|
1099
|
+
module_eval <<'.,.,', 'grammar.ra', 130
|
897
1100
|
def _reduce_33( val, _values, result )
|
898
|
-
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
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',
|
1359
|
+
module_eval <<'.,.,', 'grammar.ra', 312
|
1163
1360
|
def _reduce_70( val, _values, result )
|
1164
|
-
|
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',
|
1367
|
+
module_eval <<'.,.,', 'grammar.ra', 317
|
1170
1368
|
def _reduce_71( val, _values, result )
|
1171
|
-
|
1369
|
+
result = ast AST::ASTArray
|
1172
1370
|
result
|
1173
1371
|
end
|
1174
1372
|
.,.,
|
1175
1373
|
|
1176
|
-
module_eval <<'.,.,', 'grammar.ra',
|
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',
|
1189
|
-
def
|
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',
|
1196
|
-
def
|
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
|
-
|
1208
|
-
|
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',
|
1215
|
-
def
|
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',
|
1222
|
-
def
|
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
|
1438
|
+
# reduce 81 omitted
|
1234
1439
|
|
1235
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1236
|
-
def
|
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
|
-
|
1279
|
-
|
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',
|
1290
|
-
def
|
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',
|
1300
|
-
def
|
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',
|
1307
|
-
def
|
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',
|
1314
|
-
def
|
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',
|
1321
|
-
def
|
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',
|
1329
|
-
def
|
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',
|
1336
|
-
def
|
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
|
-
|
1352
|
-
|
1353
|
-
module_eval <<'.,.,', 'grammar.ra', 408
|
1556
|
+
module_eval <<'.,.,', 'grammar.ra', 435
|
1354
1557
|
def _reduce_107( val, _values, result )
|
1355
|
-
|
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',
|
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
|
1720
|
+
# reduce 130 omitted
|
1374
1721
|
|
1375
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1376
|
-
def
|
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',
|
1388
|
-
def
|
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',
|
1395
|
-
def
|
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
|
1751
|
+
# reduce 134 omitted
|
1405
1752
|
|
1406
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1407
|
-
def
|
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',
|
1419
|
-
def
|
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
|
1772
|
+
# reduce 137 omitted
|
1426
1773
|
|
1427
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1428
|
-
def
|
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
|
1781
|
+
# reduce 139 omitted
|
1435
1782
|
|
1436
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1437
|
-
def
|
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',
|
1449
|
-
def
|
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
|
1802
|
+
# reduce 142 omitted
|
1456
1803
|
|
1457
|
-
# reduce
|
1804
|
+
# reduce 143 omitted
|
1458
1805
|
|
1459
|
-
# reduce
|
1806
|
+
# reduce 144 omitted
|
1460
1807
|
|
1461
|
-
# reduce
|
1808
|
+
# reduce 145 omitted
|
1462
1809
|
|
1463
|
-
# reduce
|
1810
|
+
# reduce 146 omitted
|
1464
1811
|
|
1465
|
-
# reduce
|
1812
|
+
# reduce 147 omitted
|
1466
1813
|
|
1467
|
-
# reduce
|
1814
|
+
# reduce 148 omitted
|
1468
1815
|
|
1469
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1470
|
-
def
|
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',
|
1477
|
-
def
|
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',
|
1484
|
-
def
|
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',
|
1491
|
-
def
|
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',
|
1502
|
-
def
|
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',
|
1513
|
-
def
|
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',
|
1522
|
-
def
|
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',
|
1532
|
-
def
|
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',
|
1542
|
-
def
|
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',
|
1550
|
-
def
|
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
|
1904
|
+
# reduce 159 omitted
|
1558
1905
|
|
1559
|
-
# reduce
|
1906
|
+
# reduce 160 omitted
|
1560
1907
|
|
1561
|
-
# reduce
|
1908
|
+
# reduce 161 omitted
|
1562
1909
|
|
1563
|
-
# reduce
|
1910
|
+
# reduce 162 omitted
|
1564
1911
|
|
1565
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1566
|
-
def
|
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
|
1921
|
+
# reduce 164 omitted
|
1575
1922
|
|
1576
|
-
# reduce
|
1923
|
+
# reduce 165 omitted
|
1577
1924
|
|
1578
|
-
# reduce
|
1925
|
+
# reduce 166 omitted
|
1579
1926
|
|
1580
|
-
# reduce
|
1927
|
+
# reduce 167 omitted
|
1581
1928
|
|
1582
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1583
|
-
def
|
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',
|
1590
|
-
def
|
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
|
1943
|
+
# reduce 170 omitted
|
1597
1944
|
|
1598
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1599
|
-
def
|
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',
|
1606
|
-
def
|
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
|
1960
|
+
# reduce 173 omitted
|
1614
1961
|
|
1615
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1616
|
-
def
|
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',
|
1625
|
-
def
|
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',
|
1633
|
-
def
|
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',
|
1641
|
-
def
|
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',
|
1648
|
-
def
|
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
|
2001
|
+
# reduce 179 omitted
|
1655
2002
|
|
1656
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1657
|
-
def
|
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
|
2010
|
+
# reduce 181 omitted
|
1664
2011
|
|
1665
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1666
|
-
def
|
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
|
2019
|
+
# reduce 183 omitted
|
1673
2020
|
|
1674
|
-
# reduce
|
2021
|
+
# reduce 184 omitted
|
1675
2022
|
|
1676
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1677
|
-
def
|
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',
|
1684
|
-
def
|
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',
|
1695
|
-
def
|
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
|
2059
|
+
# reduce 189 omitted
|
1702
2060
|
|
1703
|
-
# reduce
|
2061
|
+
# reduce 190 omitted
|
1704
2062
|
|
1705
|
-
# reduce
|
2063
|
+
# reduce 191 omitted
|
1706
2064
|
|
1707
|
-
module_eval <<'.,.,', 'grammar.ra',
|
1708
|
-
def
|
2065
|
+
module_eval <<'.,.,', 'grammar.ra', 720
|
2066
|
+
def _reduce_192( val, _values, result )
|
1709
2067
|
result = nil
|
1710
2068
|
result
|
1711
2069
|
end
|