summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-12-23 10:21:30 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-12-23 10:21:31 +0900
commitf349510941a81649cbd040774c3d4939429e3293 (patch)
tree683d12d71ddfb5ae6b6e8f9893a4e1714adf9afe /src/lib/eolian
parent47407478e8d247fd36aca607ec1bcc1f720bfa96 (diff)
eolian: inherit since information from struct to field
Summary: If struct field doesn't explicitly sets since information, then since is inherited from struct documentation if it is available. Reviewers: jptiz, Jaehyun_Cho, woohyun, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8359 Differential Revision: https://phab.enlightenment.org/D10948
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/eo_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 96de7a77ec..65165dbfad 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -536,6 +536,8 @@ parse_struct(Eo_Lexer *ls, const char *name, Eina_Bool is_extern,
536qual_end: 536qual_end:
537 check_next(ls, ';'); 537 check_next(ls, ';');
538 FILL_DOC(ls, fdef, doc); 538 FILL_DOC(ls, fdef, doc);
539 if (def->doc && fdef->doc && def->doc->since && !fdef->doc->since)
540 fdef->doc->since = eina_stringshare_ref (def->doc->since);
539 } 541 }
540 check_match(ls, '}', '{', bline, bcolumn); 542 check_match(ls, '}', '{', bline, bcolumn);
541 FILL_BASE(def->base, ls, line, column, TYPEDECL); 543 FILL_BASE(def->base, ls, line, column, TYPEDECL);