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:
parent
79316a1c73
commit
8ffeda041b
3 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
Sun Aug 29 16:02:54 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Sun Aug 29 13:22:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm.c (rb_thread_method_id_and_class): curried proc has no
|
||||
|
|
|
@ -725,7 +725,7 @@ id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl
|
|||
$(srcdir)/template/id.h.tmpl --vpath=$(VPATH) parse.h
|
||||
|
||||
node_name.inc: {$(VPATH)}node.h
|
||||
$(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@
|
||||
$(BASERUBY) -n $(srcdir)/tool/node_name.rb < $? > $@
|
||||
|
||||
encdb.h: $(PREP) $(srcdir)/tool/generic_erb.rb $(srcdir)/template/encdb.h.tmpl
|
||||
$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/encdb.h.tmpl $(srcdir)/enc enc
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue