Fixed serious bug on registers 'sX' function
All checks were successful
dc / build (push) Successful in 35s

This commit is contained in:
Marco Cetica 2024-03-01 09:26:44 +01:00
parent aa578e0ec0
commit 4849c9ac78
Signed by: marco
GPG Key ID: 45060A949E90D0FD

View File

@ -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>(),