Permalink
Browse files

Added support for arbitrary directives to the kpeg grammar.

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 8829c666d6c6f38f59a481bdadbf1204f8a040b5
Showing with 10 additions and 0 deletions.
  1. +10 −0 .autotest
View
@@ -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.