projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0016a2
)
tokenizer: accept "and" keyword
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 21 Jan 2010 20:21:28 +0000
(21:21 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 25 Jan 2010 16:45:12 +0000
(17:45 +0100)
isl_stream.c
patch
|
blob
|
history
diff --git
a/isl_stream.c
b/isl_stream.c
index
d22d3fa
..
2cc4854
100644
(file)
--- 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);