X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fccltoken.c;h=538cd56e9e02df5618ee5461fb53b33e449c5ad3;hp=a793f8bedf7510a04fe7d23f1842233814b6b3da;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=d0e351c12fff564d876958e860338d43716dc269 diff --git a/src/ccltoken.c b/src/ccltoken.c index a793f8b..538cd56 100644 --- a/src/ccltoken.c +++ b/src/ccltoken.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** @@ -12,8 +12,7 @@ #include #include -#include - +#include #include "cclp.h" /* @@ -105,7 +104,7 @@ struct ccl_token *ccl_parser_tokenize(CCL_parser cclp, const char *command) case '%': case '!': last->kind = CCL_TOK_PROX; - while (isdigit(*cp)) + while (yaz_isdigit(*cp)) { ++ last->len; cp++;