Minimal case : bug appears when adding this two lines
=begin
=end
at the end of a file, and disappears when taking them out.


    from <internal:lib/rubygems/custom_require>:29:in `require'
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_lexer.rb:739:in
`block in yylex': you shouldn't be able to get here (RuntimeError)
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_lexer.rb:649:in
`loop'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_lexer.rb:649:in
`yylex'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_lexer.rb:68:in
`advance'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_parser_extras.rb:712:in
`next_token'
        from F:/Ruby192/lib/ruby/1.9.1/racc/parser.rb:99:in
`_racc_do_parse_c'
        from F:/Ruby192/lib/ruby/1.9.1/racc/parser.rb:99:in `do_parse'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_parser-2.0.5/lib/ruby_parser_extras.rb:749:in
`process'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/flog-2.5.0/lib/flog.rb:241:in `block
in flog'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/flog-2.5.0/lib/flog.rb:235:in `each'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/flog-2.5.0/lib/flog.rb:235:in `flog'
        from
F:/Ruby191/lib/ruby/gems/1.9.1/gems/flog-2.5.0/bin/flog:13:in `<top
(required)>'
        from F:/Ruby192/bin/flog:19:in `load'
        from F:/Ruby192/bin/flog:19:in `<main>'

_md
-- 
Posted via http://www.ruby-forum.com/.