patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-04-04 09:34:50 +02:00
parent aab8c88a96
commit efe3227ef2
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit dc3346e64b3aafae972e4b71cc1e9cac8224622a
Subproject commit 66d3a0594888c85340f0c61f8b5a7cac9e1b163f

View File

@ -32,7 +32,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"
"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"
};
for (auto &k : keywords)
langDef.mKeywords.insert(k);