mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 17:12:23 +00:00
25d2af0b25
Handle multiple files in the GCC handler.
20 lines
489 B
Plaintext
20 lines
489 B
Plaintext
Execute(clang errors from included files should be parsed correctly):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 1,
|
|
\ 'col': 1,
|
|
\ 'filename': './b.h',
|
|
\ 'type': 'E',
|
|
\ 'text': 'expected identifier or ''(''',
|
|
\ },
|
|
\ ],
|
|
\ ale#handlers#gcc#HandleGCCFormat(347, [
|
|
\ 'In file included from test.c:3:',
|
|
\ 'In file included from ./a.h:1:',
|
|
\ './b.h:1:1: error: expected identifier or ''(''',
|
|
\ '{{{',
|
|
\ '^',
|
|
\ '1 error generated.',
|
|
\ ])
|