Actions
Bug #386
closed008: unexpected tINTEGER
Description
=begin
以下のように、"008"を入力として与えると、"007"とも"08"とも違う妙なエラーになるようです。
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
=end
Updated by nobu (Nobuyoshi Nakada) over 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r18318.
=end
Actions
Like0
Like0