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

List:       kdevelop-bugs
Subject:    [Bug 167325] New: Parser considers it wrong to use greater-than
From:       Tomasz Radziszewski <alinoe () xl ! wp ! pl>
Date:       2008-07-23 20:28:03
Message-ID: 20080723222801.167325.alinoe () xl ! wp ! pl
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=167325         
           Summary: Parser considers it wrong to use greater-than within
                    parentheses "(a * b > c)"
           Product: kdevelop
           Version: 3.5.0
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: cpp-parser
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: alinoe xl wp pl


Version:           3.5.0 (using 3.5.9, Gentoo)
Compiler:          Target: x86_64-pc-linux-gnu
OS:                Linux (x86_64) release 2.6.24-gentoo-r8hp

When I write such code in a C++ source file:

void test()
{
    int a, b, c;
    if (a * b > c) 
    {}
}

then KDevelop marks the "if ..." line as error. At the "Problems" tab, it says:
')' expected found '>'
and
';' expected found ')'

Though, the compilation goes right.

_______________________________________________
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