summaryrefslogtreecommitdiff
path: root/src/lib
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 /src/lib
parent18502b842971c2d0ef38357f80c3b1a296a46c83 (diff)
eolian: enable the new doc validator
This will make Eolian error when the input documentation is in a wrong format.
Diffstat (limited to '')
-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 @@
9static Eina_Bool 9static Eina_Bool
10_validate_ref(const char *ref, const Eolian_Object *info) 10_validate_ref(const char *ref, const Eolian_Object *info)
11{ 11{
12#if 0
13 if (eolian_declaration_get_by_name(ref)) 12 if (eolian_declaration_get_by_name(ref))
14 return EINA_TRUE; 13 return EINA_TRUE;
15 14
@@ -75,11 +74,7 @@ _validate_ref(const char *ref, const Eolian_Object *info)
75failed: 74failed:
76 fprintf(stderr, "eolian:%s:%d:%d: failed validating reference '%s'\n", 75 fprintf(stderr, "eolian:%s:%d:%d: failed validating reference '%s'\n",
77 info->file, info->line, info->column, ref); 76 info->file, info->line, info->column, ref);
78#else 77 return EINA_FALSE;
79 (void)ref;
80 (void)info;
81#endif
82 return EINA_TRUE;
83} 78}
84 79
85static Eina_Bool 80static Eina_Bool