Skip to content

Commit 77c0348

Browse files
authored
Bugfix: ParseCFlagsFromMakeOutput was never being called (#3574)
Previously, the make output was never being parsed, even when the `c_parse_makefile` option was set.
1 parent 8beb67b commit 77c0348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ale/c.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ function! ale#c#GetCFlags(buffer, output) abort
491491
endif
492492
endif
493493

494-
if s:CanParseMakefile(a:buffer) && !empty(a:output) && !empty(l:cflags)
494+
if empty(l:cflags) && s:CanParseMakefile(a:buffer) && !empty(a:output)
495495
let l:cflags = ale#c#ParseCFlagsFromMakeOutput(a:buffer, a:output)
496496
endif
497497

0 commit comments

Comments
 (0)