summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-20 17:03:58 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-20 17:04:48 +0200
commit718f3cd49586ec6a0448977081e16cd647b06e68 (patch)
tree78e83d561877ad2db778e6c51133d070754d132b /src/lib/eolian
parent61ce4c79fd004948f922e928b84765b6f26657a9 (diff)
eolian: make hashes beta-only for now
They're not completely settled on and we don't even know if we want them at all. So let's make them beta only for now. Ref T8050.
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/database_validate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index f13e0e82b7..4ad105de0f 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -293,6 +293,11 @@ _validate_type(Validate_State *vals, Eolian_Type *tp)
293 int kwid = eo_lexer_keyword_str_to_id(tp->base.name); 293 int kwid = eo_lexer_keyword_str_to_id(tp->base.name);
294 if (kwid > KW_void) 294 if (kwid > KW_void)
295 tp->ownable = EINA_TRUE; 295 tp->ownable = EINA_TRUE;
296 if (kwid == KW_hash && vals->stable)
297 {
298 _eo_parser_log(&tp->base, "hashes not allowed in stable context");
299 return EINA_FALSE;
300 }
296 Eolian_Type *itp = tp->base_type; 301 Eolian_Type *itp = tp->base_type;
297 /* validate types in brackets so transitive fields get written */ 302 /* validate types in brackets so transitive fields get written */
298 while (itp) 303 while (itp)