[ruby-cvs:65590] nobu:r58418 (trunk): ruby-lex.rb: fix continued line conditions

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Apr 20 20:07:02 JST 2017


nobu	2017-04-20 20:07:02 +0900 (Thu, 20 Apr 2017)

  New Revision: 58418

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58418

  Log:
    ruby-lex.rb: fix continued line conditions
    
    * lib/irb/ruby-lex.rb (RubyLex#lex): fix conditions for continued
      line; empty lines, a semicolon, first line in `begin` block,
      just after `else` are not continued.

  Modified files:
    trunk/lib/irb/ruby-lex.rb
    trunk/test/irb/test_ruby-lex.rb


More information about the ruby-cvs mailing list