mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-27 05:12:16 +08:00
Indicate that a C compiler failed due to problems in a header file
This commit is contained in:
@@ -8,9 +8,20 @@ Execute(clang errors from included files should be parsed correctly):
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'expected identifier or ''(''',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 3,
|
||||
\ 'text': 'Error found in header. See :ALEDetail',
|
||||
\ 'detail': join([
|
||||
\ 'In file included from <stdin>:3:',
|
||||
\ 'In file included from ./a.h:1:',
|
||||
\ './b.h:1:1: error: expected identifier or ''(''',
|
||||
\ '{{{',
|
||||
\ '^',
|
||||
\ ], "\n"),
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#handlers#gcc#HandleGCCFormat(347, [
|
||||
\ 'In file included from test.c:3:',
|
||||
\ ale#handlers#gcc#HandleGCCFormatWithIncludes(347, [
|
||||
\ 'In file included from <stdin>:3:',
|
||||
\ 'In file included from ./a.h:1:',
|
||||
\ './b.h:1:1: error: expected identifier or ''(''',
|
||||
\ '{{{',
|
||||
|
||||
Reference in New Issue
Block a user