X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclqfile.c;h=678514ca9e04cbe3b1b48869850efa70ea865aab;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=a2bb33610659d3e57263d9573351e1eed6df7a08;hpb=9773a01f6dae65e5f9c424b3f2bc7454b8270cfc;p=yaz-moved-to-github.git diff --git a/src/cclqfile.c b/src/cclqfile.c index a2bb336..678514c 100644 --- a/src/cclqfile.c +++ b/src/cclqfile.c @@ -1,11 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** * \file cclqfile.c * \brief Implements parsing of CCL qualifier specs in files */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -155,6 +158,10 @@ int ccl_qual_field2(CCL_bibset bibset, const char *cp, const char *qual_name, value = CCL_BIB1_TRU_CAN_BOTH; else if (!ccl_stricmp (value_str, "n")) value = CCL_BIB1_TRU_CAN_NONE; + else if (!ccl_stricmp (value_str, "x")) + value = CCL_BIB1_TRU_CAN_REGEX; + else if (!ccl_stricmp (value_str, "z")) + value = CCL_BIB1_TRU_CAN_Z3958; break; case 'c': case 'C':