[ruby-list:519] Re: ruby 0.99.2 modified release

From: j_kuro@... (Jun Kuroda)
Date: 1996-09-14 11:48:25 UTC
List: ruby-list #519
黒田%VF3貧乏への道を歩むのか?です.

 >まつもと ゆきひろです.
 >
 >見付かったバグを修正した 0.99.2-960914 をリリースしました.

おかしいと思うところについて報告します.

1. for について

for i in 0..9
             ^
parse error

となります.

#sample/test.rb にもあるのに, test succeeded する. ?
#for i in 0 .. 9 なら大丈夫.

2. struct.c について

JCC_BSD+ 1.0 #100 + gcc 2.7.2 で

collect2: ld returned 1 exit status
ext/marshal/marshal.o: In function `r_object':
ext/marshal/marshal.o(.text+0x154c): undefined reference to `struct_alloc'

というので, struct_alloc の定義位置を make_struct より上にして,
l.114 の static VALUE struct_alloc(); を削除しました.

#よくわかりません.

3. linux 2.0.18 , elf での make test

./ruby sample/test.rb

: (ずっと ok)
alias
ok 1
ok 2
ok 3
gc
ok 1
Segmentation fault

となります. gc のブロックを抜けたところで落ちてるようです.

4. ruby-mode.el

if (/hoge/)
  print "a"
elsif (/hogo/)
print "b"
else
print "c"
end

となってしまいます. mule2.3@19.28.1 で使っています.
- --
黒田  淳 (Kuroda Jun)
<URL:mailto:j_kuro@pluto.ai.kyutech.ac.jp>
<URL:http://www.pluto.ai.kyutech.ac.jp/~j_kuro/>

In This Thread

Prev Next