summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/blif/blifparse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/blif/blifparse.cc b/frontends/blif/blifparse.cc
index 4bf05074..9f2e08df 100644
--- a/frontends/blif/blifparse.cc
+++ b/frontends/blif/blifparse.cc
@@ -133,7 +133,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name)
if (v[0] == '"') {
std::string str(v+1);
if (str.back() == '"')
- str.pop_back();
+ str.resize(str.size()-1);
const_v = Const(str);
} else {
int n = strlen(v);