トップ «前の日記(2004-01-05) 最新 次の日記(2004-01-11)» 編集

Devlog

2002|11|12|
2003|01|02|03|05|06|07|08|09|10|11|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|05|06|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|
2007|03|04|05|06|07|09|10|11|
2008|02|03|

2004-01-07 [長年日記]

_ [Ruby] Ripper

SourceForgeを見に行ったら、CVSの中身が空でした(^^;

_ 1.7ベースのRipperをメンテしていくのだろうか? それとも1.8系列で作り直す?

_ [etc] ヒゲのレーザー脱毛(2)

2回目の照射してきました。皮膚の下で育っていたヒゲの細胞を処理できた感触。

_ CVSのparse.yの日付を見ると2003/12/31だから1.8系列ということなんだろうか?

_ テストしようと思ったがコンパイルエラー発生。テスト出来ない。

gcc -fPIC -g -O2  -fPIC  -I. -I/usr/local/lib/ruby/1.9/i686-linux -I/usr/local/l
ib/ruby/1.9/i686-linux -I.   -DRIPPER -c ripper.c -oripper.o
ripper.y: In function `ripper_yylex0':
ripper.y:6284: warning: assignment makes pointer from integer without a cast
ripper.y:6287: error: dereferencing pointer to incomplete type
ripper.y:6289: error: dereferencing pointer to incomplete type
ripper.y:6291: error: dereferencing pointer to incomplete type
ripper.y:6300: error: dereferencing pointer to incomplete type
ripper.y:6302: error: dereferencing pointer to incomplete type
ripper.y:6302: error: dereferencing pointer to incomplete type
ripper.y:6304: error: dereferencing pointer to incomplete type
make: *** [ripper.o] Error 1

_ make cleanしてmake再実行したら直った。変なの。

試しにRubyのlib/をパースさせてみたら、generator.rb,set.rbで
 sig.rb:43:in `parse': [Ripper FATAL] unknown token -1 (RuntimeError)
とパースエラーが発生した。