From 675bcb51ea6b2c2f0934fb77006b3de2cff4d42d Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Mon, 13 Apr 2015 00:15:21 +0100 Subject: [PATCH] elm_code: retain line formatting on file callback We don't need to reset all the lines in file load - just clear --- elm_code/src/lib/elm_code_parse.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/elm_code/src/lib/elm_code_parse.c b/elm_code/src/lib/elm_code_parse.c index 02c878a..408fd48 100644 --- a/elm_code/src/lib/elm_code_parse.c +++ b/elm_code/src/lib/elm_code_parse.c @@ -37,13 +37,6 @@ _elm_code_parse_file(Elm_Code *code, Elm_Code_File *file) { Elm_Code_Parser *parser; Eina_List *item; - Elm_Code_Line *line; - - EINA_LIST_FOREACH(file->lines, item, line) - { - elm_code_line_tokens_clear(line); - elm_code_line_status_clear(line); - } EINA_LIST_FOREACH(code->parsers, item, parser) {