diff options
author | Camil Staps | 2017-10-17 09:42:36 +0200 |
---|---|---|
committer | Camil Staps | 2017-10-17 09:42:36 +0200 |
commit | 0c8a28c0e7b0be835a8d8a2b7a873301a89de4c3 (patch) | |
tree | 21a1afe8ec9b2daef0dd6974fa22d7f576967c06 | |
parent | Fix issue with importing modules that occur more than once in tagfile (diff) |
Resolve #1: -dynamics support
-rwxr-xr-x | iclm | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -60,12 +60,17 @@ proc tryCompile { } { spawn clm {*}$args {*}$argv expect { - -re "Error \\\[.*\\\]: (.*)\.dcl could not be imported" { + -re "Error .*?: (.*)\.dcl could not be imported" { tryImport $expect_out(1,string) return } -re "Can't find (.*)\.icl" { tryImport $expect_out(1,string) return + } -re "dynamic used but support for dynamics not enabled|TC class undefined" { + set args "$args -dynamics" + feedback "info" "Using -dynamics." + tryCompile + return } "Nonrepresentable section on output" { set args "$args -l -no-pie" feedback "info" "Using -l -no-pie." |