mirror of https://github.com/WerWolv/ImHex.git
patterns: Added references
This commit is contained in:
parent
13afd96806
commit
7d87c8bb98
|
@ -1 +1 @@
|
||||||
Subproject commit 66882739d3bb135f43b1e455ea5ad6b0c30904c9
|
Subproject commit 6c4d5d3a6c5618e841d425471e1359efda4de8d3
|
|
@ -27,7 +27,7 @@ namespace hex::plugin::builtin {
|
||||||
static TextEditor::LanguageDefinition langDef;
|
static TextEditor::LanguageDefinition langDef;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
constexpr static std::array keywords = {
|
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)
|
for (auto &k : keywords)
|
||||||
langDef.mKeywords.insert(k);
|
langDef.mKeywords.insert(k);
|
||||||
|
|
Loading…
Reference in New Issue