summaryrefslogtreecommitdiff
path: root/ale_linters/ada/gcc.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-01-26 19:33:52 +0000
committerw0rp <devw0rp@gmail.com>2019-01-26 19:33:52 +0000
commitcf14d0aa53e9b51f4987dbfd3913183901bb2805 (patch)
tree8b4cbeeee01c2c40cdc725ddddcfa31cec85ccd1 /ale_linters/ada/gcc.vim
parentf12d312aa4aa49c4698056933030cd5adb60b489 (diff)
downloadale-cf14d0aa53e9b51f4987dbfd3913183901bb2805.zip
#2132 Unify temporary file management in command.vim
Diffstat (limited to 'ale_linters/ada/gcc.vim')
-rw-r--r--ale_linters/ada/gcc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ada/gcc.vim b/ale_linters/ada/gcc.vim
index d6f973ae..7b0c4809 100644
--- a/ale_linters/ada/gcc.vim
+++ b/ale_linters/ada/gcc.vim
@@ -12,7 +12,7 @@ function! ale_linters#ada#gcc#GetCommand(buffer) abort
" the .ali file may be created even if no code generation is attempted.
" The output file name must match the source file name (except for the
" extension), so here we cannot use the null file as output.
- let l:tmp_dir = fnamemodify(ale#engine#CreateDirectory(a:buffer), ':p')
+ let l:tmp_dir = fnamemodify(ale#command#CreateDirectory(a:buffer), ':p')
let l:out_file = l:tmp_dir . fnamemodify(bufname(a:buffer), ':t:r') . '.o'
" -gnatc: Check syntax and semantics only (no code generation attempted)