X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcql.y;h=00d806a0e98a206d66078b6b360f266afac6fbc4;hp=25a4287ec108c296a5a28d00f5540e80b81324a0;hb=ed51c750eb5540c5a3a34ef3beb0c043a6e65f7c;hpb=82b56be0c22f75d8d40f295e09ca8b7c628fa530 diff --git a/src/cql.y b/src/cql.y index 25a4287..00d806a 100644 --- a/src/cql.y +++ b/src/cql.y @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /* bison parser for CQL grammar. */ @@ -11,10 +11,13 @@ * This is a YACC parser, but since it must be reentrant, Bison is required. * The original source file is cql.y. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include -#include +#include #include #include #include @@ -263,7 +266,7 @@ int yylex(YYSTYPE *lval, void *vp) return 0; if (c == '\n') return 0; - } while (isspace(c)); + } while (yaz_isspace(c)); if (strchr("()=>top; } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */