eolian: better error message for const on strings
authorDaniel Kolesa <d.kolesa@samsung.com>
Thu, 26 Sep 2019 15:33:24 +0000 (17:33 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 29 Sep 2019 21:18:02 +0000 (06:18 +0900)
src/lib/eolian/database_validate.c

index b80d418..c1de7ec 100644 (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:
                   {