Bug 167325 - Parser considers it wrong to use greater-than within parentheses "(a * b > c)"
Summary: Parser considers it wrong to use greater-than within parentheses "(a * b > c)"
Status: RESOLVED DUPLICATE of bug 133504
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: 3.5.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 22:28 UTC by Tomasz Radziszewski
Modified: 2013-03-31 00:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Radziszewski 2008-07-23 22:28:02 UTC
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.
Comment 1 Andreas Pakulat 2008-07-23 22:40:35 UTC

*** This bug has been marked as a duplicate of 133504 ***
Comment 2 Aleix Pol 2013-03-31 00:47:53 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively