diff options
author | Camil Staps | 2017-10-17 09:54:18 +0200 |
---|---|---|
committer | Camil Staps | 2017-10-17 09:54:18 +0200 |
commit | 312c45f8054bdf96e1bc1989d24618b1150ac7cd (patch) | |
tree | a2cfca10e95205f2d68ee058156ae7fc049998c7 | |
parent | Resolve #1: -dynamics support (diff) |
Resolve #2: remove .icl when accidentally added
-rwxr-xr-x | iclm | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |