diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-01-14 18:56:29 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-01-14 18:56:29 +0100 |
commit | c1da7661a5d4dc2669db77912a8f81fa8095f1fa (patch) | |
tree | 37794adc3b92095156c7883df0fa55fbe92b9c71 /passes/techmap | |
parent | 54275c61ee863ff2bb5fb20baae72fcce69b4bbf (diff) | |
download | yosys-c1da7661a5d4dc2669db77912a8f81fa8095f1fa.tar.gz yosys-c1da7661a5d4dc2669db77912a8f81fa8095f1fa.tar.bz2 yosys-c1da7661a5d4dc2669db77912a8f81fa8095f1fa.zip |
Added "+" to list of liberty token characters
Diffstat (limited to 'passes/techmap')
-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 8fc03b5c9..2be3c586b 100644 --- a/passes/techmap/libparse.cc +++ b/passes/techmap/libparse.cc @@ -87,11 +87,11 @@ int LibertyParer::lexer(std::string &str) c = fgetc(f); } while (c == ' ' || c == '\t' || c == '\r'); - if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '.') { + if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '+' || c == '.') { str = c; while (1) { c = fgetc(f); - if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '.') + if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '+' || c == '.') str += c; else break; |