[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 185599] New: the c++ keyword "not" is not supported.
From: Christoph Bartoschek <bartoschek () gmx ! de>
Date: 2009-02-26 12:44:53
Message-ID: bug-185599-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=185599
Summary: the c++ keyword "not" is not supported.
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: bartoschek@gmx.de
Version: (using Devel)
Installed from: Compiled sources
The "not" keyword is not known by the parser. Adding the following code:
if (not 1) {
}
This lets kdevelop underline the letter 'n'. In the problems section there is:
Condition expected.
The C++ standard states in §2.11.2:
Furthermore, the alternative representations shown in Table 4 for certain
operators and punctuators (2.5) are reserved and shall not be used otherwise:
Table 4 — alternative representations
and and_eq bitand bitor
compl not not_eq or
or_eq xor xor_eq
$2.12 states:
1 The lexical representation of C++ programs includes a number of preprocessing
tokens which are used in the syntax of the preprocessor or are converted into
tokens for operators and punctuators:
preprocessing-op-or-punc: one of
{ } [ ] # ## ( )
<: :> <% %> %: %:%: ; :
...
new delete ? :: . .*
+ - * / % ˆ & |
˜
! = < > += -= *= /=
%=
ˆ= &= |= << >> >>= <<= ==
!=
<= >= && || ++ -- , ->*
->
and and_eq bitand bitor compl not not_eq
or or_eq xor xor_eq
Each preprocessing-op-or-punc is converted to a single token in translation
phase 7 (2.1).
--
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