diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-03-20 09:10:16 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-03-20 09:10:16 +0100 |
commit | 6f8547bfc6f744b1d683f1124dc3bfb88bf9c630 (patch) | |
tree | ddc6c54e88074b9ea29c7f12419d04e033c61273 | |
parent | 604c097f9818a5b29fa06223b88930630fafca5e (diff) | |
parent | 8b1e0bdd9e029d1ddbc38ec8f26dc23608636e58 (diff) | |
download | yosys-6f8547bfc6f744b1d683f1124dc3bfb88bf9c630.tar.gz yosys-6f8547bfc6f744b1d683f1124dc3bfb88bf9c630.tar.bz2 yosys-6f8547bfc6f744b1d683f1124dc3bfb88bf9c630.zip |
Merge branch 'master' of github.com:cliffordwolf/yosys
-rw-r--r-- | passes/techmap/libparse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc index f84ce4802..def480394 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'; |