The new diagnostics are: "Embedded truncation not supported"
and "Single charcacter mask not supported".
#define CCL_ERR_TRUNC_NOT_LEFT 10
#define CCL_ERR_TRUNC_NOT_BOTH 11
#define CCL_ERR_TRUNC_NOT_RIGHT 12
+#define CCL_ERR_TRUNC_NOT_EMBED 13
+#define CCL_ERR_TRUNC_NOT_SINGLE 14
/** \brief attribute node (type, value) pair as used in RPN */
struct ccl_rpn_attr {
"Bad relation",
"Left truncation not supported",
"Both left - and right truncation not supported",
- "Right truncation not supported"
+ "Right truncation not supported",
+ "Embedded truncation not supported",
+ "Single charcacter mask not supported"
};
const char *ccl_err_msg(int ccl_errno)
right_trunc = 1;
else
{
- cclp->error_code = CCL_ERR_TRUNC_NOT_BOTH;
+ cclp->error_code = CCL_ERR_TRUNC_NOT_EMBED;
ccl_rpn_delete(p);
return NULL;
}
}
else
{
- cclp->error_code = CCL_ERR_TRUNC_NOT_BOTH;
+ cclp->error_code = CCL_ERR_TRUNC_NOT_SINGLE;
ccl_rpn_delete(p);
return NULL;
}