lib/lrama/command.rb in lrama-0.6.5 vs lib/lrama/command.rb in lrama-0.6.6

- old
+ new

@@ -45,9 +45,14 @@ if options.trace_opts && options.trace_opts[:rules] puts "Grammar rules:" puts grammar.rules end + if options.trace_opts && options.trace_opts[:actions] + puts "Grammar rules with actions:" + grammar.rules.each { |rule| puts rule.with_actions } + end + File.open(options.outfile, "w+") do |f| Lrama::Output.new( out: f, output_file_path: options.outfile, template_name: options.skeleton,