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:
Xavi Artigas 2019-09-13 12:41:16 +02:00
parent 8c09c1cae8
commit 4c018509c5
1 changed files with 10 additions and 13 deletions

View File

@ -1216,8 +1216,6 @@ parse_accessor:
col = ls->column;
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));
@ -1230,7 +1228,6 @@ parse_accessor:
is_get ? "getter" : "setter",
ls->klass->base.name, prop->base.name);
}
}
if (is_get)
{
FILL_DOC(ls, prop->impl, get_doc);