From 81b5f93b23b19b6c0608deb3f7e731015df70153 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Wed, 9 Oct 2013 09:54:34 -0700 Subject: [PATCH] Add C++11 keywords to the C++ highlighter --- kdbg/sourcewnd.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kdbg/sourcewnd.cpp b/kdbg/sourcewnd.cpp index a28901c..e81659c 100644 --- a/kdbg/sourcewnd.cpp +++ b/kdbg/sourcewnd.cpp @@ -827,6 +827,8 @@ enum HLState { static const QString ckw[] = { + "alignas", + "alignof", "and", "and_eq", "asm", @@ -838,11 +840,15 @@ static const QString ckw[] = "case", "catch", "char", + "char16_t", + "char32_t", "class", "compl", "const", "const_cast", + "constexpr", "continue", + "decltype", "default", "delete", "do", @@ -865,8 +871,10 @@ static const QString ckw[] = "mutable", "namespace", "new", + "noexcept", "not", "not_eq", + "nullptr", "operator", "or", "or_eq", @@ -880,11 +888,13 @@ static const QString ckw[] = "signed", "sizeof", "static", + "static_assert", "static_cast", "struct", "switch", "template", "this", + "thread_local", "throw", "true", "try", -- 2.11.4.GIT