From 2351cd728400a2293c8af8b4dda30d2176a8e3d0 Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 6 Mar 2006 21:27:23 +0000 Subject: making case statements not create a new scope git-svn-id: https://reductivelabs.com/svn/puppet/trunk@990 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast/caseopt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/ast/caseopt.rb b/lib/puppet/parser/ast/caseopt.rb index 6b0e23c3e..f6f2457d9 100644 --- a/lib/puppet/parser/ast/caseopt.rb +++ b/lib/puppet/parser/ast/caseopt.rb @@ -61,7 +61,7 @@ class Puppet::Parser::AST # our option matched. def evaluate(hash) scope = hash[:scope] - return @statements.safeevaluate(:scope => scope.newscope) + return @statements.safeevaluate(:scope => scope) end def tree(indent = 0) -- cgit