aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2017-10-08 14:35:40 +0200
committerCamil Staps2017-10-08 14:35:40 +0200
commit6ad218f6b0886fd5cc3ae85f7b6db1f0befd377d (patch)
treeda926de0fa7fd9b9c5b2861c2da167f53083081c
parentError handling (diff)
Fix issue with importing modules that occur more than once in tagfile
-rwxr-xr-xiclm2
1 files changed, 1 insertions, 1 deletions
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