Issue #8670 has been updated by nobu (Nobuyoshi Nakada).

Category set to syntax
Status changed from Open to Assigned
Assignee set to matz (Yukihiro Matsumoto)
Priority changed from Normal to Low
Target version set to current: 2.1.0

I've thought it's a spec.
----------------------------------------
Bug #8670: "100do" should be a syntax error
https://bugs.ruby-lang.org/issues/8670#change-40632

Author: whitequark (Peter Zotov)
Status: Assigned
Priority: Low
Assignee: matz (Yukihiro Matsumoto)
Category: syntax
Target version: current: 2.1.0
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474)
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
In certain contexts, `do' adjacent to a number can be parsed as a distinct token instead of syntax error.

For example:

(({Shoes.app width: 330do end}))
=end



-- 
http://bugs.ruby-lang.org/