Bugfix: ParseCFlagsFromMakeOutput was never being called (#3574)

Previously, the make output was never being parsed, even when the
`c_parse_makefile` option was set.
This commit is contained in:
Hugo Gualandi 2021-02-06 16:06:01 -03:00 committed by GitHub
parent 8beb67b4d1
commit 77c034884b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ function! ale#c#GetCFlags(buffer, output) abort
endif
endif
if s:CanParseMakefile(a:buffer) && !empty(a:output) && !empty(l:cflags)
if empty(l:cflags) && s:CanParseMakefile(a:buffer) && !empty(a:output)
let l:cflags = ale#c#ParseCFlagsFromMakeOutput(a:buffer, a:output)
endif