summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/ast.rb')
-rw-r--r--lib/puppet/parser/ast.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb
index 7aedfb1cc..03f390fa9 100644
--- a/lib/puppet/parser/ast.rb
+++ b/lib/puppet/parser/ast.rb
@@ -12,8 +12,8 @@ module Puppet
AST = Puppet::Parser::AST
Puppet.setdefaults("ast",
- [:typecheck, true, "Whether to validate types during parsing."],
- [:paramcheck, true, "Whether to validate parameters during parsing."]
+ :typecheck => [true, "Whether to validate types during parsing."],
+ :paramcheck => [true, "Whether to validate parameters during parsing."]
)
attr_accessor :line, :file, :parent, :scope