eolian: better error message for const on strings

This commit is contained in:
Daniel Kolesa 2019-09-26 17:33:24 +02:00
parent d2d4fcce48
commit 79aa86df5a
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ _validate_type(Validate_State *vals, Eolian_Type *tp, Eina_Bool by_ref,
case KW_string:
case KW_mstring:
case KW_stringshare:
_eo_parser_log(&tp->base, "string types cannot be const");
_eo_parser_log(&tp->base, "spurious explicit const on string type");
return EINA_FALSE;
default:
{