summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/Eolian.h5
-rw-r--r--src/lib/eolian/database_validate.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index db0421634a..7f19ff93e7 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -336,7 +336,12 @@ typedef enum
336 EOLIAN_TYPE_BUILTIN_ARRAY, 336 EOLIAN_TYPE_BUILTIN_ARRAY,
337 EOLIAN_TYPE_BUILTIN_FUTURE, 337 EOLIAN_TYPE_BUILTIN_FUTURE,
338 EOLIAN_TYPE_BUILTIN_ITERATOR, 338 EOLIAN_TYPE_BUILTIN_ITERATOR,
339#ifdef EFL_BETA_API_SUPPORT
339 EOLIAN_TYPE_BUILTIN_LIST, 340 EOLIAN_TYPE_BUILTIN_LIST,
341#else
342 // Placeholder when using release API only. Done to prevent offseting the value below.
343 EOLIAN_TYPE_BUILTIN_BETA_PLACEHOLDER1,
344#endif
340 345
341 EOLIAN_TYPE_BUILTIN_ANY_VALUE, 346 EOLIAN_TYPE_BUILTIN_ANY_VALUE,
342 EOLIAN_TYPE_BUILTIN_ANY_VALUE_REF, 347 EOLIAN_TYPE_BUILTIN_ANY_VALUE_REF,
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index b1af2185ef..1e7b072c9d 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -400,9 +400,9 @@ _validate_type(Validate_State *vals, Eolian_Type *tp, Eina_Bool by_ref,
400 int kwid = eo_lexer_keyword_str_to_id(tp->base.name); 400 int kwid = eo_lexer_keyword_str_to_id(tp->base.name);
401 if (kwid > KW_void) 401 if (kwid > KW_void)
402 tp->ownable = EINA_TRUE; 402 tp->ownable = EINA_TRUE;
403 if (kwid == KW_hash && vals->stable) 403 if ((kwid == KW_hash || kwid == KW_list) && vals->stable)
404 { 404 {
405 _eo_parser_log(&tp->base, "hashes not allowed in stable context"); 405 _eo_parser_log(&tp->base, "hashes and lists not allowed in stable context");
406 return EINA_FALSE; 406 return EINA_FALSE;
407 } 407 }
408 Eolian_Type *itp = tp->base_type; 408 Eolian_Type *itp = tp->base_type;