mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 07:27:58 +00:00
gcc-4.6 build fixes
This commit is contained in:
parent
522176c946
commit
b10ea0550d
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue