diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-12-30 05:58:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 14:58:41 +0100 |
commit | 8508c4e1c262567ecc093de8b645cec677ce5afd (patch) | |
tree | 35329fb3dcdf9ce94ff56638d5ac3d9eb55d7d07 /compiler/extccomp.nim | |
parent | 2f4d00fb98beaf6bb2e155e9da7dc7194038b5f3 (diff) | |
download | Nim-8508c4e1c262567ecc093de8b645cec677ce5afd.tar.gz |
fix `hintProcessing` dots interference with `static:echo` and `hintCC`; add tests for `nim secret`, add tests for hintProcessing, misc other bug fixes (#16495)
* fix dots interfering with static:echo * add tests * fix hintProcessing dots for hintCC * improve trunner tests * fix bug: readLineFromStdin now writes prompt to stdout, consistent with linenoise and rdstdin * disable a failing test for windows
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r-- | compiler/extccomp.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index e37e867da..14b961ee1 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -848,7 +848,10 @@ proc callCCompiler*(conf: ConfigRef) = var cmds: TStringSeq var prettyCmds: TStringSeq let prettyCb = proc (idx: int) = - if prettyCmds[idx].len > 0: echo prettyCmds[idx] + if prettyCmds[idx].len > 0: + flushDot(conf) + # xxx should probably use stderr like other compiler messages, not stdout + echo prettyCmds[idx] for idx, it in conf.toCompile: # call the C compiler for the .c file: |