mirror of https://github.com/WerWolv/ImHex.git
patterns: Fixed setting variables in functions
This commit is contained in:
parent
71be77c54b
commit
17d5a5309a
|
@ -95,7 +95,7 @@ namespace hex::pl {
|
|||
}
|
||||
}, value);
|
||||
|
||||
this->getStack().back() = castedLiteral;
|
||||
this->getStack()[pattern->getOffset()] = castedLiteral;
|
||||
}
|
||||
|
||||
std::optional<std::vector<PatternData*>> Evaluator::evaluate(const std::vector<ASTNode*> &ast) {
|
||||
|
|
Loading…
Reference in New Issue