[Bug 78812] New: try / catch blocks are not parsed correctly

Edward Brocklesby ejb at goth.net
Wed Mar 31 16:48:05 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=78812      
           Summary: try / catch blocks are not parsed correctly
           Product: kdevelop
           Version: 3.0.2
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: ejb goth net


Version:           3.0.2 (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
OS:          Linux

A code block of the form:


void f() {
	try {
		f();
	}
	catch (...) {
	}
}

Is not parsed correctly - KDevelop thinks the second "}" ends the function block and does not parse anything after that properly.

Moving the "{" after "catch (...)" to the next line fixes the problem.




More information about the KDevelop-devel mailing list