From: Clemens Hintze Date: 2000-04-08T16:58:29+02:00 Subject: [ruby-talk:02400] Could missing 'end' be reported better? Hmmm, I guess the only we could do here, would be to issue a message like: sample.rb:9:parse error (missing end) But if that is easy or not, I cannot say! I have not looked into the parser very deeply ... \cle mrilu writes: > I'm not sure one could easily parse, or moreover report, this error better. > > class Foo > def bar > p "missing end at next line" > # end > end > > k = Foo.new() > k.bar() > # causes 'sample.rb:9: parse error' here, how informative, isn't it? > > -- Clemens Hintze mailto: c.hintze@gmx.net