コンパイルの問題 (r15218)

r15128 e$BEv$?$j$Ge(B (e$B<B$O$b$&>/$7A0$+$ie(B)
e$B%3%s%Q%$%k$G$-$J$/$J$j$^$7$?!#e(B

e$BLdBj$O<!$NDL$je(B:

ruby ./tool/insns2vm.rb --srcdir="."
/cygdrive/d/ruby/tool/instruction.rb:239:in `block in load_insns_def:
broken US-ASCII string (ArgumentError)

e$B2?$,860x$J$N$+J,$+$j$^$;$s!#$=$b$=$b!"$J$<$G$3$N$H$3$m$Ge(B US-ASCII
e$B$,e(B
[email protected]$G$9!#e(B

e$B59$7$/$*4j$$$7$^$9!#e(B Martin.

#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:[email protected]

e$B%P%s%5%s$H?=$7$^$9!#e(B

ruby ./tool/insns2vm.rb --srcdir="."
/cygdrive/d/ruby/tool/instruction.rb:239:in `block in
load_insns_def: broken US-ASCII string (ArgumentError)

e$B2?$,860x$J$N$+J,$+$j$^$;$s!#$=$b$=$b!"$J$<$G$3$N$H$3$m$Ge(B US-
ASCII e$B$,e(B
[email protected]$G$9!#e(B

$PATHe$B$Ne(Brubye$B$,e(B1.9e$B$8$c$J$+$C$?$iLdBj$J$$$G$9$1$I!D>@$Ke(B
ruby-1.9e$B$r<B9T$7$?$i!;d$N4D6-$G$O0J2<$N%(%i!<$,=P$^$9!e(B
~/src/ruby% ruby-1.9 ./tool/insns2vm.rb --srcdir="."
/Users/vincent/src/ruby/tool/instruction.rb:239:in `block in
load_insns_def: broken UTF-8 string (ArgumentError)

e$BLdBj$Oe(Binsns.defe$B$,e(BShift_JISe$B$r;H$C$F$$$k;v$G$9!#0Je(B
e$B2<$N%Q%C%A$,$3$NLdBj$rD>$9$N$G$7$g$&!#e(B

===================================================================
tool/instruction.rb (revision 15129)
+++ tool/instruction.rb (working copy)
@@ -210,7 +210,7 @@
body = insn = opes = pops = rets = nil
comment =

  •  vpath.open(file) {|f|
    
  •  vpath.open(file, 'r:sjis') {|f|
        f.instance_variable_set(:@line_no, 0)
        class << f
          def line_no

[email protected]@%$G$9!#e(B

Vincent I. wrote:

/Users/vincent/src/ruby/tool/instruction.rb:239:in `block in
comment =

  •  vpath.open(file) {|f|
    
  •  vpath.open(file, 'r:sjis') {|f|
       f.instance_variable_set(:@line_no, 0)
       class << f
         def line_no
    

[email protected]$"$j$,$H$&$4$6$$$^$9!#[email protected]$He(BRuby 1.8
e$B$G%(%i!<$,=P$k$N$Ge(B -Ks e$B$re(B
e$B$D$1$k$3$H$K$7$^$7$?!#e([email protected]$5$l$F$$$k$O$:$G$9!#e(B

[email protected]@%$G$9!#e(B

Martin D. wrote:

Vincent, [email protected]@%$5$s!BP:v$$j$,$H$&$4$6$$$^$9!#e(B

e$B:,K\E*$J2r7h:v$H$7$F%3%a%s%H$J$I$bA4Ite(B ascii e$B$K$9$k$N$G$O$J$$$+e(B
e$B$H;W$$$^$9$,!"$I$N%U%!%$%k$G$7$g$&$+!#e(B

insns.def e$B$G$9$M!#1Q8l$N%3%a%s%H$HF|K\8le(B (Shift_JIS)
e$B$N%3%a%s%HN>J}$"$ke(B
e$B$N$GG:$^$7$$$H$3$m$G$9!#e(B

Vincent, [email protected]@%$5$s!BP:v$$j$,$H$&$4$6$$$^$9!#e(B

e$B:,K\E*$J2r7h:v$H$7$F%3%a%s%H$J$I$bA4Ite(B ascii
e$B$K$9$k$N$G$O$J$$$+e(B
e$B$H;W$$$^$9$,!"$I$N%U%!%$%k$G$7$g$&$+!#e(B

e$B59$7$/!"e(B Martin.

At 10:03 08/01/20, NARUSE, Yui wrote:

[email protected]@%$G$9!#e(B

Vincent I. wrote:

ruby ./tool/insns2vm.rb --srcdir="."
/cygdrive/d/ruby/tool/instruction.rb:239:in `block in load_insns_def:
broken US-ASCII string (ArgumentError)

  •  vpath.open(file) {|f|
    

DBDB A476 FDBD 9450 02CD 0EFC BCE3 C388 472E C1EA
#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs