cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=500401364dbff5d6f674b3f8de075a20f48de3f7
commit 500401364dbff5d6f674b3f8de075a20f48de3f7 Author: Cedric Bail <ced...@osg.samsung.com> Date: Mon Mar 6 17:03:03 2017 -0800 elementary: fix tests build. --- src/lib/elementary/elm_code_parse.c | 8 ++++++-- src/tests/elementary/elm_code_test_widget.c | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_code_parse.c b/src/lib/elementary/elm_code_parse.c index 8f7243d..f4eac48 100644 --- a/src/lib/elementary/elm_code_parse.c +++ b/src/lib/elementary/elm_code_parse.c @@ -150,9 +150,13 @@ _elm_code_parser_syntax_parse_file(Elm_Code_File *file, void *data EINA_UNUSED) syntax = elm_code_syntax_for_mime_get(file->mime); if (!syntax) - WRN("Unsupported mime in parser"); + { + WRN("Unsupported mime in parser"); + } else - elm_code_syntax_parse_file(syntax, file); + { + elm_code_syntax_parse_file(syntax, file); + } } static void diff --git a/src/tests/elementary/elm_code_test_widget.c b/src/tests/elementary/elm_code_test_widget.c index 94c7fa3..9de1bc2 100644 --- a/src/tests/elementary/elm_code_test_widget.c +++ b/src/tests/elementary/elm_code_test_widget.c @@ -24,6 +24,7 @@ #undef DBG #define DBG(...) do { } while (0); +#include "elm_code_parse.c" #include "elm_code_widget.c" static void _assert_cell_type(Evas_Textgrid_Cell cell, Elm_Code_Token_Type type, int id) --