[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 281451] New: Kdevelop namespace in try catch block, parser error
From: Przemek <xcojack () gmail ! com>
Date: 2011-09-06 7:29:10
Message-ID: bug-281451-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=281451
Summary: Kdevelop namespace in try catch block, parser error
Product: kdevelop
Version: 4.2.3
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: PHP
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: xcojack@gmail.com
Version: 4.2.3 (using KDE 4.7.0)
OS: Linux
Hello,
There is a problem for try {} catch() {} block in kdevelop php parser, if we
have namespace in catch statment fe:
try {
// bla bla bla
} catch(\Root\SomeException $exception) {
// log this!
}
parser will not properly parse this statment, just treat it as syntax error,
where it's good syntax.
Reproducible: Always
Steps to Reproduce:
;)
Actual Results:
Parser highlights this part in catch statment, they shouldn't
Expected Results:
Treat namespace in catch statment as normal php syntax.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic