summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-03-20 09:10:16 +0100
committerClifford Wolf <clifford@clifford.at>2015-03-20 09:10:16 +0100
commit6f8547bfc6f744b1d683f1124dc3bfb88bf9c630 (patch)
treeddc6c54e88074b9ea29c7f12419d04e033c61273
parent604c097f9818a5b29fa06223b88930630fafca5e (diff)
parent8b1e0bdd9e029d1ddbc38ec8f26dc23608636e58 (diff)
Merge branch 'master' of github.com:cliffordwolf/yosys
-rw-r--r--passes/techmap/libparse.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc
index f84ce480..def48039 100644
--- a/passes/techmap/libparse.cc
+++ b/passes/techmap/libparse.cc
@@ -105,14 +105,14 @@ int LibertyParser::lexer(std::string &str)
}
if (c == '"') {
- str = c;
+ str = "";
while (1) {
c = f.get();
if (c == '\n')
line++;
- str += c;
if (c == '"')
break;
+ str += c;
}
// fprintf(stderr, "LEX: string >>%s<<\n", str.c_str());
return 'v';