[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 300530] New: Backslash continuations of single-line comments not supported
From: Nicolás Alvarez <nicolas.alvarez () gmail ! com>
Date: 2012-05-23 21:56:25
Message-ID: bug-300530-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=300530
Bug ID: 300530
Severity: normal
Version: git master
Priority: NOR
Assignee: kdevelop-bugs@kdevelop.org
Summary: Backslash continuations of single-line comments not
supported
Classification: Unclassified
OS: Linux
Reporter: nicolas.alvarez@gmail.com
Hardware: Compiled Sources
Status: NEW
Component: Language Support: CPP
Product: kdevelop
When a single-line comment (ie. //stuff ) has a backslash at the end of the
line, it should be parsed as a line continuation, thus making the following
line a comment too. KDevelop doesn't support this.
Example:
// this is a comment. \
int a;
int b;
In this code, the variable 'a' doesn't exist, since its declaration is actually
in a comment. The Katepart syntax highlighter for C++ handles this correctly:
the "int a;" line is colored in gray like the previous line. However, KDevelop
doesn't understand the backslash, and highlights 'a' in bold green as a
variable declaration.
--
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