1
0
mirror of synced 2025-02-17 18:59:21 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-07-26 00:23:09 +02:00
parent 5feb4dce51
commit d0a5c144e6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit ba3dc71fe0fc69734badbffef0623ac9973ec1de
Subproject commit fde019ba2387c4163909ecd90d1d583591a69599

View File

@ -35,7 +35,7 @@ namespace hex::plugin::builtin {
static TextEditor::LanguageDefinition langDef;
if (!initialized) {
constexpr static std::array keywords = {
"using", "struct", "union", "enum", "bitfield", "be", "le", "if", "else", "match", "false", "true", "this", "parent", "addressof", "sizeof", "$", "while", "for", "fn", "return", "break", "continue", "namespace", "in", "out", "ref", "null", "const", "unsigned", "signed", "try", "catch"
"using", "struct", "union", "enum", "bitfield", "be", "le", "if", "else", "match", "false", "true", "this", "parent", "addressof", "sizeof", "typenameof", "$", "while", "for", "fn", "return", "break", "continue", "namespace", "in", "out", "ref", "null", "const", "unsigned", "signed", "try", "catch"
};
for (auto &k : keywords)
langDef.mKeywords.insert(k);