schema parsers CHANGE unify error messages for invalid if-feature expression
diff --git a/src/resolve.c b/src/resolve.c
index 186f804..6079969 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -1264,7 +1264,7 @@
if (!strncmp(&c[i], "not", r = 3) || !strncmp(&c[i], "and", r = 3) || !strncmp(&c[i], "or", r = 2)) {
if (c[i + r] == '\0') {
- LOGVAL(LYE_INCHAR, LY_VLOG_NONE, NULL, c[i], c);
+ LOGVAL(LYE_INARG, LY_VLOG_NONE, NULL, value, "if-feature");
return EXIT_FAILURE;
} else if (!isspace(c[i + r])) {
/* feature name starting with the not/and/or */