From: "Iñaki Baz Castillo" Date: 2011-08-24T17:28:30+09:00 Subject: Re: Possble bug in Ruby parser (Fixnum#times within "case" statement) 2011/8/24 Ruby Info : > Which suggests the parser is confused about which to evaluate first, the > while or the case block. But I don't think it's ambiguous, since the > case/when must be evaluated first, since the when only goes with the case. In that code it's clear that the "case" statement goes between ( ) so its "end" is the one before ")". So I see: a) while ( EXPRESSION ) ; end or: b) while ( EXPRESSION ) ; do CODE ; end both are valid. But in case EXPRESSION contains some "end" keyword and option a) is used, then ensure that EXPRESSION goes between ( ). -- Iñaki Baz Castillo