summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-09 21:22:25 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-09 21:22:25 +0000
commit8ceb1f30496d89f883d9dfa00d5eab001dcd1450 (patch)
tree7361801b20a5822c1d7a7101bdea83ec39c372af /lib/puppet/parser/ast.rb
parent4ca7ece1f294488615d5899cb4710c5cb13c5e23 (diff)
downloadpuppet-8ceb1f30496d89f883d9dfa00d5eab001dcd1450.tar.gz
puppet-8ceb1f30496d89f883d9dfa00d5eab001dcd1450.tar.xz
puppet-8ceb1f30496d89f883d9dfa00d5eab001dcd1450.zip
Found a bug where single-value selectors can fail on a second compile. Fixed it, and am now compiling all snippets twice.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1250 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast.rb')
-rw-r--r--lib/puppet/parser/ast.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb
index 4c5226108..6d84e6402 100644
--- a/lib/puppet/parser/ast.rb
+++ b/lib/puppet/parser/ast.rb
@@ -79,6 +79,9 @@ module Puppet
error.line ||= @line
error.file ||= @file
error.backtrace = detail.backtrace
+ if Puppet[:debug]
+ puts detail.backtrace
+ end
raise error
end
end