| 257 | } |
| 258 | |
| 259 | bool MacroSegment::IsTempVarInUse(const std::string &id) const |
| 260 | { |
| 261 | for (const auto &var : _tempVariables) { |
| 262 | if (var.ID() == id) { |
| 263 | return var.IsInUse(); |
| 264 | } |
| 265 | } |
| 266 | return false; |
| 267 | } |
| 268 | |
| 269 | void MacroSegment::SetTempVarValue(const std::string &id, |
| 270 | const std::string &value) |