eolian: initialize property type correctly
authorDaniel Kolesa <d.kolesa@samsung.com>
Tue, 16 Sep 2014 14:10:22 +0000 (17:10 +0300)
committerKai Huuhko <k.huuhko@partner.samsung.com>
Tue, 16 Sep 2014 14:12:52 +0000 (17:12 +0300)
src/lib/eolian/eo_parser.c

index 1140d5656f70ac3921bb1c8af415b5102b827dda..577511012c1faea2204857832494cfd268a33d17 100644 (file)
@@ -1325,6 +1325,7 @@ parse_property(Eo_Lexer *ls)
              has_keys      = EINA_FALSE, has_values = EINA_FALSE,
              has_protected = EINA_FALSE, has_class  = EINA_FALSE;
    prop = calloc(1, sizeof(Eolian_Function));
+   prop->type = EOLIAN_UNRESOLVED;
    prop->base.file = eina_stringshare_ref(ls->filename);
    prop->base.line = ls->line_number;
    prop->base.column = ls->column;