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
This commit is contained in:
Marcel Hollerbach 2020-01-31 16:47:46 +01:00
parent 4a81eb6468
commit 534cd92c87
1 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@ typedef struct _Validate_State
Eina_Bool stable;
Eina_Bool in_tree;
Eina_Bool unimplemented_beta;
Eina_Bool verify_since;
const char *since_ver;
} Validate_State;
@ -94,7 +93,7 @@ _validate_docstr(Eina_Stringshare *str, const Eolian_Object *info, Eina_List **r
static Eina_Bool
_validate_doc_since(Validate_State *vals, Eolian_Documentation *doc)
{
if (!doc || !vals->stable || !vals->verify_since)
if (!doc || !vals->stable)
return EINA_TRUE;
if (doc->since)
@ -1680,7 +1679,6 @@ database_validate(const Eolian_Unit *src)
EINA_TRUE,
!!getenv("EFL_RUN_IN_TREE"),
!!getenv("EOLIAN_CLASS_UNIMPLEMENTED_BETA_WARN"),
!!getenv("EOLIAN_ENFORCE_SINCE")
};
/* do an initial pass to refill inherits */