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:
51e5423
)
isl_stream: allow tokens to start with "_"
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 19 Oct 2010 12:34:10 +0000
(14:34 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 26 Oct 2010 14:27:10 +0000
(16:27 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_stream.c
patch
|
blob
|
history
diff --git
a/isl_stream.c
b/isl_stream.c
index
4d684ec
..
b134aca
100644
(file)
--- a/
isl_stream.c
+++ b/
isl_stream.c
@@
-340,7
+340,7
@@
static struct isl_token *next_token(struct isl_stream *s, int same_line)
isl_int_read(tok->u.v, s->buffer);
return tok;
}
- if (isalpha(c)) {
+ if (isalpha(c)
|| c == '_'
) {
tok = isl_token_new(s->ctx, line, col, old_line != line);
if (!tok)
return NULL;