From 60df893c13a6b6bfd4b96410d6a3ac011168d44a Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 21 Jan 2010 21:21:28 +0100 Subject: [PATCH] tokenizer: accept "and" keyword --- isl_stream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isl_stream.c b/isl_stream.c index d22d3fa..2cc4854 100644 --- a/isl_stream.c +++ b/isl_stream.c @@ -238,6 +238,8 @@ struct isl_token *isl_stream_next_token(struct isl_stream *s) isl_stream_push_char(s, '\0'); if (!strcasecmp(s->buffer, "exists")) tok->type = ISL_TOKEN_EXISTS; + else if (!strcasecmp(s->buffer, "and")) + tok->type = ISL_TOKEN_AND; else { tok->type = ISL_TOKEN_IDENT; tok->u.s = strdup(s->buffer); -- 2.7.4