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

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);