From: Yukihiro Matsumoto Date: 2005-08-05T01:23:12+09:00 Subject: Re: ruby-dev summary 26468-26661 Hi, In message "Re: ruby-dev summary 26468-26661" on Fri, 5 Aug 2005 01:14:46 +0900, Christian Neukirchen writes: |I have no clue about the Bison grammar underlying Ruby, but can't you |"simply" say that if the first token after { is a |, you need to parse |until the next | to get the block parameters? It would be great if it's possible. But unfortunately I don't have enough skills to accomplish this using yacc/bison. |Of course, you couldn't write { |x = 5|7 | true } then... *I* can live |with that. You can always use {|x=(5|7)| true }. matz.