Racc on ruby 1.9


#1

e$B$U$H5$$,$D$$$?$s$G$9$,!"e(Bracc e$B$,e(B ruby 1.9
e$B$GF0$+$J$$$h$&$J5$$,$7$^$9!#e(B

% cvs -d :pserver:removed_email_address@domain.invalid:/src co racc
% cd racc
% ruby setup.rb

% cd sample
% racc -ocalc.rb calc-ja.y
/tmp/a/lib/ruby/site_ruby/1.9/racc/parser.rb:99:in catch': no block given (LocalJumpError) from /tmp/a/lib/ruby/site_ruby/1.9/racc/parser.rb:99 from /tmp/a/lib/ruby/site_ruby/1.9/racc/parser.rb:99:indo_parse’
from
/tmp/a/lib/ruby/site_ruby/1.9/racc/grammarfileparser.rb:37:in
Racc::GrammarFileParser#parse' from /tmp/a/lib/ruby/site_ruby/1.9/racc/compiler.rb:77:inRacc::Compiler#parse’
from /tmp/a/bin/racc:46:in racc_main0' from /tmp/a/bin/racc:29:inracc_main’
from /tmp/a/bin/racc:527
% ruby -v
ruby 1.9.0 (2006-03-20) [i686-linux]


#2

e$B@DLZ$G$9!#e(B

In mail “[ruby-dev:28445] racc on ruby 1.9”
Tanaka A. removed_email_address@domain.invalid wrote:

e$B$U$H5$$,$D$$$?$s$G$9$,!"e(Bracc e$B$,e(B ruby 1.9 e$B$GF0$+$J$$$h$&$J5$$,$7$^$9!#e(B

% racc -ocalc.rb calc-ja.y
/tmp/a/lib/ruby/site_ruby/1.9/racc/parser.rb:99:in `catch’: no block given (LocalJumpError)

e$B$b$N$9$4$/;~4V$,$?$C$F$7$^$$$^$7$?$,!"=$@5$7$^$7$?!#e(BC e$B$+$ie(B
Ruby
e$B$N%a%=%C%I$K%V%m%C%/$rM?$($k$H$-$Ke(B rb_iterate + rb_funcall
e$B$re(B
e$B;H$C$F$?$N$,860x$G$7$?!#e(B