From 06e3ac4415095aac00a485efcd32484027c613a8 Mon Sep 17 00:00:00 2001 From: Mike Inouye Date: Tue, 12 Nov 2024 18:46:26 +0000 Subject: [PATCH] Fix bug when setting Verific runtime string flags. Signed-off-by: Mike Inouye --- frontends/verific/verific.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;