ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=1b3f52fa81ab309d5ff90f870876d8c3b513d7ba

commit 1b3f52fa81ab309d5ff90f870876d8c3b513d7ba
Author: Andy Williams <a...@andywilliams.me>
Date:   Thu Oct 19 16:45:29 2017 +0100

    clang: Don't bail on first error
    
    Report all errors in a file not just up to the first critical
---
 src/bin/language/edi_language_provider_c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/language/edi_language_provider_c.c 
b/src/bin/language/edi_language_provider_c.c
index d7216b4..5df7c2d 100644
--- a/src/bin/language/edi_language_provider_c.c
+++ b/src/bin/language/edi_language_provider_c.c
@@ -107,7 +107,7 @@ _clang_autosuggest_setup(Edi_Editor *editor)
    editor->clang_idx = clang_createIndex(0, 0);
    editor->clang_unit = clang_parseTranslationUnit(editor->clang_idx, path,
                                   args, argc, NULL, 0,
-                                  clang_defaultEditingTranslationUnitOptions() 
| CXTranslationUnit_DetailedPreprocessingRecord);
+                                  clang_defaultEditingTranslationUnitOptions() 
| CXTranslationUnit_DetailedPreprocessingRecord | CXTranslationUnit_KeepGoing);
 }
 
 static void

-- 


Reply via email to