Merge pull request #4734 from mikesinouye/verific

Fix bug when setting Verific runtime string  flags.
This commit is contained in:
Martin Povišer 2024-11-14 19:39:47 +01:00 committed by GitHub
commit bbb6bbd12a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4184,7 +4184,7 @@ struct VerificPass : public Pass {
}
if (v[0] == '"') {
std::string s = v.substr(1, GetSize(v)-2);
RuntimeFlags::SetStringVar(k.c_str(), v.c_str());
RuntimeFlags::SetStringVar(k.c_str(), s.c_str());
goto check_error;
}
char *endptr;