[qflow] 11/11: Thought better of it and added a $ to the regexp to make sure that the underscore-followed-by-digits is the last part of the instance string.

Ruben Undheim rubund-guest at moszumanska.debian.org
Thu Apr 16 18:01:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to tag upstream/1.0.93
in repository qflow.

commit c69525de10af3e7ddc2ad6443c930a1eee411dff
Author: Tim Edwards <tim at opencircuitdesign.com>
Date:   Mon Mar 30 19:46:09 2015 -0400

    Thought better of it and added a $ to the regexp to make sure that
    the underscore-followed-by-digits is the last part of the instance
    string.
---
 scripts/place2def.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/place2def.tcl b/scripts/place2def.tcl
index 79c63e2..34ad499 100755
--- a/scripts/place2def.tcl
+++ b/scripts/place2def.tcl
@@ -560,7 +560,7 @@ while {[gets $fpl1 line] >= 0} {
 	 }
 
          # Get cellname from instance name.
-         regsub {(.+)_[\d]+} $instance {\1} cellname
+         regsub {(.+)_[\d]+$} $instance {\1} cellname
       }
 
       set llxoff [expr $llx - $cellxbot]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qflow.git



More information about the debian-science-commits mailing list