update the C++20 keyword "co_await" from "co_wait" (#299)

* Updated the Chinese translation for "Goto Page Start and Select"
This PR updates the Chinese translation for "Goto Page Start and Select" to accurately reflect the functionality of the feature.
本次PR更新了“Goto Page Start and Select”的中文翻译,以准确反映该功能的操作。

* update the C++20 keyword "co_await" from "co_wait"

The C++20 introduced a new keyword "co_await", however there is a tiny typo wrong("co_wait") in the current version of RedPanda-CPP. This PR is aimed to correct it.
This commit is contained in:
West-Pavilion 2024-03-22 15:44:04 +08:00 committed by GitHub
parent cef356a184
commit 421a227d05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ void initParser()
CppKeywords.insert("atomic_noexcept",KeywordType::None); CppKeywords.insert("atomic_noexcept",KeywordType::None);
CppKeywords.insert("consteval",KeywordType::None); CppKeywords.insert("consteval",KeywordType::None);
CppKeywords.insert("constinit",KeywordType::None); CppKeywords.insert("constinit",KeywordType::None);
CppKeywords.insert("co_wait",KeywordType::None); CppKeywords.insert("co_await",KeywordType::None);
CppKeywords.insert("co_return",KeywordType::None); CppKeywords.insert("co_return",KeywordType::None);
CppKeywords.insert("co_yield",KeywordType::None); CppKeywords.insert("co_yield",KeywordType::None);
CppKeywords.insert("reflexpr",KeywordType::None); CppKeywords.insert("reflexpr",KeywordType::None);

View File

@ -116,7 +116,7 @@ const QSet<QString> CppSyntaxer::Keywords {
"concept", "concept",
"consteval", "consteval",
"constinit", "constinit",
"co_wait", "co_await",
"co_return", "co_return",
"co_yield", "co_yield",
"reflexpr", "reflexpr",