Bug 135957 - Simple if statement confuses cpp parser
Summary: Simple if statement confuses cpp parser
Status: RESOLVED DUPLICATE of bug 133504
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 13:02 UTC by Christoph Bartoschek
Modified: 2013-03-31 00:49 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 Christoph Bartoschek 2006-10-19 13:02:07 UTC
Version:           Subversion 3.4 branch revision 596958 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          g++ 4.1 
OS:                Linux

If I open a new file in my main development project and enter the following code:

void reduce(double a, double b)
{
   if (b * a < a);
}


I get an error indicator in the 4th line:

Error 3 17 ')' expected found '<'


If I do this on a newly created simple c++ project the error is the same.
Comment 1 Andreas Pakulat 2007-01-14 04:45:26 UTC
Dupe.

*** This bug has been marked as a duplicate of 133504 ***
Comment 2 Aleix Pol 2013-03-31 00:49:29 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