[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 274429] New: KDevelop syntax highlighting missing on #include
From: <cyp561 () gmail ! com>
Date: 2011-05-29 13:37:33
Message-ID: bug-274429-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=274429
Summary: KDevelop syntax highlighting missing on #include
inside namespace block
Product: kdevelop
Version: 4.2.1
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: cpp-parser
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: cyp561@gmail.com
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
--
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