aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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