1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (node_name.inc): remove command option -n and give

file as stdin, because IronRuby 1.1 still doesn't support it.
  So now we can use ir.exe as BASERUBY.

* tool/node_name.rb: read stdin with while gets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-08-29 07:09:40 +00:00
parent 79316a1c73
commit 8ffeda041b
3 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,6 @@
#! ./miniruby -n
if ~/enum node_type \{/..~/^\};/
~/(NODE_.+),/ and puts(" case #{$1}:\n\treturn \"#{$1}\";")
#! ./miniruby
while gets
if ~/enum node_type \{/..~/^\};/
~/(NODE_.+),/ and puts(" case #{$1}:\n\treturn \"#{$1}\";")
end
end