diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 0cdf772a8..a247bc2eb 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -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;