aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2017-10-17 09:54:18 +0200
committerCamil Staps2017-10-17 09:54:18 +0200
commit312c45f8054bdf96e1bc1989d24618b1150ac7cd (patch)
treea2cfca10e95205f2d68ee058156ae7fc049998c7
parentResolve #1: -dynamics support (diff)
Resolve #2: remove .icl when accidentally added
-rwxr-xr-xiclm7
1 files changed, 7 insertions, 0 deletions
diff --git a/iclm b/iclm
index db44775..41f8376 100755
--- a/iclm
+++ b/iclm
@@ -63,6 +63,13 @@ proc tryCompile { } {
-re "Error .*?: (.*)\.dcl could not be imported" {
tryImport $expect_out(1,string)
return
+ } -re "Can't find (.*)\.icl\.icl" {
+ set argv [lmap arg $argv {
+ regsub -- {.icl} $arg {} arg
+ set arg
+ }]
+ tryCompile
+ return
} -re "Can't find (.*)\.icl" {
tryImport $expect_out(1,string)
return