From: Clifford Wolf Date: Thu, 15 Jan 2015 12:36:57 +0000 (+0100) Subject: Fixed handling of foo.__TECHMAP_... X-Git-Tag: yosys-0.5~105 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9065fb25cc3fd21cf77b041cbec1d8a12b33728d;p=yosys.git Fixed handling of foo.__TECHMAP_... --- diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 94dd4d42c..b1a40b25e 100644 --- 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;