patterns: Added references

This commit is contained in:
WerWolv 2022-09-13 13:14:36 +02:00
parent 13afd96806
commit 7d87c8bb98
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 66882739d3bb135f43b1e455ea5ad6b0c30904c9
Subproject commit 6c4d5d3a6c5618e841d425471e1359efda4de8d3

View File

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