summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/checksum.rb2
-rwxr-xr-xtool/rbinstall.rb2
-rw-r--r--tool/transcode-tblgen.rb6
3 files changed, 5 insertions, 5 deletions
@@ -67,6 +67,6 @@ class Checksum
def self.update(argv)
k = new(VPath.new)
k.source, k.target, *argv = k.def_options.parse(*argv)
- k.update {|k| yield(k, *argv)}
end
end
@@ -590,7 +590,7 @@ install?(:local, :comm, :man) do
STDIN.reopen(f)
begin
destfile << suffix
- IO.popen(compress) {|f| f.read}
ensure
STDIN.reopen(stdin)
stdin.close
@@ -145,7 +145,7 @@ class ActionMap
else
b = $1.to_i(16)
e = $2.to_i(16)
- b.upto(e) {|c| set[c] = true }
end
}
i = nil
@@ -297,10 +297,10 @@ class ActionMap
raise ArgumentError, "ambiguous pattern: #{prefix}" if min.length != prefix.length
h[action] = true
end
- region_rects.each {|min, max, action|
raise ArgumentError, "ambiguous pattern: #{prefix}" if !min.empty?
h[action] = true
- }
tree = Action.new(block.call(prefix, h.keys))
h.clear
else