Handle multiple files localtion lists with gcc handler (#1034)

Handle multiple files in the GCC handler.
This commit is contained in:
Gerry Agbobada
2017-10-25 23:29:36 +02:00
committed by w0rp
parent 960ae62aaa
commit 25d2af0b25
5 changed files with 69 additions and 71 deletions

View File

@@ -2,15 +2,11 @@ Execute(clang errors from included files should be parsed correctly):
AssertEqual
\ [
\ {
\ 'lnum': 3,
\ 'lnum': 1,
\ 'col': 1,
\ 'filename': './b.h',
\ 'type': 'E',
\ 'text': 'Problems were found in the header (See :ALEDetail)',
\ 'detail': join([
\ './b.h:1:1: error: expected identifier or ''(''',
\ '{{{',
\ '^',
\ '1 error generated.',
\ ], "\n"),
\ 'text': 'expected identifier or ''(''',
\ },
\ ],
\ ale#handlers#gcc#HandleGCCFormat(347, [