summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_code_parse.c8
-rw-r--r--src/tests/elementary/elm_code_test_widget.c1
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 8f7243df2a..f4eac48595 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)
150 150
151 syntax = elm_code_syntax_for_mime_get(file->mime); 151 syntax = elm_code_syntax_for_mime_get(file->mime);
152 if (!syntax) 152 if (!syntax)
153 WRN("Unsupported mime in parser"); 153 {
154 WRN("Unsupported mime in parser");
155 }
154 else 156 else
155 elm_code_syntax_parse_file(syntax, file); 157 {
158 elm_code_syntax_parse_file(syntax, file);
159 }
156} 160}
157 161
158static void 162static void
diff --git a/src/tests/elementary/elm_code_test_widget.c b/src/tests/elementary/elm_code_test_widget.c
index 94c7fa390e..9de1bc2d02 100644
--- a/src/tests/elementary/elm_code_test_widget.c
+++ b/src/tests/elementary/elm_code_test_widget.c
@@ -24,6 +24,7 @@
24#undef DBG 24#undef DBG
25#define DBG(...) do { } while (0); 25#define DBG(...) do { } while (0);
26 26
27#include "elm_code_parse.c"
27#include "elm_code_widget.c" 28#include "elm_code_widget.c"
28 29
29static void _assert_cell_type(Evas_Textgrid_Cell cell, Elm_Code_Token_Type type, int id) 30static void _assert_cell_type(Evas_Textgrid_Cell cell, Elm_Code_Token_Type type, int id)