From kdevelop-bugs Thu Feb 26 12:44:53 2009 From: Christoph Bartoschek Date: Thu, 26 Feb 2009 12:44:53 +0000 To: kdevelop-bugs Subject: [Bug 185599] New: the c++ keyword "not" is not supported. Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=123565240514682 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