From kdevelop-bugs Sun Feb 27 11:27:59 2011 From: Heinz Wiesinger Date: Sun, 27 Feb 2011 11:27:59 +0000 To: kdevelop-bugs Subject: [Bug 267246] New: No support for conditional constant definition Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=129880601025269 https://bugs.kde.org/show_bug.cgi?id=267246 Summary: No support for conditional constant definition Product: kdevelop Version: 4.2.0 Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: PHP AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: HMWiesinger@gmx.at Version: 4.2.0 (using KDE 4.5.5) OS: Linux When confronted with code like this: if ($test) { define("A", 1); } else { define("A", 2); } the parser shows an error on the second define, complaining about it being already defined. Reproducible: Always -- 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