From e805dcd3703a92f7c7efe3b4c9714736b93e5eee Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 8 Jul 2015 15:51:05 +0100 Subject: [PATCH] eolian: enable the new doc validator This will make Eolian error when the input documentation is in a wrong format. --- src/lib/eolian/database_validate.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c index d3c44258e4..ecfeba6189 100644 --- a/src/lib/eolian/database_validate.c +++ b/src/lib/eolian/database_validate.c @@ -9,7 +9,6 @@ static Eina_Bool _validate_ref(const char *ref, const Eolian_Object *info) { -#if 0 if (eolian_declaration_get_by_name(ref)) return EINA_TRUE; @@ -75,11 +74,7 @@ _validate_ref(const char *ref, const Eolian_Object *info) failed: fprintf(stderr, "eolian:%s:%d:%d: failed validating reference '%s'\n", info->file, info->line, info->column, ref); -#else - (void)ref; - (void)info; -#endif - return EINA_TRUE; + return EINA_FALSE; } static Eina_Bool