Project

General

Profile

Actions

Bug #8670

closed

"100do" should be a syntax error

Added by whitequark (whitequark *) over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474)
[ruby-core:56122]

Description

=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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0