| Summary: | try / catch blocks are not parsed correctly | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Edward Brocklesby <ejb> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | franke.daniel |
| Priority: | NOR | ||
| Version First Reported In: | 3.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
"KDevelop" in this case means the kate editorpart. The syntax highlighting scheme has a bug here. Reassigning. CVS commit by dhaumann: Fix for 78812. Thanks for the BR. CCMAIL: 78812-done@bugs.kde.org M +2 -2 ansic89.xml 1.3 M +2 -2 c.xml 1.38 M +2 -2 cpp.xml 1.60 M +2 -2 cs.xml 1.15 M +2 -2 java.xml 1.27 M +2 -6 povray.xml 1.2 M +2 -2 sieve.xml 1.5 |
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.