Issue #8670 has been reported by whitequark (Peter Zotov).

----------------------------------------
Bug #8670: "100do" should be a syntax error
https://bugs.ruby-lang.org/issues/8670

Author: whitequark (Peter Zotov)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
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/