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