1
0
mirror of synced 2024-11-24 15:50:16 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-01-22 12:16:22 +01:00
parent 1f50e834fc
commit acf6b839e5
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9023a30cd6574f110ddff7e21b083eda45ad289e
Subproject commit b800b55ac870e11c9c2d346f08427c8f2e2a95c5

View File

@ -29,7 +29,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", "false", "true", "this", "parent", "addressof", "sizeof", "$", "while", "for", "fn", "return", "break", "continue", "namespace", "in", "out", "ref"
"using", "struct", "union", "enum", "bitfield", "be", "le", "if", "else", "false", "true", "this", "parent", "addressof", "sizeof", "$", "while", "for", "fn", "return", "break", "continue", "namespace", "in", "out", "ref", "null", "const"
};
for (auto &k : keywords)
langDef.mKeywords.insert(k);