projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed4d76
)
Fixed handling of quotes in liberty parser
author
Clifford Wolf
<clifford@clifford.at>
Wed, 18 Mar 2015 15:03:19 +0000
(16:03 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 18 Mar 2015 15:03:19 +0000
(16:03 +0100)
passes/techmap/libparse.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/libparse.cc
b/passes/techmap/libparse.cc
index f84ce4802e608d15d28ade94b6c5f141ac7bff7e..def480394aec91faee5001920c459cea1bf9edb8 100644
(file)
--- 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';