#include <yaz/ccl.h>
Go to the source code of this file.
Functions | |
| const char * | ccl_err_msg (int ccl_errno) |
Variables | |
| static char * | err_msg_array [] |
This source file implements mapping between CCL error code and their string equivalents.
Definition in file cclerrms.c.
| const char* ccl_err_msg | ( | int | ccl_errno | ) |
Return english-readable error message for CCL parser error number
Definition at line 36 of file cclerrms.c.
References err_msg_array.
Referenced by ccl2pqf(), and ZOOM_query_ccl2rpn().
char* err_msg_array[] [static] |
Initial value:
{
"Ok",
"Search word expected",
"')' expected",
"Set name expected",
"Operator expected",
"Unbalanced ')'",
"Unknown qualifier",
"Qualifiers applied twice",
"'=' expected",
"Bad relation",
"Left truncation not supported",
"Both left - and right truncation not supported",
"Right truncation not supported"
}
Definition at line 15 of file cclerrms.c.
Referenced by ccl_err_msg().
1.5.6