Skip to content

Commit

Permalink
Fix bug when setting Verific runtime string flags.
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Inouye <[email protected]>
  • Loading branch information
mikesinouye committed Nov 12, 2024
1 parent 6d4f056 commit 06e3ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06e3ac4

Please sign in to comment.