mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-07 03:22:46 +00:00
libparse: tolerate closing quotes in expression parsing
This commit is contained in:
parent
4fac7a1b20
commit
bf29f6dc11
2 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ namespace Yosys
|
|||
}
|
||||
|
||||
std::string pin() {
|
||||
auto length = s.find_first_of("\t()'!^*& +|");
|
||||
auto length = s.find_first_of("\t()'!^*& +|\"");
|
||||
if (length == std::string::npos) {
|
||||
// nothing found so use size of s
|
||||
length = s.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue