Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#302 Ruby symbol parsing error

closed-fixed
General (289)
5
2009-04-27
2009-04-25
Anonymous
No

This is for 0.16 and svn 3736, current as of April 24 '09.
The ruby symbol parser seems to fail to detect certain do...end constructs, like

File.open("somefile","r") do |infile|
infile.readline
end

The "end" statement is detected, but not the preceding "do", making the organization of the symbols in the tree browser inaccurate. Yes, I know ruby syntax is awful :-(

See attached sample file.

Discussion

  • Example ruby file

     
    Attachments
  • Sorry, I forgot to log in before filing this bug.

     
  • Enrico Tröger
    Enrico Tröger
    2009-04-27

    • assigned_to: nobody --> eht16
    • status: open --> closed-fixed
     
  • Enrico Tröger
    Enrico Tröger
    2009-04-27

    Thanks for reporting. This should be fixed in SVN r3741.

    However, I don't know Ruby at all and it might be this change breaks something else. So, feedback is welcome.

     
  • Works perfectly here, thanks!