From: Mauricio Fernandez Date: 2006-05-21T19:54:33+09:00 Subject: Re: Curly brackets On Sun, May 21, 2006 at 03:12:03PM +0900, Hal Fulton wrote: > Daniel Schierbeck wrote: > >If it's possible to add clauses to do/end blocks and not {} blocks, I > >don't see a problem at all. > > That would be yet another difference between do/end and {}. > > Right now, precedence is the only difference. It works well. For the record, there's another difference: you cannot use do/end with BEGIN/END. parse.y: stmt : kALIAS fitem {lex_state = EXPR_FNAME;} fitem [...] | klBEGIN [...] '{' compstmt '}' [...] | klEND '{' compstmt '}' Not that it matters. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby