On Sat, 2004-07-17 at 08:09, nobu.nokada / softhome.net wrote: > Does this help? > ... diff patch to lib/irb/ruby-lex.rb and lib/irb/ruby-token.rb ... Hi, The bug I reported earlier is not reproduced, but there is some other interesting behavior (three years I've spent in system test just won't go away :)) [alex@dhcp-89-2 ruby]$ irb irb(main):001:0> a = %s{#"aaa"} // previously reported => :"\#\"aaa\"" // now behaves as expected // Another odd behavior irb(main):002:0> a = %s irb(main):003:0: // expected: SyntaxError // actual: an "empty symbol" value is assigned to a irb(main):004:0> a SyntaxError: compile error (irb):3: empty symbol literal (irb):4: syntax error from (irb):4 from :0 // expected: SyntaxError irb(main):009:0> a.inspect SyntaxError: compile error (irb):8: empty symbol literal (irb):9: syntax error a.inspect ^ from (irb):9 from :0 irb(main):010:0> a.class => Symbol // empty symbol is illegal irb(main):011:0> a = %s{} SyntaxError: compile error (irb):11: empty symbol literal from (irb):11 from :0 Best regards, Alexey Verkhovsky