repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* transcode.c (trans_open_i): check the result of rb_transcoding_open.
[ruby-svn.git]
/
tool
/
insns2vm.rb
blob
47aba50c1e1ef4a35904577232498fb1a2e40f3a
1
#!ruby -Kn
2
3
require 'optparse'
4
5
Version = %w$Revision: 11626 $[1..-1]
6
7
require "#{File.join(File.dirname(__FILE__), 'instruction')}"
8
9
if $0 == __FILE__
10
opts = ARGV.options
11
maker = RubyVM::SourceCodeGenerator.def_options(opts)
12
files = opts.parse!
13
generator = maker.call
14
generator.generate(files)
15
end