From 6ad218f6b0886fd5cc3ae85f7b6db1f0befd377d Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 8 Oct 2017 14:35:40 +0200 Subject: Fix issue with importing modules that occur more than once in tagfile --- iclm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iclm b/iclm index 0b49881..075b53d 100755 --- a/iclm +++ b/iclm @@ -41,7 +41,7 @@ proc tryImport { name } { log_user 0 spawn -noecho grep -P "^$name\\t.*\\tmodule:" "$tagfile" - expect -re "$name\t(.*)/$name\.dcl\t1;" { + expect -re "$name\t(.*?)/$name\.dcl\t1;" { set args "$args -I $expect_out(1,string)" feedback "info" "Adding $expect_out(1,string) to libraries." tryCompile -- cgit v1.2.3