#502 Parse more undefined symbol errors

This commit is contained in:
w0rp 2017-05-04 23:34:52 +01:00
parent 8e70dc14f2
commit c2a0847f99
2 changed files with 11 additions and 2 deletions

View file

@ -86,7 +86,7 @@ function! ale_linters#java#javac#Handle(buffer, lines) abort
" Main.java:16: error: ';' expected
let l:pattern = '\v^.*:(\d+): (.+):(.+)$'
let l:symbol_pattern = '\v^ +symbol: *(class) +([^ ]+)'
let l:symbol_pattern = '\v^ +symbol: *(class|method) +([^ ]+)'
let l:output = []
for l:match in ale#util#GetMatches(a:lines, [l:pattern, l:symbol_pattern])