Fixed serious bug on registers 'sX' function
All checks were successful
dc / build (push) Successful in 35s
All checks were successful
dc / build (push) Successful in 35s
This commit is contained in:
parent
aa578e0ec0
commit
4849c9ac78
@ -430,6 +430,7 @@ std::optional<std::string> Evaluate::parse_register_command(std::string val) {
|
||||
|
||||
// Always discard previous instance of the register
|
||||
// i.e., initialize a new instance of register 'reg_name'
|
||||
this->regs.erase(reg_name);
|
||||
this->regs.insert(
|
||||
std::make_pair(reg_name, Register{
|
||||
std::vector<std::string>(),
|
||||
|
Loading…
Reference in New Issue
Block a user