[ruby-talk:02414] Re: Could missing 'end' be reported better?

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-09 22:56:53 UTC
List: ruby-talk #2414
Hi,

In message "[ruby-talk:02412] Re: Could missing 'end' be reported better?"
    on 00/04/09, h.fulton@att.net <h.fulton@att.net> writes:

|Well, I am not aware that it would break any Ruby
|code (if it were optional).

It won't work with if/while/while/until modifiers.

  if cond1
    ...
  end if cond2

is perfectly legal Ruby program.  In fact, before introducing
modifiers, Ruby supported optional end tags.

							matz.

In This Thread