bcdb4be0fafb05f0feac6e0eac8a794d11397d4d
[yaz-moved-to-github.git] / ccl / cclerrms.c
1 /*
2  * Europagate, 1995
3  *
4  * $Log: cclerrms.c,v $
5  * Revision 1.2  1995-09-27 15:02:43  quinn
6  * Modified function heads & prototypes.
7  *
8  * Revision 1.1  1995/04/10  10:28:18  quinn
9  * Added copy of CCL.
10  *
11  * Revision 1.6  1995/02/23  08:31:59  adam
12  * Changed header.
13  *
14  * Revision 1.4  1995/02/14  16:20:54  adam
15  * Qualifiers are read from a file now.
16  *
17  * Revision 1.3  1995/02/14  10:25:56  adam
18  * The constructions 'qualifier rel term ...' implemented.
19  *
20  * Revision 1.2  1995/02/13  15:15:06  adam
21  * Added handling of qualifiers. Not finished yet.
22  *
23  * Revision 1.1  1995/02/13  12:35:20  adam
24  * First version of CCL. Qualifiers aren't handled yet.
25  *
26  */
27
28 #include <yconfig.h>
29
30 char *err_msg_array[] = {
31     "Ok",
32     "Search word expected",
33     "')' expected",
34     "Set name expected",
35     "Operator expected",
36     "Unbalanced ')'",
37     "Unknown qualifier",
38     "Qualifiers applied twice",
39     "'=' expected",
40     "Bad relation",
41     "Left truncation not supported",
42     "Both left - and right truncation not supported",
43     "Right truncation not supported"
44 };
45
46 const char MDF *ccl_err_msg (int ccl_errno)
47 {
48     return err_msg_array[ccl_errno];
49 }