Lack in pp

e$B$3$s$K$A$O!#:XF#$H?=$7$^$9!#e(B

e$B<+J,$Oe(Bppe$B$K>$7$/$O$J$$$N$G$9$,!"B8:_$9$kMWAG$,I=<($5$l$J$$$N$Oe(B
e$BJQ$G$O$J$$$G$7$g$&$+!#e(B

$ ruby -rpp -ve ‘a=[1,[2,3]]; puts PP.pp(a, “”); pp a’
ruby 1.9.0 (2006-06-19) [powerpc-darwin8.6.0]
[1, 2]
1

In article [email protected],
Tadashi S. [email protected] writes:

e$B<+J,$Oe(Bppe$B$K>$7$/$O$J$$$N$G$9$,!"B8:_$9$kMWAG$,I=<($5$l$J$$$N$Oe(B
e$BJQ$G$O$J$$$G$7$g$&$+!#e(B

$ ruby -rpp -ve ‘a=[1,[2,3]]; puts PP.pp(a, “”); pp a’
ruby 1.9.0 (2006-06-19) [powerpc-darwin8.6.0]
[1, 2]
1

e$B$?$7$+$KJQ$G$9$,!"8=:_$Ne(B 1.9 e$B$O$I$&$7$h$&$b$J$$$H;W$&$N$G!"e(B
e$BD4$Y$k5$$K$J$j$^$;$s!#e(B

1.9 e$B$r;H$&$H$-$O%F%9%He(B (make check) e$B$7$F$+$i$K$7$?$[$&$,$$$$e(B
e$B$H;W$$$^$9!#e(B

e$B%F%9%H$,DL$k$h$&$K$J$C$F$b$^[email protected]$,5/$3$k$h$&$G$"$l$P!"$^$?e(B
e$BJs9p$7$F$/[email protected]$5$$!#e(B

e$B:XF#$H?=$7$^$9!#e(B

On Mon, 19 Jun 2006 12:11:59 +0900
Tanaka A. [email protected] wrote:

e$B$?$7$+$KJQ$G$9$,!"8=:_$Ne(B 1.9 e$B$O$I$&$7$h$&$b$J$$$H;W$&$N$G!"e(B
e$BD4$Y$k5$$K$J$j$^$;$s!#e(B

1.9 e$B$r;H$&$H$-$O%F%9%He(B (make check) e$B$7$F$+$i$K$7$?$[$&$,$$$$e(B
e$B$H;W$$$^$9!#e(B

e$B%F%9%H$,DL$k$h$&$K$J$C$F$b$^[email protected]$,5/$3$k$h$&$G$"$l$P!"$^$?e(B
e$BJs9p$7$F$/[email protected]$5$$!#e(B

e$B$9$_$^$;$s!"%F%9%H$,<:[email protected]$H;W$$9~$s$G$$$^$7$?!#e(B
e$B<:Ni$7$^$7$?!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:28765] Re: lack in pp”
on Tue, 20 Jun 2006 10:21:04 +0900, Tadashi S.
[email protected] writes:

|> e$B%F%9%H$,DL$k$h$&$K$J$C$F$b$^[email protected]$,5/$3$k$h$&$G$"$l$P!"$^$?e(B
|> e$BJs9p$7$F$/[email protected]$5$$!#e(B
|
|e$B$9$_$^$;$s!"%F%9%H$,<:[email protected]$H;W$$9~$s$G$$$^$7$?!#e(B
|e$B<:Ni$7$^$7$?!#e(B

[email protected]%F%9%H$ODL$k$h$&$K$7$^$7$?$,!"$^[email protected]$3$NLdBj$O;D$C$F$$$^$9!#e(B
e$B$3$l$O;[email protected]$$N$h$&$J5$$,$7$^$9$N$G!"0z$-B3$-D4$Y$F$_$^$9!#e(B
e$B$?$V$s!“JQ$([email protected]$H;W$$$^$9!#e(B
e$B5$$,$D$$$?$3$H$,$”$l$P65$($F$/[email protected]$5$$!#e(B

In article [email protected],
Yukihiro M. [email protected] writes:

[email protected]%F%9%H$ODL$k$h$&$K$7$^$7$?$,!"$^[email protected]$3$NLdBj$O;D$C$F$$$^$9!#e(B
e$B$3$l$O;[email protected]$$N$h$&$J5$$,$7$^$9$N$G!"0z$-B3$-D4$Y$F$_$^$9!#e(B
e$B$?$V$s!“JQ$([email protected]$H;W$$$^$9!#e(B
e$B5$$,$D$$$?$3$H$,$”$l$P65$($F$/[email protected]$5$$!#e(B

e$B$3$3$G$$$&!V%F%9%H!W$Oe(B sample/test.rb e$B$N$3$H$G$9$M!#e(B

e$B;d$,=R$Y$?!V%F%9%H!W$Oe(B make check e$B$H$$$&$3$H$Ge(B
sample/test.rb e$B$K2C$($Fe(B make test-all e$B$,4^$^$l$^$9!#e(B

e$B8=:_!"e(Btest-all e$B$Oe(B
http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20060620T151447.txt.gz
e$B$Ne(B

  • ./ruby …/…/ruby/test/runner.rb
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:65:
    compile error (SyntaxError)
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:64:
    syntax error, unexpected kUNLESS, expecting tSTRING_CONTENT or
    tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
    [:unless, *args]
    ^ from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:46
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper.rb:4
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/ruby/test/ripper/dummyparser.rb:5
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/ruby/test/ripper/test_parser_events.rb:1
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:83:in
    collect_file' from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:66:inrecursive_collect’
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:51:in
    recursive_collect' from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:56:inrecursive_collect’
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:51:in
    recursive_collect' from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/collector/dir.rb:26:inTest::Unit::Collector::Dir#collect’
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/autorunner.rb:67
    from
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/autorunner.rb:198:in
    Test::Unit::AutoRunner#run' from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/test/unit/autorunner.rb:13:inTest::Unit::AutoRunner#run’
    from …/…/ruby/test/runner.rb:9

e$B$H$$$&$h$&$K!"DL$k$I$3$m$+8D!9$N%F%9%H$,;O$^$kA0$K%(%i!<$G;_e(B
e$B$^$C$F$$$^$9!#e(B

e$B$H$$$&$o$1$G!“8=:_$O;d$,0U?^$7$?!V%F%9%H$,DL$k!W$H$$$&>u67$He(B
e$B$O$[$I1s$$>uBV$K$”$j$^$9!#e(B

miniruby e$B$,$G$-$k$3$H$r!V%3%s%Q%$%k$ODL$C$?!W$HI=8=$9$k$3$He(B
e$B$b$=$&$G$9$,!"$J$+$J$+%_%9%j!<%F%#%s%[email protected]$H;W$$$^$9!#e(B

e$B$3$&$$$&I=8=$C$F!"[email protected]$NKbK!$NN}=,$H$+$J$s$G$9$+$M!#e(B

e$B$H$$$&OC$O$H$b$+$/$H$7$F!"$*$=$i$/e(B pp e$B$N>I>u$O;^[email protected]$G!"e(B
test-all e$B$N$[$&$r$R$H$D$R$H$D?J$a$F$$$/$N$,$$$$$H;W$$$^$9!#e(B

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

At Tue, 20 Jun 2006 23:33:49 +0900,
Tanaka A. wrote in [ruby-dev:28771]:

e$B8=:_!"e(Btest-all e$B$Oe(B
http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20060620T151447.txt.gz
e$B$Ne(B

  • ./ruby …/…/ruby/test/runner.rb
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:65: compile error (SyntaxError)
    /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:64: syntax error, unexpected kUNLESS, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
    [:unless, *args]
    ^ from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:46
    (snip)

e$B$H$$$&$h$&$K!"DL$k$I$3$m$+8D!9$N%F%9%H$,;O$^$kA0$K%(%i!<$G;_e(B
e$B$^$C$F$$$^$9!#e(B

e$B5$IU$$$F$^$;$s$G$7$?!#e(B

Index: parse.y

RCS file: /pub/cvs/ruby/src/ruby/parse.y,v
retrieving revision 1.440
diff -U 2 -p -u -r1.440 parse.y
— parse.y 17 Jun 2006 14:50:03 -0000 1.440
+++ parse.y 20 Jun 2006 15:29:33 -0000
@@ -1656,5 +1656,5 @@ reswords : k__LINE__ | k__FILE__ | klBEG
| kOR | kREDO | kRESCUE | kRETRY | kRETURN | kSELF | kSUPER
| kTHEN | kTRUE | kUNDEF | kWHEN | kYIELD

  •   | kIF_MOD | kUNLESS_MOD | kWHILE_MOD | kUNTIL_MOD | kRESCUE_MOD
    
  •   | kIF | kUNLESS | kWHILE | kUNTIL
      ;

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:28775] Re: lack in pp”
on Wed, 21 Jun 2006 00:36:50 +0900, [email protected] writes:

|> [:unless, *args]
|> ^ from /home/akr/chkbuild/tmp/build/ruby-trunk/20060620T151447/lib/ruby/1.9/ripper/sexp.rb:46
|(snip)
|>
|> e$B$H$$$&$h$&$K!"DL$k$I$3$m$+8D!9$N%F%9%H$,;O$^$kA0$K%(%i!<$G;_e(B
|> e$B$^$C$F$$$^$9!#e(B
|
|e$B5$IU$$$F$^$;$s$G$7$?!#e(B

e$B%3%_%C%H$7$F$/[email protected]$5$$!#e(B

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