[Ruby 1.9 - Bug #386] (Open) 008: unexpected tINTEGER

e$B%A%1%C%He(B #386 e$B$,Js9p$5$l$^$7$?!#e(B (by Shyouhei U.)


Bug #386: 008: unexpected tINTEGER
http://redmine.ruby-lang.org/issues/show/386

e$B5/I<<Te(B: Shyouhei U.
e$B%9%F!<%?%9e(B: Open
e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Yukihiro M.
e$B%+%F%4%je(B:
Target version:

e$B0J2<$N$h$&$K!"e(B"008"e$B$rF~NO$H$7$FM?$($k$H!"e(B"007"e$B$H$be(B"08"e$B$H$b0c$&L/$J%(%i!<$K$J$k$h$&$G$9!#e(B

zsh % ./miniruby -ve ‘007’
ruby 1.9.0 (2008-07-29 revision 17576) [x86_64-linux]
-e:1: warning: useless use of a literal in void context

zsh % ./miniruby -ve ‘08’
ruby 1.9.0 (2008-07-29 revision 17576) [x86_64-linux]
-e:1: Invalid octal digit
-e:1: warning: useless use of a literal in void context

zsh % ./miniruby -ve ‘008’
ruby 1.9.0 (2008-07-29 revision 17576) [x86_64-linux]
-e:1: warning: useless use of a literal in void context
-e:1: syntax error, unexpected tINTEGER, expecting $end

e$B%A%1%C%He(B #386 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r18318.

http://redmine.ruby-lang.org/issues/show/386