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:
parent
cef356a184
commit
421a227d05
|
@ -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);
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue