On 12.04.2007 17:58, MenTaLguY wrote: > On Thu, 12 Apr 2007 16:05:05 +0900, Robert Klemme <shortcutter / googlemail.com> wrote: >> But what do we gain by this? > > Eh, a little bit of correctness, I guess. It's probably best if the parser can handle anything which is syntactically valid Ruby, even if it's a bit dumb. I think it's worth the effort only if a) it really accepts "unlimited" cases and b) it doesn't cost performance. (Haven't checked either) > (an alternative would be to actually have an explicit limit on the number of 'when' or 'rescue' branches in the grammar) Yep. robert