summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/database_validate.c')
-rw-r--r--src/lib/eolian/database_validate.c4
1 files changed, 2 insertions, 2 deletions
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;