| Summary: | KDevelop syntax highlighting missing on #include inside namespace block | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Cyp <cyp561> |
| Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.2.1 | ||
| Target Milestone: | 4.2.0 | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been marked as a duplicate of bug 217180 *** 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 |
Version: 4.2.1 (using KDE 4.6.2) OS: Linux namespace Meow { #include "test.h" } int main() { printf("%d %d\n", x, Meow::x); } After the above, where test.h just contains "int x;", the syntax highlighter finds the non-existent variable "x", but doesn't find the actual existing variable "Meow::x". This apparently breaks syntax highlighting when using "Eigen::VectorXd v;" (as opposed to "using namespace Eigen; VectorXd v;"). (Kdevelop version is 4.2.2, not 4.2.1, but couldn't select that when reporting.) Reproducible: Always