diff options
author | Camil Staps | 2017-10-08 14:35:40 +0200 |
---|---|---|
committer | Camil Staps | 2017-10-08 14:35:40 +0200 |
commit | 6ad218f6b0886fd5cc3ae85f7b6db1f0befd377d (patch) | |
tree | da926de0fa7fd9b9c5b2861c2da167f53083081c | |
parent | Error handling (diff) |
Fix issue with importing modules that occur more than once in tagfile
-rwxr-xr-x | iclm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |