X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fmarcomp.c;h=276bfdcf64f77c683158f641907929529c3e51e9;hb=f7a3769dede0071696bdcc13ae2ee1efe6d52d96;hp=0edbdf37fc33b71f00e191f31f28fa3989c6c689;hpb=0a5aa3b65fe14789bcada545a0e399545725d1ff;p=idzebra-moved-to-github.git diff --git a/recctrl/marcomp.c b/recctrl/marcomp.c index 0edbdf3..276bfdc 100644 --- a/recctrl/marcomp.c +++ b/recctrl/marcomp.c @@ -1,11 +1,12 @@ /* - $Id: marcomp.c,v 1.1 2003-02-28 12:33:39 oleg Exp $ + $Id: marcomp.c,v 1.6 2006-05-10 08:13:28 adam Exp $ marcomp.c - compiler of MARC statements. */ #include #include +#include #include #include @@ -87,7 +88,8 @@ mc_token mc_gettoken(mc_context *c) case '[': c->crrtok = LINTERVAL; break; case ']': c->crrtok = RINTERVAL; break; default: - if (isspace(*(c->data+c->offset)) || *(c->data+c->offset) == '\n') + if (isspace(*(unsigned char *) (c->data+c->offset)) + || *(c->data+c->offset) == '\n') { c->crrtok = NOP; } @@ -401,3 +403,11 @@ mc_subfield *mc_getsubfields(mc_context *c, mc_subfield *parent) } return psf; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +