Skip to content

Commit

Permalink
Added support for arbitrary directives to the kpeg grammar.
Browse files Browse the repository at this point in the history
Added support for a "header" directive to the kpeg code formatter.  The header
directive is placed in the output above all other output.

Switched to minitest from test/unit to support warnings emitted by the kpeg
grammar.

Bugs in the kpeg code generator no longer overwrite files.
  • Loading branch information
drbrain committed Mar 6, 2012
1 parent 12bff00 commit 8829c66
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .autotest
@@ -0,0 +1,10 @@
require 'autotest/restart'

Autotest.add_hook :run_command do |at|
system "#{Gem.ruby} -rubygems #{Gem.bin_path 'rake', 'rake'} parser"
end

Autotest.add_hook :initialize do |at|
at.testlib = 'minitest/unit'
end

0 comments on commit 8829c66

Please sign in to comment.