mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-12 07:18:41 -06:00
patterns: Fixed setting variables in functions
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user