aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/blif
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-09-01 12:51:23 +0200
committerClifford Wolf <clifford@clifford.at>2015-09-01 12:51:23 +0200
commitb10ea0550dadfdc352447115c214e02c6e5663da (patch)
tree8b1d2e82f7edb0dbb1a0b7ba90e48ce3088c1f4e /frontends/blif
parent522176c946b25557e754a3067fe2465e0d6df26c (diff)
downloadyosys-b10ea0550dadfdc352447115c214e02c6e5663da.tar.gz
yosys-b10ea0550dadfdc352447115c214e02c6e5663da.tar.bz2
yosys-b10ea0550dadfdc352447115c214e02c6e5663da.zip
gcc-4.6 build fixes
Diffstat (limited to 'frontends/blif')
-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 4bf050741..9f2e08df0 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);