summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-31 16:47:46 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-05 16:31:01 +0100
commit534cd92c8710909aa585b0d98981c2ae6adadc5a (patch)
treefc70ee26336456304f05f43183e648392ad06c77 /src/lib/eolian
parent4a81eb6468f0d0cf2be2b8ebbf0fa1ebb2dabc37 (diff)
eolian: finally error on missing since tags
this is actaully usefull ... for people not forgetting things. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Differential Revision: https://phab.enlightenment.org/D11266
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_validate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 1e7b072c9d..2b6fa24058 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -15,7 +15,6 @@ typedef struct _Validate_State
15 Eina_Bool stable; 15 Eina_Bool stable;
16 Eina_Bool in_tree; 16 Eina_Bool in_tree;
17 Eina_Bool unimplemented_beta; 17 Eina_Bool unimplemented_beta;
18 Eina_Bool verify_since;
19 const char *since_ver; 18 const char *since_ver;
20} Validate_State; 19} Validate_State;
21 20
@@ -94,7 +93,7 @@ _validate_docstr(Eina_Stringshare *str, const Eolian_Object *info, Eina_List **r
94static Eina_Bool 93static Eina_Bool
95_validate_doc_since(Validate_State *vals, Eolian_Documentation *doc) 94_validate_doc_since(Validate_State *vals, Eolian_Documentation *doc)
96{ 95{
97 if (!doc || !vals->stable || !vals->verify_since) 96 if (!doc || !vals->stable)
98 return EINA_TRUE; 97 return EINA_TRUE;
99 98
100 if (doc->since) 99 if (doc->since)
@@ -1680,7 +1679,6 @@ database_validate(const Eolian_Unit *src)
1680 EINA_TRUE, 1679 EINA_TRUE,
1681 !!getenv("EFL_RUN_IN_TREE"), 1680 !!getenv("EFL_RUN_IN_TREE"),
1682 !!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN"), 1681 !!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN"),
1683 !!getenv("EOLIAN_ENFORCE_SINCE")
1684 }; 1682 };
1685 1683
1686 /* do an initial pass to refill inherits */ 1684 /* do an initial pass to refill inherits */