summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 15:51:05 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 15:51:29 +0100
commite805dcd3703a92f7c7efe3b4c9714736b93e5eee (patch)
tree966816e1541b72112d5e2fd14fe3fbd2bb6cf7c5
parent18502b842971c2d0ef38357f80c3b1a296a46c83 (diff)
downloadefl-e805dcd3703a92f7c7efe3b4c9714736b93e5eee.tar.gz
eolian: enable the new doc validator
This will make Eolian error when the input documentation is in a wrong format.
-rw-r--r--src/lib/eolian/database_validate.c7
1 files changed, 1 insertions, 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