[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 267246] New: No support for conditional constant definition
From:       Heinz Wiesinger <HMWiesinger () gmx ! at>
Date:       2011-02-27 11:27:59
Message-ID: bug-267246-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic