mirror of https://github.com/WerWolv/ImHex.git
patterns: Updated pattern language
This commit is contained in:
parent
aab8c88a96
commit
efe3227ef2
|
@ -1 +1 @@
|
|||
Subproject commit dc3346e64b3aafae972e4b71cc1e9cac8224622a
|
||||
Subproject commit 66d3a0594888c85340f0c61f8b5a7cac9e1b163f
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue