summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Lexer.cpp
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-06-05 17:53:19 +0300
committerAndreas Kling <kling@serenityos.org>2021-06-09 22:26:46 +0200
commit8f074222e806d7d090bfee380bc87e5995e526fb (patch)
tree47425485888c6ac2b8d9203bac43f0d60a315d5d /Userland/Libraries/LibCpp/Lexer.cpp
parent9dc9ddbf82d1e838197e8e94de54bbe74b6a435c (diff)
downloadserenity-8f074222e806d7d090bfee380bc87e5995e526fb.zip
LibCpp: Make 'bool' a Token::Type::KnownType
Diffstat (limited to 'Userland/Libraries/LibCpp/Lexer.cpp')
-rw-r--r--Userland/Libraries/LibCpp/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCpp/Lexer.cpp b/Userland/Libraries/LibCpp/Lexer.cpp
index e4bc45fcf3..96f1f3fd59 100644
--- a/Userland/Libraries/LibCpp/Lexer.cpp
+++ b/Userland/Libraries/LibCpp/Lexer.cpp
@@ -56,7 +56,6 @@ constexpr char const* s_known_keywords[] = {
"asm",
"bitand",
"bitor",
- "bool",
"break",
"case",
"catch",
@@ -162,6 +161,7 @@ constexpr char const* s_known_types[] = {
"Vector",
"WeakPtr",
"auto",
+ "bool",
"char",
"char16_t",
"char32_t",