summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-17 21:43:51 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-17 21:43:51 +0000
commiteed85f41ffc31649032114b7aa89a541d239a257 (patch)
tree72b83438166fec47d107fa6d2c98261bfde76f60 /lib/puppet/parser/ast
parent8410c4dc5bfbb450ea740be42e0f0d712bf86e7a (diff)
Adding #629 -- an undef keyword now exists
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2522 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast')
-rw-r--r--lib/puppet/parser/ast/leaf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/leaf.rb b/lib/puppet/parser/ast/leaf.rb
index ed02c4eef..c2fd0939d 100644
--- a/lib/puppet/parser/ast/leaf.rb
+++ b/lib/puppet/parser/ast/leaf.rb
@@ -66,6 +66,9 @@ class Puppet::Parser::AST
# double-colon separated class names
class ClassName < AST::Leaf; end
+ # undef values; equiv to nil
+ class Undef < AST::Leaf; end
+
# Host names, either fully qualified or just the short name
class HostName < AST::Leaf
def initialize(hash)