summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-20 22:32:23 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-20 22:32:23 +0000
commitafed9a17224ab28788b3f64008c13ce18c1ca914 (patch)
treee334a7c82519cdb0666a78cba004b7b70113a40a /lib/puppet/parser
parente88bf774d53911a8e30ed52f0a4685d382d56d91 (diff)
downloadpuppet-afed9a17224ab28788b3f64008c13ce18c1ca914.tar.gz
puppet-afed9a17224ab28788b3f64008c13ce18c1ca914.tar.xz
puppet-afed9a17224ab28788b3f64008c13ce18c1ca914.zip
adding an extra make target for debugging, rather than defaulting to always creating the debug file
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1637 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/makefile3
-rw-r--r--lib/puppet/parser/parser.rb4
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/puppet/parser/makefile b/lib/puppet/parser/makefile
index 9ec6265de..c4911d097 100644
--- a/lib/puppet/parser/makefile
+++ b/lib/puppet/parser/makefile
@@ -2,4 +2,7 @@
# ryacc --output parser grammar
parser.rb: grammar.ra
+ racc -o$@ grammar.ra
+
+grammar.output: grammar.ra
racc -v -o$@ grammar.ra
diff --git a/lib/puppet/parser/parser.rb b/lib/puppet/parser/parser.rb
index a79f18b0e..3cda43ee0 100644
--- a/lib/puppet/parser/parser.rb
+++ b/lib/puppet/parser/parser.rb
@@ -29,7 +29,7 @@ module Puppet
class Parser < Racc::Parser
-module_eval <<'..end grammar.ra modeval..id1e49212871', 'grammar.ra', 603
+module_eval <<'..end grammar.ra modeval..idc4b6d943e3', 'grammar.ra', 603
require 'puppet/parser/functions'
attr_reader :file
@@ -172,7 +172,7 @@ end
# $Id$
-..end grammar.ra modeval..id1e49212871
+..end grammar.ra modeval..idc4b6d943e3
##### racc 1.4.5 generates ###