summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-10-18 10:28:21 +0000
committermurphy <murphy@rubychan.de>2006-10-18 10:28:21 +0000
commitec08216346b0d73b9118dbf498cff675924d40b0 (patch)
tree8976acc19c2784e525a214f889be8b0cf841a6c9 /bench
parent4666c2ced49f4b45f6106f0a9cb728c3f2fb1814 (diff)
downloadcoderay-ec08216346b0d73b9118dbf498cff675924d40b0.tar.gz
Fixed warning in bench.rb.
Ruby Scanner: improved handling of ambiguos values. - operator methods are now :ident instead of :operator - fancy_allowed and regexp_allowed are now value_expected - value_expected works in operator method calls - tests enhanced and adjusted Scanner tests: new diffed option, diff doesn't imply noassert anymore
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index c34c738..29e2e40 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -53,7 +53,6 @@ $dump_input = lang == 'dump'
$dump_output = format == 'dump'
require 'coderay/helpers/gzip_simple.rb' if $dump_input
-MYDIR = File.dirname __FILE__
def here fn = nil
return MYDIR unless fn
File.join here, fn