projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9d096
)
Fixed handling of foo.__TECHMAP_...
author
Clifford Wolf
<clifford@clifford.at>
Thu, 15 Jan 2015 12:36:57 +0000
(13:36 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 15 Jan 2015 12:36:57 +0000
(13:36 +0100)
passes/techmap/techmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/techmap.cc
b/passes/techmap/techmap.cc
index 94dd4d42c006888688e963ab638f96793f56cfbb..b1a40b25e345abd3ce61d8d0aa893739a7c71483 100644
(file)
--- a/
passes/techmap/techmap.cc
+++ b/
passes/techmap/techmap.cc
@@
-129,7
+129,7
@@
struct TechmapWorker
continue;
const char *q = strrchr(p+1, '.');
- p = q ? q : p+1;
+ p = q ? q
+1
: p+1;
if (!strncmp(p, "_TECHMAP_", 9)) {
TechmapWireData record;