forked from enlightenment/efl
eolian: Remove the EOLIAN_PROPERTY_DOC_WARN envvar
This test is now always enabled, so ALL properties should have property-level documentation. Setter and getter docs are optional.
This commit is contained in:
parent
8c09c1cae8
commit
4c018509c5
|
@ -1217,19 +1217,16 @@ parse_accessor:
|
|||
check_next(ls, '{');
|
||||
if ((ls->t.token == TOK_DOC) && !prop->impl->common_doc)
|
||||
{
|
||||
if (getenv("EOLIAN_PROPERTY_DOC_WARN"))
|
||||
{
|
||||
Eolian_Object tmp;
|
||||
memset(&tmp, 0, sizeof(Eolian_Object));
|
||||
tmp.file = prop->base.file;
|
||||
tmp.line = line;
|
||||
tmp.column = col;
|
||||
tmp.unit = ls->unit;
|
||||
eolian_state_log_obj(ls->state, &tmp,
|
||||
"%s doc without property doc for '%s.%s'",
|
||||
is_get ? "getter" : "setter",
|
||||
ls->klass->base.name, prop->base.name);
|
||||
}
|
||||
Eolian_Object tmp;
|
||||
memset(&tmp, 0, sizeof(Eolian_Object));
|
||||
tmp.file = prop->base.file;
|
||||
tmp.line = line;
|
||||
tmp.column = col;
|
||||
tmp.unit = ls->unit;
|
||||
eolian_state_log_obj(ls->state, &tmp,
|
||||
"%s doc without property doc for '%s.%s'",
|
||||
is_get ? "getter" : "setter",
|
||||
ls->klass->base.name, prop->base.name);
|
||||
}
|
||||
if (is_get)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue