[Bug 78328] New: Perl function name parser bug

mrsmellysock at hotmail.com mrsmellysock at hotmail.com
Tue Mar 23 21:46:07 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=78328      
           Summary: Perl function name parser bug
           Product: kdevelop
           Version: 3.0.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: mrsmellysock hotmail com


Version:           3.0.2 (using KDE 3.2.1, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-144-default

In a perl file, the parser chokes on this function definition:

sub foo{
  blah blah;
}

If a space or parens are added between foo and the opening bracket, like so:

sub foo {
 blah blah;
}

the parser suddenly knows the subroutine is there. This breaks both the class broswser (the function never shows up) and the editors folding (it doesn't know the function is there, therefore no folding FOR ME).




More information about the KDevelop-devel mailing list