summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-15 20:07:29 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-15 20:07:29 +0000
commit9bd5593b98b7de2bb5293439abde7200d9f97412 (patch)
tree66581b8c70c8cca11504fe490be582fedcd573ad /lib/puppet/parser
parentb9ed053939f0e4c3a4c906b252127d8228ac7d26 (diff)
downloadpuppet-9bd5593b98b7de2bb5293439abde7200d9f97412.tar.gz
puppet-9bd5593b98b7de2bb5293439abde7200d9f97412.tar.xz
puppet-9bd5593b98b7de2bb5293439abde7200d9f97412.zip
adding explicit load of ast/branch to its subclasses
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1780 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/ast/casestatement.rb2
-rw-r--r--lib/puppet/parser/ast/ifstatement.rb2
-rw-r--r--lib/puppet/parser/ast/selector.rb2
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/casestatement.rb b/lib/puppet/parser/ast/casestatement.rb
index a9e3ee573..6543293b4 100644
--- a/lib/puppet/parser/ast/casestatement.rb
+++ b/lib/puppet/parser/ast/casestatement.rb
@@ -1,3 +1,5 @@
+require 'puppet/parser/ast/branch'
+
class Puppet::Parser::AST
# The basic logical structure in Puppet. Supports a list of
# tests and statement arrays.
diff --git a/lib/puppet/parser/ast/ifstatement.rb b/lib/puppet/parser/ast/ifstatement.rb
index b5cb63cdf..300f68dab 100644
--- a/lib/puppet/parser/ast/ifstatement.rb
+++ b/lib/puppet/parser/ast/ifstatement.rb
@@ -1,3 +1,5 @@
+require 'puppet/parser/ast/branch'
+
class Puppet::Parser::AST
# A basic 'if/elsif/else' statement.
class IfStatement < AST::Branch
diff --git a/lib/puppet/parser/ast/selector.rb b/lib/puppet/parser/ast/selector.rb
index fe3fe9eaf..94b7a5583 100644
--- a/lib/puppet/parser/ast/selector.rb
+++ b/lib/puppet/parser/ast/selector.rb
@@ -1,3 +1,5 @@
+require 'puppet/parser/ast/branch'
+
class Puppet::Parser::AST
# The inline conditional operator. Unlike CaseStatement, which executes
# code, we just return a value.