From 9773a01f6dae65e5f9c424b3f2bc7454b8270cfc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 8 Mar 2010 11:20:51 +0100 Subject: [PATCH] CCL: fix parsing of ccl qualifiers aliases The configuration specification for CCL qualifier aliases is now parsed correctly. --- src/cclqfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cclqfile.c b/src/cclqfile.c index 7583610..a2bb336 100644 --- a/src/cclqfile.c +++ b/src/cclqfile.c @@ -83,10 +83,11 @@ int ccl_qual_field2(CCL_bibset bibset, const char *cp, const char *qual_name, qlist[i++] = lead_str; - while ((t=yaz_tok_move(tp)) == YAZ_TOK_STRING) + while (t == YAZ_TOK_STRING) { if (i < sizeof(qlist)/sizeof(*qlist)-1) qlist[i++] = xstrdup(yaz_tok_parse_string(tp)); + t = yaz_tok_move(tp); } qlist[i] = 0; yaz_tok_parse_destroy(tp); -- 1.7.10.4